User`s manual

38
(config-if)# spanning-tree ?
cost Specifies spanning tree cost
edge-port Specifies spanning tree edge port
port-priority Specifies spanning tree port priority
spanning-disabled Disables the spanning tree
spanning-tree cost x command is used to set spanning tree port path cost
value on the interface port(s). It is used to determine the best path between
devices if looping happens. Lower values will be forwarded and should be
assigned to ports with fast connections. Higher values will be blocked and
should be assigned to ports with slow connections. x” is the cost value and
its valid value is 1~65535. The suggestion values are 100(50~600) for 10M,
19(10~60) for 100M and 4(3~10) for 1000M connections.
spanning-tree edge-port command is used to set the interface port(s) as edge
port. And no spanning-tree edge-port command is used to set it as non-
edge port. “Edge port” means the interface port(s) are connected to end
device(s) but not switch-to-switch connection.
spanning-tree port-priority x command is used to set the spanning tree port
priority value on the interface port(s). x” is the port-priority value and its valid
value is 0~240. If the path cost for all ports on a switch are the same, the port
with the highest priority (lowest value) will be forwarded when looping happens.
If more than one port have the same highest priority, the port with lowest port
number will be forwarded.
spanning-tree spanning-disabled command is used to disable spanning tree
function on the interface port(s). And no spanning-tree spanning-disabled
command will enable it.
23. speed command
This command is used to set the operation speed of the interface port(s).
(config-if)# speed ?
auto Set port speed to be auto
10 Set port speed to be 10M
100 Set port speed to be 100M
1000 Set port speed to be 1G
speed auto command will set the interface port(s) to auto-negotiation mode.
speed 10 command will set the interface port(s) to 10M speed.
speed 100 command will set the interface port(s) to 100M speed.
speed 1000 command will set the interface port(s) to 1000M(gigabit) speed.
24. switchport command
This command is used to configure some switch function characteristics for the
interface port(s).
(config-if)# switchport ?
acceptable-frame-types Specifies frame type
allowed Configures the VLAN port list