beautypg.com

3 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 228

background image

Chapter 65 trTCM Commands

Ethernet Switch CLI Reference Guide

228

65.3 Command Examples

This example activates trTCM on the Switch with the following settings:

• Sets the Switch to inspect the DSCP value of the 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.

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

Table 137 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