ADTRAN AOS Version R10.1.0 Guía para resolver problemas Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
Table 7. Filtering Routes and Applying Attributes with Route Maps
Step 1 (config)#route-map <name> [de
ny | permit]
<number>
Creates a route map and enters the Route
Map Configuration mode. Range is 1 to
4294967295.
Step 2
(see note)
Select routes for the BGP interface to adver
tise outbound or filter inbound using the match
commands.
(config-route-map)#ma
tch ip address
prefix-list <name>
Filters according to a prefix list.
(config-route-map)#ma
tch ip address <ipv4
acl name>
Filters according to an IPv4 ACL.
(config-route-map)#ma
tch as-path <name> Filters according to AS path.
(config-route-map)#ma
tch community
<name> [exact-match]
Filters according to a community list.
(config-route-map)#ma
tch metric <value> Filters according to metric.
Step 3
(Optional)
Apply attributes to the route using the se
t commands.
(config-route-map)#se
t as-path prepend
<number> [last-as] <number>
Prepends AS hops to the selected
route(s). The last-as keyword is optional
and specifies to repeat the last AS in a
route up to 10 times.
(config-route-map)#se
t metric <value> Specifies a MED value. Range is 0 to
4294967295.
(config-route-map)#se
t local-preference
<value>
Specifies a local-preference value. Range
is 0 to 4294967295.
Step 4 (config-route-map)#ex
it Exits Route Map Configuration mode.
Step 5 (config)#ro
uter /jointfilesconvert/366217/bgp <AS number> Enters BGP Configuration mode. Range is
1 to 4294967295.
Step 6 (config-/jointfilesconvert/366217/bgp)#neighb
or <ipv4 address> Enters BGP Neighbor Configuration mode
for the neighbor to which the route map is
to be applied.
Step 7 (config-/jointfilesconvert/366217/bgp-neighbor)#route-map <nam
e> [in |
out]
Applies the route map to a BGP neighbor
and specifies whether it is to be applied to
inbound or outbound routes.
Step 8 (config-/jointfilesconvert/366217/bgp-neighbor)#do writ
e Saves the configuration.
Configuration Command Summary
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 61
Refer to Additional BGP Configuration on page 12 for more detailed information on the
commands referenced in the table above.
Command Description
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 83 84

Comentarios a estos manuales

Sin comentarios