为伪线配置三色第 2 层监管器
对于伪线第 2 层监管器的基本配置,请创建一个三色监管器。此方案显示了一个双速率三色标记 (trTCM) 监管器。
要配置三色监管器:
- 创建三色监管器。
[edit firewall] user@host# edit three-color-policer trTCM-policer
- 指定要在逻辑接口上使用监管器。
[edit firewall three-color-policer trTCM-policer] user@host#
set logical-interface-policer
- 设置监管器的操作。
[edit firewall three-color-policer trTCM-policer] user@host#
set action loss-priority high then discard
- 指定监管器是双速率监管器并配置监管器。
[edit firewall three-color-policer trTCM-policer] user@host# edit two-rate user@host#
set color-aware
user@host#set committed-information-rate 10m
user@host#set committed-burst-size 50m
user@host#set committed-burst-size 150k
user@host#set peak-information-rate 50m
user@host#set peak-burst-size 450k