Multicast and Routing Guide K/KA/KB.15.15
Match commands
The match commands described in this chapter are available for use in route maps.
Multiple match commands may be used in a sequence of a route map. For most commands, only
one match of a given type is permitted in a sequence. For the match interface vlan vid
, match ip next-hop IP-addr , and match ipv6 next-hop IPv6-addr commands,
multiple instances of those commands are permitted in a single sequence, because all instances
of those commands in a sequence are concatenated internally into single commands, respectively.
Using route policy in route redistribution
The following examples show some basic uses of route policy based on the figure below. (All
subnets have 24-bit masks.)
Figure 45 Network for redistribution example
Baseline: Intra-domain routing using default settings
Each of the routing domains in Figure 45 (page 214) is defined with simple VLANs and a basic
routing configuration:
• In the RIP domains, the RIP protocol is assigned to each VLAN that a router connects to.
• Routers in the RIP domains redistribute connected routes—this is the default setting when RIP
is enabled.
• For simplicity, all VLANs in the OSPF domain are assigned to the backbone area (area 0.)
• Border routers (North and South) implement both RIP and OSPF protocols.
The following listing shows the running configuration for the South router, the most complicated of
the routers in this example. (Not only is the South router a border router, but it also has host
computers connected directly to it in both RIP and OSPF domains.)
South(config)# show run
214 Route Policy










