42-13
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 42 Configuring Policy-Based Routing
Policy-Based Routing Configuration Tasks
Step 3
Set one of the following
For IPv4:
Switch(config-route-map)#
set ip vrf
[vrf
name]
next-hop ip address>
[...ip-address]
For IPv6:
Switch(config-route-map)#
set ipv6 vrf
[vrf
name]
next-hop ip address>
[...ip-address]
For IPv4:
Switch(config-route-map)#
set ip global
next-hop ip address>
[...ip-address]
For IPv6:
Switch(config-route-map)#
set ipv6 global
next-hop ip address>
[...ip-address]
Specifies the next-hop IP address under the VRF, to which the
matched packets must be forwarded.The next-hop IP address
must exist in the routing table, under the VRF.
Specifies the next-hop IP address, from the global routing
table, to which to forward matched packets. The next-hop IP
address must exist in the global routing table.
Step 4
Set one of the following:
For IPv4:
Switch(config-route-map)#
set ip default vrf
[vrf name]
next-hop ip address>
[...ip-address]
For IPv6:
Switch(config-route-map)#
set ipv6 default vrf
[vrf name]
next-hop ip address>
[...ip-address]
For IPv4:
Switch(config-route-map)#
set ip default
global next-hop ip address>
[...ip-address]
For IPv6:
Switch(config-route-map)#
set ipv6 default
global next-hop ip address>
[...ip-address]
Specifies the next-hop IP address to which the matched
packets must be forwarded when there is no explicit packet
destination address in the routing table, under the VRF.
Specifies the next-hop IP address to which the matched
packets must be forwarded when there is no explicit packet
destination address corresponding to the VRF to which the
interface belongs, in the routing table. The next-hop address
specified must exist in the global routing table.
Command
Purpose
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...