NOTE
If you specify a metric and metric type, the values you specify are used even if you do not use the
always
option.
The
route-map
parameter overrides other options. If
set
commands for
metric
and
metric-type
are specified in the route-map, the
command-line values of metric and metric-type if specified, are ignored for clarification.
The
route-map
rmap
parameter specifies the route map reference.
The corresponding route-map should be created before configuring the
route-map
option along with the
default-information-originate
.
If the corresponding route-map was not been created beforehand, then the an error message will be displayed stating that the route-map
must be created.
OSPF distribute list
This feature configures a distribution list to explicitly deny specific routes from being eligible for installation in the IP route table. By
default, all OSPF routes in the OSPF route table are eligible for installation in the IP route table. This feature does not block receipt of
LSAs for the denied routes. The device still receives the routes and installs them in the OSPF database. The feature only prevents the
software from installing the denied OSPF routes into the IP route table.
The OSPF distribution list can be managed using ACLs or Route Maps to identify routes to be denied as described in the following
sections:
•
Configuring an OSPF Distribution List using ACLs
•
Configuring an OSPF Distribution List using Route Maps
Configuring an OSPF distribution list using ACLs
To configure an OSPF distribution list using ACLs:
•
Configure an ACL that identifies the routes you want to deny. Using a standard ACL lets you deny routes based on the
destination network, but does not filter based on the network mask. To also filter based on the destination network's network
mask, use an extended ACL.
•
Configure an OSPF distribution list that uses the ACL as input.
Examples
In the following example, the first three commands configure a standard ACL that denies routes to any 10.x.x.x destination network and
allows all other routes for eligibility to be installed in the IP route table. The last three commands change the CLI to the OSPF
configuration level and configure an OSPF distribution list that uses the ACL as input. The distribution list prevents routes to any 10.x.x.x
destination network from entering the IP route table. The distribution list does not prevent the routes from entering the OSPF database.
device(config)# ip access-list standard no_ip
device(config-std-nacl)# deny 10.0.0.0 0.255.255.255
device(config-std-nacl)# permit any
device(config)# router ospf
device(config-ospf-router) # area 0
device(config-ospf-router) # distribute-list no_ip in
In the following example, the first three commands configure an extended ACL that denies routes to any 10.31.39.x destination network
and allows all other routes for eligibility to be installed in the IP route table. The last three commands change the CLI to the OSPF
configuration level and configure an OSPF distribution list that uses the ACL as input. The distribution list prevents routes to any
OSPF distribute list
FastIron Ethernet Switch Layer 3 Routing
260
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...