Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 Instrukcja Użytkownika Strona 345

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 494
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 344
Brocade ICX 6650 Layer 3 Routing Configuration Guide 327
53-1002603-01
BGP null0 routing
Configuration examples for BGP null0 routing
S6
The following configuration defines specific prefixes to filter.
Brocade(config)#ip route 10.0.0.40/29 ethernet 1/1/2 tag 50
Brocade(config)#ip route 10.0.0.192/27 ethernet 1/1/2 tag 50
Brocade(config)#ip route 10.0.14.0/23 ethernet 1/1/2 tag 50
The following configuration redistributes routes into BGP.
Brocade(config)#router /jointfilesconvert/81914/bgp
Brocade(config-/jointfilesconvert/81914/bgp-router)#local-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router1_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router2_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router3_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router4_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router5_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router7_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#redistribute static route-map blockuser
Brocade(config-/jointfilesconvert/81914/bgp-router)#exit
The following configuration defines the specific next hop address and sets the local preference to
preferred.
Brocade(config)#route-map blockuser permit 10
Brocade(config-routemap blockuser)#match tag 50
Brocade(config-routemap blockuser)#set ip next-hop 199.199.1.1
Brocade(config-routemap blockuser)#set local-preference 1000000
Brocade(config-routemap blockuser)#set origin igp
Brocade(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.
Brocade(config)#ip route 199.199.1.1/32 null0
Brocade(config)#router /jointfilesconvert/81914/bgp
Brocade(config-/jointfilesconvert/81914/bgp-router)#local-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router2_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router3_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router4_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router5_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router6_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/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.
Brocade(config)#ip route 199.199.1.1/32 null0
Brocade(config)#router /jointfilesconvert/81914/bgp
Brocade(config-/jointfilesconvert/81914/bgp-router)#local-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router1_int_ip address> remote-as 100
Brocade(config-/jointfilesconvert/81914/bgp-router)#neighbor <router3_int_ip address> remote-as 100
Przeglądanie stron 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 493 494

Komentarze do niniejszej Instrukcji

Brak uwag