Configuring A Route Policy - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 17
Configuring Policy-Based Routing
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .

Configuring a Route Policy

You can use route maps in policy-based routing to assign routing policies to the inbound interface. See
"Configuring Route Maps" section on page
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
ip policy route-map map-name
Example:
switch(config-if)# ip policy route-map
Testmap
ipv6 policy route-map map-name
Example:
switch(config-if)# ipv6 policy route-map
TestIPv6map
Step 4
exit
Example:
switch(config-route-map)# exit
Step 5
exit
Example:
switch(config)# exit
Step 6
copy running-config startup-config
Example:
switch# copy running-config
startup-config
OL-20002-02
config t
interface type slot/port
ip policy route-map map-name
or
ipv6 policy route-map map-nam
exit
copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
16-11.
Purpose
Enters configuration mode.
Enters interface configuration mode.
Assigns a route map for IPv4 policy-based routing to
the interface.
Assigns a route map for IPv6 policy-based routing to
the interface.
(Optional) Exits route-map configuration mode.
(Optional) Exits route-map configuration mode.
(Optional) Saves this configuration change.
Configuring Policy-Based Routing
17-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents