1028
PowerConnect B-Series FCX Configuration Guide
53-1002266-01
BGP null0 routing
30
Configuration examples
S6
The following configuration defines specific prefixes to filter.
PowerConnect(config)#ip route 110.0.0.40/29 ethernet 3/7 tag 50
PowerConnect(config)#ip route 115.0.0.192/27 ethernet 3/7 tag 50
PowerConnect(config)#ip route 120.014.0/23 ethernet 3/7 tag 50
The following configuration redistributes routes into BGP.
PowerConnect(config)#router bgp
PowerConnect(config-bgp-router)#local-as 100
PowerConnect(config-bgp-router)#neighbor <router1_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router2_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router5_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#redistribute static route-map blockuser
PowerConnect(config-bgp-router)#exit
The following configuration defines the specific next hop address and sets the local preference to
preferred.
PowerConnect(config)#route-map blockuser permit 10
PowerConnect(config-routemap blockuser)#match tag 50
PowerConnect(config-routemap blockuser)#set ip next-hop 199.199.1.1
PowerConnect(config-routemap blockuser)#set local-preference 1000000
PowerConnect(config-routemap blockuser)#set origin igp
PowerConnect(config-routemap blockuser)#exit
S1
The following configuration defines the null0 route to the specific next hop address. The next hop
address 199.199.1.1 points to the null0 route.
PowerConnect(config)#ip route 199.199.1.1/32 null0
PowerConnect(config)#router bgp
PowerConnect(config-bgp-router)#local-as 100
PowerConnect(config-bgp-router)#neighbor <router2_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router5_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router6_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
S2
The following configuration defines a null0 route to the specific next hop address. The next hop
address 199.199.1.1 points to the null0 route, which gets blocked.
PowerConnect(config)#ip route 199.199.1.1/32 null0
PowerConnect(config)#router bgp
PowerConnect(config-bgp-router)#local-as 100
PowerConnect(config-bgp-router)#neighbor <router1_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100
PowerConnect (config-bgp-router)#neighbor <router5_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router6_int_ip address> remote-as 100
PowerConnect(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
Summary of Contents for PowerConnect B-FCXs
Page 1: ...53 1002266 01 18 March 2011 PowerConnect B Series FCX Configuration Guide ...
Page 248: ...206 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IPv6 management commands 7 ...
Page 374: ...332 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Jumbo frame support 9 ...
Page 568: ...526 PowerConnect B Series FCX Configuration Guide 53 1002266 01 CLI examples 14 ...
Page 588: ...546 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Sample application 15 ...
Page 684: ...642 PowerConnect B Series FCX Configuration Guide 53 1002266 01 VLAN based mirroring 20 ...
Page 724: ...682 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Reading CDP packets 23 ...
Page 930: ...888 PowerConnect B Series FCX Configuration Guide 53 1002266 01 26 ...
Page 948: ...906 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Configuring MLD snooping 27 ...
Page 1348: ...1306 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Example configurations 36 ...
Page 1406: ...1364 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IP source guard 39 ...