清洗设备与对端的路由器建立BGP邻居,使用BGP引流,策略路由回注的方式,则在清洗设备上需要完成哪些配置?
1728 次浏览
- A、[sysname] route-policy 1 permit node 1 [sysname-route-policy] apply community no-advertise [sysname-route-policy] quit [sysname] bgp 100 [sysname-bgp] peer X.X.X.X as-number 100 [sysname-bgp] import-route unr [sysname-bgp] ipv4-family unicast [sysname-bgp-af-ipv4] peer X X. X. X route-policy 1 export [sysname-bgp-af-ipw4] peer x.x.x.x advertise-community [sysname-bgp-af-ipw4] quit
- B、<sysname> system-view [sysname] fivewall ddos-bgp-next-hop X.X.X.X
- C、[sysname]interface GigabitEthernet 2/0/1 [sysname-GigabitEthermet 2/0/1]anti-ddos flow-statistic enable
- D、[sysname] policy-based-route [sysname-policy-pbr] rule name huizhu [sysname -policy-pbr-rule-huizhu] ingress-inteface GigabitEthermet 2/0/1 [sysname policy-pbr-rule-huizhu] action pbr egress-inerface GigabitEthernet 2/0/2 next-hop X X. X. X [sysname-policy-pbr-rule huizhu] quit
微信公众号