Table Of Contents
Network Configuration Example
Network Topology and Configuration
5509-ER-F1 (Catalyst 5509) Configuration
4003-ER-F1 (Catalyst 4003) Configuration
RSM-ER-F1 (RSM) Configuration
5505-WC-F2 (Catalyst 5505) Configuration
Network Configuration Example
This section shows an example network configuration.
Note
The device configurations shown in this section include some features and functions not described in this publication. For complete software configuration information, see the Software Configuration Guide for your switch. For complete command syntax descriptions, see the Command Reference for your switch.
Network Topology and Configuration
Figure 6-1 shows the example network topology.
The IP addressing and hardware configuration for the network is described in the following tables:
•
Table 6-1—Shows the VLAN and IP subnetwork scheme for the network
•
Table 6-2—Shows the Catalyst 5509 hardware configuration
•
Table 6-3—Shows the Catalyst 4003 hardware configuration
•
Table 6-4—Shows the Catalyst 5505 hardware configuration
•
Table 6-5—Shows the switch supervisor engine IP addresses
•
Table 6-6—Shows the RSM VLAN interface IP addresses
Figure 6-1 Example Network Topology
Table 6-1 VLANs and IP Subnetworks
VLAN
|
VLAN Name
|
IP Subnetwork
|
Hosts
|
Servers
|
1
|
default
|
10.10.1.0/24
|
0
|
0
|
10
|
Corporate
|
10.10.10.0/24
|
20
|
2
|
20
|
DevEng
|
10.10.20.0/24
|
90
|
1
|
30
|
Mfg
|
10.10.30.0/24
|
30
|
1
|
40
|
QA
|
10.10.40.0/24
|
45
|
0
|
50
|
Finance&Admin
|
10.10.50.0/24
|
30
|
0
|
60
|
Sales&Mktg
|
10.10.60.0/24
|
35
|
0
|
Table 6-2 Catalyst 5509 Hardware
Slot
|
Module
|
1
|
Supervisor Engine III (with 2-port 1000-Mbps Gigabit Ethernet uplinks)
|
3
|
Route Switch Module (RSM)
|
5-6
|
10/100-Mbps Fast Ethernet modules (12-port)
|
7-9
|
10-Mbps Ethernet modules (48-port)
|
Table 6-3 Catalyst 4003 Hardware
Slot
|
Module
|
1
|
Supervisor engine
|
2-3
|
1000-Mbps Gigabit Ethernet modules (6-port)
|
Table 6-4 Catalyst 5505 Hardware
Slot
|
Module
|
1
|
Supervisor Engine III (with 4-port 10/100-Mbps Fast Ethernet uplinks)
|
2
|
10/100-Mbps Fast Ethernet module (12-port)
|
3-5
|
10-Mbps Ethernet modules (48-port)
|
Table 6-5 Switch IP Addresses
Switch
|
In-Band (sc0) Interface IP Address
|
Catalyst 5509
|
10.10.1.10/24
|
Catalyst 4003
|
10.10.1.20/24
|
Catalyst 5505
|
10.10.1.30/24
|
Table 6-6 RSM IP Addresses
Interface
|
IP Address
|
VLAN 1
|
10.10.1.1/24
|
VLAN 10
|
10.10.10.1/24
|
VLAN 20
|
10.10.20.1/24
|
VLAN 30
|
10.10.30.1/24
|
VLAN 40
|
10.10.40.1/24
|
VLAN 50
|
10.10.50.1/24
|
VLAN 60
|
10.10.60.1/24
|
5509-ER-F1 (Catalyst 5509) Configuration
This section shows the configuration for 5509-ER-F1:
Console> (enable) set system name 5509-ER-F1
5509-ER-F1> (enable) set system location 1st Floor Equipment Room
5509-ER-F1> (enable) set system contact sysadmin@bigcorp.com
5509-ER-F1> (enable) set time 04/30/1999 9:30:00
Fri Apr 30 1999, 09:30:00
5509-ER-F1> (enable) set password
Enter old password: <Return>
Enter new password: <new_login_password>
Retype new password: <new_login_password>
5509-ER-F1> (enable) set enablepass
Enter old password: <Return>
Enter new password: <new_enable_password>
Retype new password: <new_enable_password>
5509-ER-F1> (enable) set banner motd %
5509-ER-F1 (Catalyst 5509)
5509-ER-F1> (enable) set interface sc0 10.10.1.10/24
Interface sc0 IP address set.
5509-ER-F1> (enable) set ip route default 10.10.1.1
5509-ER-F1> (enable) set ip dns server 10.10.10.100
10.10.10.100 added to DNS server table as primary server.
5509-ER-F1> (enable) set ip dns domain bigcorp.com
Default DNS domain name set to bigcorp.com
5509-ER-F1> (enable) set ip dns enable
5509-ER-F1> (enable) set vtp domain BigCorp mode server
VTP domain BigCorp modified
5509-ER-F1> (enable) set vlan 10 name Corporate
Vlan 10 configuration successful
5509-ER-F1> (enable) set vlan 20 name DevEng
Vlan 20 configuration successful
5509-ER-F1> (enable) set vlan 30 name Mfg
Vlan 30 configuration successful
5509-ER-F1> (enable) set vlan 40 name QA
Vlan 40 configuration successful
5509-ER-F1> (enable) set vlan 50 name Finance&Admin
Vlan 50 configuration successful
5509-ER-F1> (enable) set vlan 60 name Sales&Mktg
Vlan 60 configuration successful
5509-ER-F1> (enable) set module name 1 Supervisor III
5509-ER-F1> (enable) set port flowcontrol 1/1-2 send off
Ports 1/1-2 flow control send administration status set to off
(ports will not send flowcontrol to far end)
5509-ER-F1> (enable) set port flowcontrol 1/1-2 receive off
Ports 1/1-2 flow control receive administration status set to off
(ports will not allow far end to send flowcontrol)
5509-ER-F1> (enable) set port negotiation 1/1-2 enable
Ports 1/1-2 negotiation enabled
5509-ER-F1> (enable) set port name 1/1-2 GEC 802.1Q Trunk
5509-ER-F1> (enable) set port channel 1/1-2 desirable
Port(s) 1/1-2 channel mode set to desirable.
5509-ER-F1> (enable) set trunk 1/1 desirable dot1q
Port(s) 1/1 trunk mode set to desirable.
Port(s) 1/1 trunk type set to dot1q.
5509-ER-F1> (enable) set module name 3 RSM (RSM-ER-F1)
5509-ER-F1> (enable) set module name 5 Fast Ether Uplinks
5509-ER-F1> (enable) set port name 5/1-4 FEC ISL Trunk
5509-ER-F1> (enable) set port speed 5/1-4 100
Ports 5/1-4 transmission speed set to 100Mbps.
5509-ER-F1> (enable) set port duplex 5/1-4 full
Ports 5/1-4 set to full-duplex.
5509-ER-F1> (enable) set port flowcontrol 5/1-4 send off
Ports 5/1-4 flow control send administration status set to off
(ports will not send flowcontrol to far end)
5509-ER-F1> (enable) set port flowcontrol 5/1-4 receive off
Ports 5/1-4 flow control receive administration status set to off
(ports will not allow far end to send flowcontrol)
5509-ER-F1> (enable) set port negotiation 5/1-4 enable
Ports 5/1-4 negotiation enabled
5509-ER-F1> (enable) set port channel 5/1-4 desirable
Port(s) 5/1-4 channel mode set to desirable.
5509-ER-F1> (enable) set trunk 5/1 desirable isl
Port(s) 5/1 trunk mode set to desirable.
Port(s) 5/1 trunk type set to isl.
5509-ER-F1> (enable) set module name 6 DevEng 100Mb Hosts
5509-ER-F1> (enable) set port name 6/1 DE Sparc Ultra
5509-ER-F1> (enable) set port name 6/2-7 DE Sparc20
5509-ER-F1> (enable) set port name 6/8-12 DE NT Workstation
5509-ER-F1> (enable) set port speed 6/1-12 100
Ports 6/1-12 transmission speed set to 100Mbps.
5509-ER-F1> (enable) set port duplex 6/1-12 full
Ports 6/1-12 set to full-duplex.
5509-ER-F1> (enable) set port flowcontrol 6/1-12 send desired
Ports 6/1-12 flow control send administration status set to desired
(ports will send flowcontrol to far end if far end supports it)
5509-ER-F1> (enable) set port flowcontrol 6/1-12 receive desired
Ports 6/1-12 flow control receive administration status set to desired
(ports will allow far end to send flowcontrol if far end supports it)
5509-ER-F1> (enable) set port channel 6/1-12 off
Port(s) 6/1-12 channel mode set to off.
5509-ER-F1> (enable) set trunk 6/1-12 off
Port(s) 6/1-12 trunk mode set to off.
5509-ER-F1> (enable) set spantree portfast 6/1-12 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 6/1-12 fast start enabled.
5509-ER-F1> (enable) set vlan 20 6/1-12
---- -----------------------
5509-ER-F1> (enable) set module name 7 Corp/Mfg 10Mb Hosts
5509-ER-F1> (enable) set port name 7/1-12 Corp Win98 PC
5509-ER-F1> (enable) set port name 7/13-48 Mfg Win98 PC
5509-ER-F1> (enable) set port duplex 7/1-48 full
Ports 7/1-48 set to full-duplex.
5509-ER-F1> (enable) set spantree portfast 7/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 7/1-48 fast start enabled.
5509-ER-F1> (enable) set vlan 10 7/1-12
---- -----------------------
5509-ER-F1> (enable) set vlan 30 7/13-48
---- -----------------------
5509-ER-F1> (enable) set module name 8 DevEng 10Mb Hosts
5509-ER-F1> (enable) set port name 8/1-48 DevEng WinNT PC
5509-ER-F1> (enable) set port duplex 8/1-48 full
Ports 8/1-48 set to full-duplex.
5509-ER-F1> (enable) set spantree portfast 8/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 8/1-48 fast start enabled.
5509-ER-F1> (enable) set vlan 20 8/1-48
---- -----------------------
5509-ER-F1> (enable) set module name 9 DevEng 10Mb Hosts
5509-ER-F1> (enable) set port name 9/1-48 DevEng WinNT PC
5509-ER-F1> (enable) set port duplex 9/1-48 full
Ports 9/1-48 set to full-duplex.
5509-ER-F1> (enable) set spantree portfast 9/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 9/1-48 fast start enabled.
5509-ER-F1> (enable) set vlan 20 9/1-48
---- -----------------------
4003-ER-F1 (Catalyst 4003) Configuration
This section shows the configuration for 4003-ER-F1:
Console> (enable) set system name 4003-ER-F1
4003-ER-F1> (enable) set system location 1st Floor Equipment Room
4003-ER-F1> (enable) set system contact sysadmin@bigcorp.com
4003-ER-F1> (enable) set time 04/30/1999 9:45:00
Fri Apr 30 1999, 09:45:00
4003-ER-F1> (enable) set password
Enter old password: <Return>
Enter new password: <new_login_password>
Retype new password: <new_login_password>
4003-ER-F1> (enable) set enablepass
Enter old password: <Return>
Enter new password: <new_enable_password>
Retype new password: <new_enable_password>
4003-ER-F1> (enable) set banner motd %
4003-ER-F1 (Catalyst 4003)
4003-ER-F1> (enable) set interface sc0 10.10.1.20/24
Interface sc0 IP address set.
4003-ER-F1> (enable) set ip route default 10.10.1.1
4003-ER-F1> (enable) set ip dns server 10.10.10.100
10.10.10.100 added to DNS server table as primary server.
4003-ER-F1> (enable) set ip dns domain bigcorp.com
Default DNS domain name set to bigcorp.com
4003-ER-F1> (enable) set ip dns enable
4003-ER-F1> (enable) set vtp domain BigCorp mode client
VTP domain BigCorp modified
4003-ER-F1> (enable) set module name 1 Supervisor
4003-ER-F1> (enable) set module name 2 Gig Uplinks
4003-ER-F1> (enable) set port flowcontrol 2/1-2 send off
Ports 2/1-2 flow control send administration status set to off
(ports will not send flowcontrol to far end)
4003-ER-F1> (enable) set port flowcontrol 2/1-2 receive off
Ports 2/1-2 flow control receive administration status set to off
(ports will not allow far end to send flowcontrol)
4003-ER-F1> (enable) set port negotiation 2/1-2 enable
Ports 2/1-2 negotiation enabled
4003-ER-F1> (enable) set port name 2/1-2 GEC 802.1Q Trunk
4003-ER-F1> (enable) set port channel 2/1-2 desirable
Port(s) 2/1-2 channel mode set to desirable.
4003-ER-F1> (enable) set trunk 2/1 desirable dot1q
Port(s) 2/1-2 trunk mode set to desirable.
Port(s) 2/1-2 trunk type set to dot1q.
4003-ER-F1> (enable) set module name 3 Gig Server Links
4003-ER-F1> (enable) set port name 3/1-2 Corporate Server
4003-ER-F1> (enable) set port name 3/3 DevEng Server
4003-ER-F1> (enable) set port name 3/4 QA Server
4003-ER-F1> (enable) set port flowcontrol 3/1-4 send desired
Ports 3/1-4 flow control send administration status set to desired
(ports will send flowcontrol to far end if far end supports it)
4003-ER-F1> (enable) set port flowcontrol 3/1-4 receive desired
Ports 3/1-4 flow control receive administration status set to desired
(ports will allow far end to send flowcontrol if far end supports it)
4003-ER-F1> (enable) set port channel 3/1-2 off
Port(s) 3/1-2 channel mode set to off.
4003-ER-F1> (enable) set port channel 3/3-4 off
Port(s) 3/3-4 channel mode set to off.
4003-ER-F1> (enable) set trunk 3/1-4 off
Port(s) 3/1-4 trunk mode set to off.
4003-ER-F1> (enable) set spantree portfast 3/1-4 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 3/1-4 fast start enabled.
4003-ER-F1> (enable) set vlan 10 3/1-2
---- -----------------------
4003-ER-F1> (enable) set vlan 20 3/3
---- -----------------------
4003-ER-F1> (enable) set vlan 40 3/4
---- -----------------------
RSM-ER-F1 (RSM) Configuration
Note
For complete configuration procedures for the Route Switch Module (RSM), see the Software Configuration Guide for the Catalyst 5000 series switches.
This section shows the configuration for RSM-ER-F1:
5509-ER-F1> (enable) session 3
Escape character is '^]'.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname RSM-ER-F1
RSM-ER-F1(config)#enable password extra_secret_word
RSM-ER-F1(config)#line vty 0 6
RSM-ER-F1(config-line)#password secret_word
RSM-ER-F1(config-line)#ip domain-name bigcorp.com
RSM-ER-F1(config)#ip name-server 10.10.10.100
RSM-ER-F1(config)#ip domain-lookup
RSM-ER-F1(config)#interface vlan 1
RSM-ER-F1(config-if)#description default (vlan1) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.1.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 10
RSM-ER-F1(config-if)#description Corporate (vlan10) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.10.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 20
RSM-ER-F1(config-if)#description DevEng (vlan20) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.20.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 30
RSM-ER-F1(config-if)#description Mfg (vlan30) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.30.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 40
RSM-ER-F1(config-if)#description QA (vlan40) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.40.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 50
RSM-ER-F1(config-if)#description Finance&Admin (vlan50) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.50.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1(config-if)#interface vlan 60
RSM-ER-F1(config-if)#description Sales&Mktg (vlan60) VLAN interface
RSM-ER-F1(config-if)#ip address 10.10.60.1 255.255.255.0
RSM-ER-F1(config-if)#no shutdown
RSM-ER-F1#copy running-config startup-config
Building configuration...
5505-WC-F2 (Catalyst 5505) Configuration
This section shows the configuration for 5505-WC-F2:
Console> (enable) set system name 5505-WC-F2
5505-WC-F2> (enable) set system location 2nd Floor Wiring Closet
5505-WC-F2> (enable) set system contact sysadmin@bigcorp.com
5505-WC-F2> (enable) set time 04/30/1999 10:00:00
Fri Apr 30 1999, 10:00:00
5505-WC-F2> (enable) set password
Enter old password: <Return>
Enter new password: <new_login_password>
Retype new password: <new_login_password>
5505-WC-F2> (enable) set enablepass
Enter old password: <Return>
Enter new password: <new_enable_password>
Retype new password: <new_enable_password>
5505-WC-F2> (enable) set banner motd %
5505-WC-F2 (Catalyst 5505)
5505-WC-F2> (enable) set interface sc0 10.10.1.30/24
Interface sc0 IP address set.
5505-WC-F2> (enable) set ip route default 10.10.1.1
5505-WC-F2> (enable) set ip dns server 10.10.10.100
10.10.10.100 added to DNS server table as primary server.
5505-WC-F2> (enable) set ip dns domain bigcorp.com
Default DNS domain name set to bigcorp.com
5505-WC-F2> (enable) set ip dns enable
5505-WC-F2> (enable) set vtp domain BigCorp mode client
VTP domain BigCorp modified
5505-WC-F2> (enable) set module name 1 Supervisor III
5505-WC-F2> (enable) set port name 1/1-4 FEC ISL Trunk
5505-WC-F2> (enable) set port speed 1/1-4 100
Ports 1/1-4 transmission speed set to 100Mbps.
5505-WC-F2> (enable) set port duplex 1/1-4 full
Ports 1/1-4 set to full-duplex.
5505-WC-F2> (enable) set port flowcontrol 1/1-4 send off
Ports 1/1-4 flow control send administration status set to off
(ports will not send flowcontrol to far end)
5505-WC-F2> (enable) set port flowcontrol 1/1-4 receive off
Ports 1/1-4 flow control receive administration status set to off
(ports will not allow far end to send flowcontrol)
5505-WC-F2> (enable) set port negotiation 1/1-4 enable
Ports 1/1-4 negotiation enabled
5505-WC-F2> (enable) set port channel 1/1-4 desirable
Port(s) 1/1-4 channel mode set to desirable.
5505-WC-F2> (enable) set trunk 1/1 desirable isl
Port(s) 1/1 trunk mode set to desirable.
Port(s) 1/1 trunk type set to isl.
5505-WC-F2> (enable) set module name 2 QA 100Mb Hosts
5505-WC-F2> (enable) set port name 2/1-4 QA Sparc20
5505-WC-F2> (enable) set port name 2/5-12 QA NT Workstation
5505-WC-F2> (enable) set port speed 2/1-12 100
Ports 2/1-12 transmission speed set to 100Mbps.
5505-WC-F2> (enable) set port duplex 2/1-12 full
Ports 2/1-12 set to full-duplex.
5505-WC-F2> (enable) set port flowcontrol 2/1-12 send desired
Ports 2/1-12 flow control send administration status set to desired
(ports will send flowcontrol to far end if far end supports it)
5505-WC-F2> (enable) set port flowcontrol 2/1-12 receive desired
Ports 2/1-12 flow control receive administration status set to desired
(ports will allow far end to send flowcontrol if far end supports it)
5505-WC-F2> (enable) set port channel 2/1-12 off
Port(s) 2/1-12 channel mode set to off.
5505-WC-F2> (enable) set trunk 2/1-12 off
Port(s) 2/1-12 trunk mode set to off.
5505-WC-F2> (enable) set spantree portfast 2/1-12 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 2/1-12 fast start enabled.
5505-WC-F2> (enable) set vlan 40 2/1-12
---- -----------------------
5505-WC-F2> (enable) set module name 3 QA 10Mb Hosts
5505-WC-F2> (enable) set port name 3/1-48 QA WinNT PC
5505-WC-F2> (enable) set port duplex 3/1-48 full
Ports 3/1-48 set to full-duplex.
5505-WC-F2> (enable) set spantree portfast 3/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 3/1-48 fast start enabled.
5505-WC-F2> (enable) set vlan 40 3/1-48
---- -----------------------
5505-WC-F2> (enable) set module name 4 Corp/F&A 10Mb Hosts
5505-WC-F2> (enable) set port name 4/1-12 Corp Win98 PC
5505-WC-F2> (enable) set port name 4/13-48 F&A Win98 PC
5505-WC-F2> (enable) set port duplex 4/1-48 full
Ports 4/1-48 set to full-duplex.
5505-WC-F2> (enable) set spantree portfast 4/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 4/1-48 fast start enabled.
5505-WC-F2> (enable) set vlan 10 4/1-12
---- -----------------------
5505-WC-F2> (enable) set vlan 50 4/13-48
---- -----------------------
5505-WC-F2> (enable) set module name 5 S&M 10Mb Hosts
5505-WC-F2> (enable) set port name 5/1-48 S&M Win98 PC
5505-WC-F2> (enable) set port duplex 5/1-48 full
Ports 5/1-48 set to full-duplex.
5505-WC-F2> (enable) set spantree portfast 5/1-48 enable
Warning: Spantree port fast start should only be enabled on ports
connected
to a single host. Connecting hubs, concentrators, switches, bridges,
etc. to
a fast start port can cause temporary spanning tree loops. Use with
caution.
Spantree ports 5/1-48 fast start enabled.
5505-WC-F2> (enable) set vlan 60 5/1-48
---- -----------------------