将监管器应用于动态配置文件接口
此配置显示如何将监管器应用于动态配置文件。
在应用监管器之前,您需要按照以下说明配置监管器:
要配置动态配置文件:
- 为三色监管器创建动态配置文件。
[edit dynamic-profiles] user@host# edit pw-trTCM-policer - 创建具有动态底层接口单元的动态配置文件接口。
[edit dynamic-profiles pw-trTCM-policer] user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit - 指定 VPLS 是协议家族。
[edit dynamic-profiles pw-trTCM-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family vpls - 将三色监管器分配给动态配置文件。
[edit dynamic-profiles pw-trTCM-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set layer2-policer output-three-color trTCM-policer - 为双色监管器创建动态配置文件。
[edit dynamic-profiles] user@host# edit pw-2color-l2-policer - 创建具有动态底层接口单元的动态配置文件接口。
[edit dynamic-profiles pw-2color-l2-policer] user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit - 指定 VPLS 是协议家族。
[edit dynamic-profiles pw-2color-l2-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family vpls - 将双色监管器分配给动态配置文件。
[edit dynamic-profiles pw-2color-l2-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set layer2-policer output-policer 2color-l2-policer