Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 Manuel d'utilisateur Page 345

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 494
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 493 494

Commentaires sur ces manuels

Pas de commentaire