D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 Protocol-Independent
Configuration
1-17
1.6 Configuration Examples
1.6.1 Example of Route-map
The route map can be configured very flexibly to be used on the route
redistribution and policy-based routing. No matter how the route map is used, the
configuration principle is the same, except that different command sets are used.
Even if it is used on the route redistribution, different routing protocols can use
different commands with the route map.
In the following example, the OSPF routing protocol redistributes only the RIP
routes whose hops are 4. In the OSPF routing area, the type of the routes is
external route type-1, the initial metric is 40, and the route tag is 40.
# Configure OSPF
DES-7200(config)# router ospf 1
DES-7200(config-router)# redistribute rip subnets route-map redrip
DES-7200(config-router)# network 192.168.12.0 0.0.0.255 area 0
# Configure the access control list
DES-7200(config)# access-list 20 permit 200.168.23.0
# Configure the route map
DES-7200(config)# route-map redrip permit 10
DES-7200(config-route-map)# match metric 4
DES-7200(config-route-map)# set metric 40
DES-7200(config-route-map)# set metric-type type-1
DES-7200(config-route-map)# set tag 40
In the following configuration example, the RIP routing protocol redistributes only
the OSPF routes whose tag is and initial metric is 10.
# Configure RIP
DES-7200(config)# router rip
DES-7200(config-router)# version 2
DES-7200(config-router)# redistribute ospf 1 route-map redospf
DES-7200(config-router)# network 200.168.23.0
# Configure route map
DES-7200(config)# route-map redospf permit 10
DES-7200(config-route-map)# match tag 10
DES-7200(config-route-map)# set metric 10
In the following configuration example, the OSPF routing protocol redistributes
the RIP routes. Since the unsupported rule for the route-map application has