Chapter 77 trTCM Commands
Ethernet Switch CLI Reference Guide
298
77.3 Command Examples
This example activates trTCM on the Switch with the following settings:
• Sets the Switch to inspect the DSCP value of packets (color-aware mode).
• Enables trTCM on ports 1-5.
• Sets the Committed Information Rate (CIR) to 4000 Kbps.
• Sets the Peak Information Rate (PIR) to 4500 Kbps.
• Specifies DSCP value 7 for green packets, 22 for yellow packets and 44 for red packets.
no trtcm
Disables trTCM on the port(s).
C
13
trtcm cir <
rate
>
Sets the Commit Information Rate on the
port(s).
C
13
trtcm pir <
rate
>
Sets the Peak Information Rate on the
port(s).
C
13
trtcm dscp green <0-63>
Specifies the DSCP value to use for
packets with low packet loss priority.
C
13
trtcm dscp yellow <0-63>
Specifies the DSCP value to use for
packets with medium packet loss priority.
C
13
trtcm dscp red <0-63>
Specifies the DSCP value to use for
packets with high packet loss priority.
C
13
trtcm dscp profile <
name
>
Specifies the DSCP profile that you want to
apply to packets on the port(s).
C
13
no trtcm dscp profile
Sets the Switch to apply the default DSCP
profile to packets on the port(s).
C
13
Table 168
trtcm Command Summary (continued)
COMMAND
DESCRIPTION
M
P
sysname(config)# trtcm
sysname(config)# trtcm mode color-aware
sysname(config)# interface port-channel 1-5
sysname(config-interface)# trtcm
sysname(config-interface)# trtcm cir 4000
sysname(config-interface)# trtcm pir 4500
sysname(config-interface)# trtcm dscp green 7
sysname(config-interface)# trtcm dscp yellow 22
sysname(config-interface)# trtcm dscp red 44
sysname(config-interface)# exit
sysname(config)# exit
sysname# show running-config interface port-channel 1 trtcm
Building configuration...
Current configuration:
interface port-channel 1
trtcm
trtcm cir 4000
trtcm pir 4500
trtcm dscp green 7
trtcm dscp yellow 22
trtcm dscp red 44
exit