S Layer 2 Managed Switch User Manual
陈泽科技有限公司
www.stephen-tele.com
77
add: adding a Trap rule
delete: deleting a Trap rule
disable: disable a Trap rule
enable: enable a Trap rule
ip: Set the target address of a Trap rule
port: Set the target port number of a Trap rule
retries
:
Set the retry times of a Trap rule
timeout
:
Set the timeout time of a Trap rule
version
:
Set the version of a Trap rule
View the present trap information settings
config trap
Example
:
Switch(snmp)# config trap
6.4.3
STP settings command
:
:
:
:
STP settings menu as below
:
Enabel or Disable STP
Example: Switch(stp)# enable
Note: “Enable means to enable the STP function, “Disable” means to disable the STP function
Set STP bridge parameter
bridge <bridge parameter type> <bridge parameter value>
Example
:
Switch(stp)# bridge forward-delay 20
Note
:
There are fore bridge parameter type, they are:
:
forward-delay: forward delay time, the value should be 4 to 30 seconds
hello-time: interval time for bridge sending bpdu, the value should be 1 to 10 seconds
max-age: max-age time of the bridge
,
the value should be 6 to 40 seconds
priority: to set the priority of the bridge, the value should be 0 to 65535
Note
:
For above parameter settings , it must be in accordance with following rules:
max-age <= 2 x (forward-delay - 1
)
max-age >= 2 x (hello-time + 1)