华为策略路由配置实例(5)
发布时间:2021-06-08
发布时间:2021-06-08
[Switch-behavior-b2] quit
3.5、配置流策略并应用到接口上
[Switch] traffic policy p1
[Switch] in terface gigabitethernet 2/0/1
[Switch-GigabitEthernet2/0/1] [Switch-
GigabitEthernet2/0/1] 3.6、验证配置结果
#查看ACL 规则的配置信息。
<Switch> dis play acl 3001
Adva need ACL 3001,4 rules
Acl's ste p is 5
rule 5 p ermit ip p recede nee rout ine (match-co un ter 0)
rule 10 p ermit ip p recede nee p riority (match-co un ter 0)
rule 15 p ermit ip p recede nee immediate (match-co un ter 0)
rule 20 p ermit ip p recede nee flash (match-co un ter 0) vSwitch> dis play acl 3002
#在Switch 上创建流策略
p1,将流分类和对应的流行为进行绑定。
[Switch-trafficpolicy-p1] classifier c1 behavior b1 [Switch-trafficpolicy-p1] classifier c2 behavior b2
[Switch-trafficpolicy-p1] quit
#将流策略p1应用到接口
GE2/0/1的入方向上。
traffic- policy p1 inbound
return
上一篇:上下肢神经