1.1.22 reset ip policy-based-route statistics 1.1.23 snmp-agent trap enable policy-based-route 1 策略路由 1.1 策略路由配置命令 1.1.1 apply access-vpn apply access-vpn命令用来设置报文在公网或指定VPN实例中进行转发。 undo apply access-vpn命令用来取消报文在公网或指定VPN实例中进行转发的设置。 【命...
1.1.15 reset ip policy-based-route statistics 1 策略路由 1.1 策略路由配置命令 1.1.1 apply next-hop apply next-hop命令用来设置报文转发的下一跳。 undo apply next-hop命令用来取消报文转发下一跳的设置。 【命令】 apply next-hop [ vpn-instance vpn-instance-name ] { ip-address [ direct ] }&...
配置policy-based-route路由图 policy-based-route policy-route permit node 10 if-match acl 3040 apply ip-address next-hop 192.168.100.123 quit 在接口应用policy-based-route interface Ethernet0/3.40 ip policy-based-route policy-route quit qos policy方法配置 配置ACL策略 [H3C7506E]acl number 3040 [H...
rule 10 deny ip source 192.168.0.0 0.0.255.255 destination 192.168.0.0 0.0.255.255 (先deny 排除内网互访网段)rule 20 permit ip source 192.168.2.0 0.0.0.255路由策略: policy-based-route aaa permit node 1 if-match acl 3100 apply next-hop 1.1.1.1 ...
1.策略路由简介策略路由能做到对 源IP地址进行指定下一跳,正常情况路由只能针对目的地址匹配。此次配置主要针对流经的数据进行匹配,如果需要本地设备触发流量时进行PBR请使用(ip local policy-based-route pbr) …
[Switch]ip route-static 0.0.0.0 0 10.1.20.1[Switch]ip route-static 0.0.0.0 0 10.1.30.1 完成以上配置步骤以后,内网能够正常访问外网了,但是不能保证192.168.1.0/24网段用户的数据走高速链路,192.168.2.0/24网段的数据走低速链路,要实现这个需求需要继续完成下面的配置步骤。
ip policy-based-route policy-route quit qos policy方法配置 配置ACL策略 [H3C7506E]acl number 3040 [H3C7506E-acl-adv-3040] rule 10 permit ip source any [H3C7506E-acl-adv-3040]quit 配置匹配ACL的流分类1 [H3C7506E] traffic classifier 1 ...
[R1-Ethernet0/1/0] ip policy-based-route any 接口下使能策略路由 [R1]int e0/1/1 [R1-Ethernet0/1/1]ip policy-based-route any [R2]int e0/1/0 [R2-Ethernet0/1/0]ip add 10.1.12.2 24 [R2-Ethernet0/1/0]int e0/1/1 [R2-Ethernet0/1/1]ip add 10.1.21.2 24 ...
policy-based-route PBR_VLAN110 permit node 20if-match acl 3000 apply next-hop 192.168.8.1 quitinterface Vlan-interface 110ip policy-based-route PBR_VLAN110quit按上述配置,vlan 110 可以正常上内网,也可以正常通过 192.168.8.1 这台路由器上外网, ping 192.168.8.1 有返回,但登录不了 https://192.168....
[RouterA-GigabitEthernet1/0/1] ip policy-based-route aaa [RouterA-GigabitEthernet1/0/1] quit 4. 验证配置 从Host A上ping Router B,结果成功。 从Host B上ping Router B,结果失败。 从Host A上ping Router C,结果失败。 从Host B上ping Router C,结果成功。 以上结果可证明:从Router A的以太网...