Cisco Systems 78-11741-02 Wireless Office Headset User Manual


 
Configuring OSPF
OSPF Configuration Examples
IPC-252
Cisco IOS IP Configuration Guide
route-map 1 permit
match tag 3
set metric 5
!
route-map 1 deny
match tag 4
!
route map 1 permit
match tag 5
set metric 5
In the following configuration, a RIP learned route for network 160.89.0.0 and an ISO-IGRP learned
route with prefix 49.0001.0002 will be redistributed into an IS-IS Level 2 LSP with a metric of 5:
router isis
redistribute rip route-map 1
redistribute iso-igrp remote route-map 1
!
route-map 1 permit
match ip address 1
match clns address 2
set metric 5
set level level-2
!
access-list 1 permit 160.89.0.0 0.0.255.255
clns filter-set 2 permit 49.0001.0002...
The following configuration example illustrates how a route map is referenced by the
default-information router configuration command. This type of reference is called conditional default
origination. OSPF will originate the default route (network 0.0.0.0) with a type 2 metric of 5 if
140.222.0.0 is in the routing table.
Note Only routes external to the OSPF process can be used for tracking, such as non-OSPF routes or OSPF
routes from a separate OSPF process.
route-map ospf-default permit
match ip address 1
set metric 5
set metric-type type-2
!
access-list 1 permit 140.222.0.0 0.0.255.255
!
router ospf 109
default-information originate route-map ospf-default
Changing OSPF Administrative Distance Example
The following configuration changes the external distance to 200, making it less trustworthy. Figure 44
illustrates the example.