39
spanning-tree Configures spanning tree parameters
storm-control Configures storm control
trunk Configures trunk function
For example,
“mirror” command can enable the mirror function and “no mirror” command
can disable it.
“ip default-gateway 192.168.1.100” will set the IP gateway of the switch to
192.168.1.100, and “no ip default-gateway” will put it to factory default setting
192.168.1.254.
23 prompt command
This command is used to set the prompt word for console.
For example,
(config)# prompt AAA
AAA(config)#
24 qos command
This command is used to enable QoS function of the switch. And “no qos” can
be used to disable it.
The traffic scheduling mode (strict priority - ST or weight round robin - WRR) is
selected in “queue” command. And the weighting of each queue is also set in
“queue” command if WRR is selected.
The other QoS settings on ports are configured in “(config-if)#” mode (go with
“interface ethernet 1/x” command. “x” is the port number.) Please refer to “qos”
command in Section 6.2.4.1 for the details.
25 queue command
This command is used to select traffic scheduling mode (strict priority or weight
round robin). If WRR is selected, weighting of each queue is also set with this
command.
Entering “queue ?”, the sub-commands will be shown.
(config)# queue ?
bandwidth Assigns WRR weights to QoS priority queues
mode Assigns priority queues
queue bandwidth x y z command is used to set the weighting of Normal,
Medium, and High priority queues for WRR operation. (Low priority queue is
always weight1). “x” is the weighting of Normal priority queue. “y” is the
weighting of Medium priority queue. “z” is the weighting of High priority queue.
And their valid number is 0~3. (0:weight1 / 1:weight2 / 2:weight4 / 3:weight8).
queue mode strict/wrr command is used to select the traffic scheduling mode.
If “strict” is selected, the higher priority queue always get bandwidth service
first. If “wrr” is selected, bandwidth is shared between queues with their