
756
BigIron RX Series Configuration Guide
53-1002253-01
BGP Null0 routing
26
5. On Router 6, redistribute the static routes into BGP, using route-map <route-map-name>
(redistribute static route-map block user).
6. On Router 1, the router facing the internet, configure a null0 route matching the next-hop
address in the route-map (ip route 199.199.1.1/32 null0).
7. Repeat step 3 for all routers interfacing with the internet (edge corporate routers). In this case,
Router 2 has the same null0 route as Router 1.
8. On Router 6, configure the network prefixes associated with the traffic you want to drop. The
static route IP address references a destination address. You are required to point the static
route to the egress port, for example, Ethernet 3/7, and specify the tag 50, matching the
route-map configuration.
Configuration examples
Router 6
The following configuration defines specific prefixes to filter.
BigIron RX(config)#ip route 110.0.0.40/29 ethernet 3/7 tag 50
BigIron RX(config)#ip route 115.0.0.192/27 ethernet 3/7 tag 50
BigIron RX(config)#ip route 120.014.0/23 ethernet 3/7 tag 50
The following configuration redistributes routes into BGP.
BigIron RX(config)#router bgp
BigIron RX(config-bgp-router)#local-as 100
BigIron RX(config-bgp-router)#neighbor <router1_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router2_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router5_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#redistribute static route-map blockuser
BigIron RX(config-bgp-router)#exit
The following configuration defines the specific next hop address and sets the local preference to
preferred.
BigIron RX(config)#route-map blockuser permit 10
BigIron RX(config-routemap blockuser)#match tag 50
BigIron RX(config-routemap blockuser)#set ip next-hop 199.199.1.1
BigIron RX(config-routemap blockuser)#set local-preference 1000000
BigIron RX(config-routemap blockuser)#set origin igp
BigIron RX(config-routemap blockuser)#exit
Router 1
The following configuration defines the null0 route to the specific next hop address. The next hop
address 199.199.1.1 points to 128.178.1.101, which gets blocked.
BigIron RX(config)# ip route 199.199.1.1/32 null0
BigIron RX(config)#router bgp
local-as 100
BigIron RX(config-bgp-router)#neighbor <router2_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router5_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router6_int_ip address> remote-as 100
BigIron RX(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
Содержание BigIron RX Series
Страница 100: ...24 BigIron RX Series Configuration Guide 53 1002253 01 Logging on through the Web Management Interface 2 ...
Страница 192: ...116 BigIron RX Series Configuration Guide 53 1002253 01 Configuring authentication method lists 4 ...
Страница 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Страница 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Страница 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Страница 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Страница 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Страница 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Страница 580: ...504 BigIron RX Series Configuration Guide 53 1002253 01 Configuring multicast traffic engineering 18 ...
Страница 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Страница 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Страница 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Страница 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Страница 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Страница 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Страница 932: ...856 BigIron RX Series Configuration Guide 53 1002253 01 Generalized TTL security mechanism support 26 ...
Страница 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Страница 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Страница 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Страница 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Страница 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Страница 1140: ...1064 BigIron RX Series Configuration Guide 53 1002253 01 802 1s Multiple Spanning Tree Protocol 40 ...
Страница 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Страница 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Страница 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Страница 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Страница 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...