Canoga-perkins CanogaOS Configuration Guide Manual de usuario Pagina 151

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 350
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 150
CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches Page 151 of 350
match ip address acl1
DUT1(config-route-map)# set
local-preference 200
Configure the set action to be
performed;
DUT1(config-route-map)# exit Exit route-map mode and return to
configure mode.
DUT1(config)# route-map
abc permit 20
Configure to add a route-map with the
same tag to match everything when
the match conditions above are not
met. This is used to prevent routes to
be denied when not match the match
criteria above.
DUT1(config-route-map)# exit Exit route-map mode and return to
configure mode.
DUT1(config)# router /jointfilesconvert/1661110/bgp 1 Enter BGP router mode.
DUT1(config-router)#
neighbor 1.1.1.2 remote-as 1
Configure the remote peer with
neighbor address 1.1.1.2 and
remote-as 1.
DUT1(config-router)#
neighbor 1.1.1.2 route-map
abc out
Configure to apply the route-map abc
to outbound routes.
DUT1(config-router)#
network 2.2.2.2/32
Configure to network the route
2.2.2.2/32
DUT1(config-router)# network
3.3.3.3/32
Configure to network the route
3.3.3.3/32
DUT(config-router)# end Exit the BGP mode and return to the
privileged EXEC mode.
Validation Commands
To display the route-map configuration, use the show route-map [NAME] in the
privileged EXEC command on DUT1.
DUT1# show route-map
route-map abc, permit, sequence 10
Match clauses:
ip address acl1
Set clauses:
local-preference 200
route-map abc, permit, sequence 20
Match clauses:
Set clauses:
Use the show ip /jointfilesconvert/1661110/bgp command to show the routes in BGP on DUT2.
Vista de pagina 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 349 350

Comentarios a estos manuales

Sin comentarios