SUNIX Co., Ltd.
TEL : +886-2-8913-1987
Email : [email protected]
spanning-tree
hello-time
[seconds]
G
Use the spanning-tree hello-time
global configuration command to
specify the interval between hello
bridge protocol data units (BPDUs).
switch(config)#spanning-tree hello-time 3
spanning-tree
forward-time
[seconds]
G
Use the spanning-tree forward-time
global configuration command to set
the forwarding-time for the specified
spanning-tree instances. The
forwarding time determines how
long each of the listening and
learning states last before the port
begins forwarding.
switch(config)# spanning-tree forward-time 20
stp-path-cost
[1~200000000]
I
Use the spanning-tree cost interface
configuration command to set the
path cost for Spanning Tree
Protocol (STP) calculations. In the
event of a loop, spanning tree
considers the path cost when
selecting an interface to place into
the forwarding state.
switch(config)#interface fastEthernet 2
switch(config-if)#stp-path-cost 20
stp-path-priority
[Port Priority]
I
Use the spanning-tree port-priority
interface configuration command to
configure a port priority that is used
when two switches tie for position as
the root switch.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-path-priority 127
stp-admin-p2p
[Auto|True|False]
I
Admin P2P of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-p2p Auto
stp-admin-edge
[True|False]
I
Admin Edge of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-edge True
stp-admin-non-stp
[True|False]
I
Admin NonSTP of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-non-stp False
show spanning-tree
E
Display a summary of the
spanning-tree states.
switch>show spanning-tree
no spanning-tree
G
Disable spanning-tree. switch(config)#no spanning-tree
5.3.6
QOS
C
OMMANDS
S
ET
Commands
Level
Description
Example
qos mode
[SP|WRR|WRR1|WRR2]
SP :
High-Empty-Then-Lo
w
WRR :
WRR_8_4_2_1
WRR1:
WRR_15_7_3_1
WRR2:
WRR_15_10_5_1
G
Set Qos mode.
switch(config)#qos mode sp
switch(config)#qos mode wrr
switch(config)#qos mode wrr1
switch(config)#qos mode wrr2
no qos
G
Disable QoS.
switch(config)#no qos
qos 8021p-priority
[Index][LowSet|SecLo
w|
SecHigh|Highest]
G
Configure 802.1p Priority.
switch(config)#qos 8021p-priority 1 LowSet
qos
priority-static-port-in
gress
[Priority]
I
Configure Static Port Ingress
Priority.
switch(config)#interface fastEthernet 2
switch(config-if)#qos priority-static-port-ingress
7
no qos
I
Disable Static Port Ingress Priority.
switch(config)#interface fastEthernet 3
switch(config-if)#no qos
qos priority tos
[Index][Priority]
G
Configure TOS Priority.
switch(config)#qos priority tos 1 3
show qos
P
Display the information of QoS
configuration.
switch#show qos
5.3.7
IGMP
C
OMMANDS
S
ET
Commands
Level
Description
Example
igmp enable
G
Enable IGMP snooping function.
switch(config)#igmp enable