一 Cisco 交换机综合实例( 二 )


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
Module name set.
5509-ER-F1> (enable) set port name 6/1 DE Sparc Ultra
Port 6/1 name set.
5509-ER-F1> (enable) set port name 6/2-7 DE Sparc20
Ports 6/2-7 name set.
5509-ER-F1> (enable) set port name 6/8-12 DE NT Workstation
Ports 6/8-12 name set.
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
VLAN 20 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
201/1-2
 5/1-4
 6/1-12
 
5509-ER-F1> (enable) set module name 7 Corp/Mfg 10Mb Hosts
Module name set.
5509-ER-F1> (enable) set port name 7/1-12 Corp Win98 PC
Ports 7/1-12 name set.
5509-ER-F1> (enable) set port name 7/13-48 Mfg Win98 PC
Ports 7/13-48 name set.
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
VLAN 10 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
101/1-2
 5/1-4
 7/1-12
 
5509-ER-F1> (enable) set vlan 30 7/13-48
VLAN 30 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
301/1-2
 5/1-4
 7/13-48
 
5509-ER-F1> (enable) set module name 8 DevEng 10Mb Hosts
Module name set.
5509-ER-F1> (enable) set port name 8/1-48 DevEng WinNT PC
Ports 8/1-48 name set.
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.

推荐阅读