Send document comments to nexus7k-docfeedback@cisco.com.
17-4
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 17      Configuring Policy-Based Routing
Configuring Policy-Based Routing
Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature 
might differ from the Cisco IOS commands that you would use.
Enabling the Policy-based Routing Feature
You must enable the policy-based routing feature before you can configure a route policy.
BEFORE YOU BEGIN 
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. feature pbr
3. show feature
4. copy running-config startup-config
DETAILED STEPS
Use the no feature pbr command to disable the policy-based routing feature and remove all associated 
configuration. 
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
feature pbr
Example:
switch(config)# feature pbr
Enables the policy-based routing feature.
Step 3
show feature 
Example:
switch(config)# show feature 
(Optional) Displays enabled and disabled features.
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config 
startup-config
(Optional) Saves this configuration change.
Command Purpose
no feature pbr
Example:
switch(config)# no feature pbr
Disables the policy-based routing feature and 
removes all associated configuration.