This experiment needs:
By planning VLAN 100 and VLAN 200 in Cisco Catalyst 3550来, and configuring DHCP to have the VLAN100 personnel computer obtain an IP address for 192.168.0.0/ 24, let VLAN200 market computer to obtain IP address for 172.16.0.0/24. Because the marketing department and the Ministry of Personnel because of business relationship, need two servers to communicate with each other, where also need to configure the VLAN in 3550 to communicate with each other.
Experiment topology:
The first step of the experimental process is to configure the Catalyst 3550 Base configuration
Switch>
Switch>enable
Switch#conf T
Enter configuration commands, one per line. End With cntl/z.
Switch (config) #host 3550
3550 (config) #no IP do lo
3550 (config) #line con 0
3550 (config-line) #no exec-t
3550 (config-line) #logg syn
3550 (Config-line) #exit |
The second step is to divide the VLAN 100 and VLAN 200 in Catalyst 3550
Enter the global configuration mode and divide the VLAN (Do Catalyst 3500 support the VLAN in global mode?) )
3550 (config) #vlan 100
Give VLAN100 a name.
3550 (Config-vlan) #name Renshibo
3550 (Config-vlan) #int F0/13
3550 (config-if) #switchport mode access
3550 (config-if) #switchport Access VLAN 100
3550 (config-if) #spanning-tree portfast
When do I need to configure portfast under the switch interface? Is it OK if you don't configure it here?
%warning:portfast should only is enabled on ports connected to a single
Host. Connecting hubs, concentrators, switches, bridges, etc ... To this
interface when Portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%portfast has been configured on FASTETHERNET0/13 but'll only
Have effect when the interface was in a non-trunking mode.
3550 (config-if) #vlan 200
3550 (Config-vlan) #name Shichangbo
3550 (Config-vlan) #int F0/15
3550 (config-if) #sw MO acc
3550 (config-if) #sw ACC VLAN 200
3550 (config-if) #spanning-tree portfast
%warning:portfast should only is enabled on ports connected to a single
Host. Connecting hubs, concentrators, switches, bridges, etc ... To this
interface when Portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%portfast has been configured on FASTETHERNET0/15 but'll only
Have effect when the interface was in a non-trunking mode.
Verifying the configuration of VLANs
3550#show VLAN Brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 Default Active FA0/1, FA0/2, FA0/3, FA0/4
FA0/5, FA0/6, FA0/7, FA0/8
FA0/9, FA0/10, FA0/11, FA0/12
FA0/14, FA0/16, FA0/17, FA0/18
FA0/23, GI0/1, GI0/2
Renshibo Active FA0/13
Shichangbo Active FA0/15
1002 Fddi-default Act/unsup
1003 Token-ring-default Act/unsup
1004 Fddinet-default Act/unsup
1005 Trnet-default Act/unsup |