Configuring Local Policy-Based Routing
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).
Procedure
Step 1
Step 2
Step 3
Step 4
Configuring a Local Route Policy
You use route maps in local policy-based routing to assign routing policies.
Procedure
Step 1
Step 2
Step 3
Command or Action
Command or Action
switch# configure terminal
switch(config)# [no] feature pbr
(Optional) switch(config)# show feature
(Optional) switch(config)# copy
running-config startup-config
Command or Action
switch# configure terminal
switch(config)# feature pbr
switch(config)# [no] ipv6 local policy
route-map map-name
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Enabling the Policy-Based Routing Feature
Purpose
• 4—flash-override
• 5—critical
• 6—internet
• 7—network
Use the no form of this command to disable the
feature.
Purpose
Enters configuration mode.
Enables the policy-based routing feature.
Use the no form of this command to disable the
feature.
Displays enabled and disabled features.
Saves this configuration change.
Purpose
Enters configuration mode.
Enables the policy-based routing feature.
Assigns a route map for local policy-based
routing to the interface.
Use the no form of this command to disable the
feature.
155