OLT2406 User’s Guide
522
73.6 TRTCM Command Examples
This example activates TRTCM on the OLT with the following settings:
• Sets the OLT to inspect the DSCP value of packets (Color-aware mode).
• Enables TRTCM on MSC port 5 (Use msc-1-5 no matter which slot the MSC is in).
• 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.
trtcm
Enables TRTCM on the specified port(s). C 13
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.
C13
trtcm dscp yellow <0-63>
Specifies the DSCP value to use for packets with
medium packet loss priority.
C13
trtcm dscp red <0-63>
Specifies the DSCP value to use for packets with
high packet loss priority.
C13
Table 265 TRTCM Commands (continued)
COMMAND DESCRIPTION M P
OLT2406(config)# trtcm
OLT2406(config)# trtcm mode color-aware
OLT2406(config)# interface port-channel msc-1-5
OLT2406(config-interface)# trtcm
OLT2406(config-interface)# trtcm cir 4000
OLT2406(config-interface)# trtcm pir 4500
OLT2406(config-interface)# trtcm dscp green 7
OLT2406(config-interface)# trtcm dscp yellow 22
OLT2406(config-interface)# trtcm dscp red 44
OLT2406(config-interface)# exit
OLT2406(config)# exit
OLT2406# show running-config interface port-channel msc-1-5 trtcm
Building configuration...
Current configuration:
interface port-channel msc-1-5
trtcm
trtcm cir 4000
trtcm pir 4500
trtcm dscp green 7
trtcm dscp yellow 22
trtcm dscp red 44
exit