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


5505-WC-F2> (enable) set port name 4/13-48 F&A Win98 PC
Ports 4/13-48 name set.
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
VLAN 10 modified.
VLAN 1 modified.
VLANMod/Ports
---- -----------------------
101/1-4
4/1-12
5505-WC-F2> (enable) set vlan 50 4/13-48
VLAN 50 modified.
VLAN 1 modified.
VLANMod/Ports
---- -----------------------
501/1-4
4/13-48
5505-WC-F2> (enable) set module name 5 S&M 10Mb Hosts
Module name set.
5505-WC-F2> (enable) set port name 5/1-48 S&M Win98 PC
Ports 5/1-48 name set.
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
VLAN 60 modified.
VLAN 1 modified.
VLANMod/Ports
---- -----------------------
601/1-4
5/1-48

5505-WC-F2> (enable)

全文结束

推荐阅读