余振华,MPLS L3VPN网络配置带宽保证
1676540444,
问题描述
需求:G1/0/1绑了VPN实例,G1/0/2配置了mpls,对从G1/0/1接口收到的报文,从G1/0/2发送出去时做带宽保证:
interface GigabitEthernet1/0/1
ip binding vpn-instance vpn_meet
ip address x.x.x.x x.x.x.x
interface GigabitEthernet1/0/2
ip address x.x.x.x x.x.x.x
mpls enable
mpls ldp enable
解决方法
在G1/0/1接口入方向打mpls-exp5标记:
traffic behavior 1
remark mpls-exp5
traffic classifier 1 operator and
if-match any
QoS policy 1
classifier 1 behavior 1
interface GigabitEthernet1/0/1
qos apply policy 1 inbound
在G1/0/2接口出方向做带宽保证:
traffic classifier baozheng operator or
if-match mpls-exp5
traffic behavior baozheng
queue af bandwidth 20480
qos policy baozheng
classifier baozheng behavior baozheng
interface GigabitEthernet1/0/2
qos apply policy baozheng outbound