R Commands

This chapter describes the Cisco NX-OS Policy Based Routing (PBR) commands that begin with R.

route-map pbr-statistics

To enable policy-based statistics for a route map, use the route-map pbr statistics command. To disable statistics, use the no form of this command.

route-map name pbr-statistics

no route-map name pbr-statistics

 
Syntax Description

name

Name of the route map. The name can be any alphanumeric string up to 63 characters.

 
Command Default

None

 
Command Modes

Any

 
Supported User Roles

network-admin
vdc-admin

 
Command History

Release
Modified

6.0(2)N2(1)

This command was introduced.

 
Usage Guidelines

Use the route-map pbr-statistics command to enable policy-based routing statistics. You must enable policy-based routing with the feature pbr command before you can enable policy-based routing statistics.


Note This command might fail if the same interface is configured for some other policy such as ACLs.


This command requires the Enterprise Services license.

Examples

This example shows how to enable the policy based routing statistics for a route map:

switch# configure terminal
switch(config)# feature pbr
switch(config)# route-map testmap pbr-statistics
 
Command
Description

ip policy route-map

Identifies a route map to use the policy routing on an interface.