Zyxel OLT2412 [153/326] Trtcm command examples

Zyxel OLT2412 [153/326] Trtcm command examples
Chapter 21 Policy Rule
OLT2412 User’s Guide
153
21.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 XE port 2 (in slot 3).
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).
no trtcm
Disables TRTCM on the port(s).
trtcm cir <rate>
Sets the Commit Information Rate on the
port(s).
trtcm pir <rate>
Sets the Peak Information Rate on the port(s).
trtcm dscp green <0-63>
Specifies the DSCP value to use for packets
with low packet loss priority.
trtcm dscp yellow <0-63>
Specifies the DSCP value to use for packets
with medium packet loss priority.
trtcm dscp red <0-63>
Specifies the DSCP value to use for packets
with high packet loss priority.
Table 79 TRTCM Commands (continued)
COMMAND DESCRIPTION
OLT2412(config)# trtcm
OLT2412(config)# trtcm mode color-aware
OLT2412(config)# interface port-channel xe-3-1
OLT2412(config-interface)# trtcm
OLT2412(config-interface)# trtcm cir 4000
OLT2412(config-interface)# trtcm pir 4500
OLT2412(config-interface)# trtcm dscp green 7
OLT2412(config-interface)# trtcm dscp yellow 22
OLT2412(config-interface)# trtcm dscp red 44
OLT2412(config-interface)# exit
OLT2412(config)# exit
OLT2412# show running-config interface port-channel xe-3-1 trtcm
Building configuration...
Current configuration:
interface port-channel xe-3-1
trtcm
trtcm cir 4000
trtcm pir 4500
trtcm dscp green 7
trtcm dscp yellow 22
trtcm dscp red 44
exit

Содержание