
25
CLI
Security
qos map queue-prece-
dence SEQUENCE to
<0-7>
Admin EXEC
Configure or show IP Pre-
cedence to queue map.
switch# configure
switch(config)# interface gi1
switch(config-if)# qos map pre-
cedence-queue 6 7 to 1
switch(config-if)# exit
switch(config)# exit
[no] qos remark
(cos|dscp|precedence)
Admin EXEC
Loop Detection / Prevention
Table 21: Loop Detection / Prevention
Function
Privilege
Description
Example
show loopback-detec-
tion
User EXEC
Display loopback-detection
global status.
switch# show loopback-detec-
tion
show loopback-detec-
tion interfaces
IF_PORTS state
User EXEC
Display loopback-detection
status of specified ports.
show loopback-detection inter-
faces GigabitEthernet 1,2 state
[no] loopback-detection
Admin EXEC
Enable or disable loopback-
detection.
switch(config)# loopback-
detection
switch(config)# no loopback-
detection
loopback-detection inter-
val <1-32767>
Admin EXEC
Set loopback detection
interval.
switch(config)# loopback-
detection interval 1
loopback-detection
recover-time <60-
1000000>
Admin EXEC
Set block port recover time. switch(config)# loopback-
detection recover-time 60
[no] loopback-detection
Admin EXEC
Enable or disable loopback-
detection of a specified
port.
switch(config-if)# loopback-
detection
switch(config-if)# no loopback-
detection
Storm Control
Table 22: Storm Control
Function
Privilege
Description
Example
show storm-control
User EXEC
Display storm-control infor-
mation.
switch# show storm-control
show storm-control
interfaces
IF_NMLPORTS
User EXEC
Display storm-control infor-
mation in specified inter-
face.
switch# show storm-control
interfaces fa5
storm-control ifg
(include|exclude)
Admin EXEC
Decide whether to include/
exclude the preamble and
inter frame gap into the cal-
culation or not.
switch(config)# storm-control
ifg include
Table 20: QoS (Continued)
Function
Privilege
Description
Example