Brocade Virtual ADX Switch and Router Guide (Supporting AD Manual de usuario Pagina 141

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 374
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 140
Brocade Virtual ADX Switch and Router Guide 127
53-1003246-01
Configuring OSPF
6
The destination-ip wildcard parameter specifies the destination address for the policy. Since this
ACL is input to an OSPF distribution list, the destination-ip parameter actually is specifying the
network mask of the destination. The wildcard parameter specifies the portion of the destination
address to match against. If you want the policy to match on all network masks, enter any any.
Modify default metric for redistribution
The default metric is a global parameter that specifies the cost applied to all OSPF routes by
default. The default value is 10. You can assign a cost from 1 – 15.
NOTE
You also can define the cost on individual interfaces. The interface cost overrides the default cost.
To assign a default metric of 4 to all routes imported into OSPF, enter the following commands.
Virtual ADX(config)# router ospf
Virtual ADX(config-ospf-router)# default-metric 4
Syntax: default-metric value
The value can be from 1 – 16,777,215. The default is 10.
Enable route redistribution
To enable route redistribution, use one of the following methods.
NOTE
Do not enable redistribution until you have configured the redistribution filters. Otherwise, you might
accidentally overload the network with routes you did not intend to redistribute.
To enable redistribution static IP routes into OSPF, enter the following commands.
Example using a route map
To configure a route map and use it for redistribution of routes into OSPF, enter commands such as
the following.
Virtual ADX(config)# router ospf
Virtual ADX(config-ospf-router)# redistribution static
Virtual ADX(config-ospf-router)# write memory
Virtual ADX(config)# ip route 10.1.0.0 255.255.0.0 10.95.7.30
Virtual ADX(config)# ip route 10.2.0.0 255.255.0.0 10.95.7.30
Virtual ADX(config)# ip route 10.3.0.0 255.255.0.0 10.95.7.30
Virtual ADX(config)# ip route 10.1.0.0 255.255.0.0 10.95.6.30
Virtual ADX(config)# ip route 10.2.0.0 255.255.0.0 10.95.6.30
Virtual ADX(config)# ip route 10.3.0.0 255.255.0.0 10.95.6.30
Virtual ADX(config)# ip route 10.4.0.0 255.255.0.0 10.95.6.30 5
Virtual ADX(config)# route-map abc permit 1
Virtual ADX(config-routemap abc)# match metric 5
Virtual ADX(config-routemap abc)# set metric 8
Virtual ADX(config-routemap abc)# router ospf
Virtual ADX(config-ospf-router)# redistribution static route-map abc
Vista de pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 373 374

Comentarios a estos manuales

Sin comentarios