F Commands

feature pbr

To enable the Policy Based Routing (PBR) feature, use the feature pbr command. To disable the PBR feature use the no form of this command.

feature pbr

no feature pbr

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Global configuration mode

Command History

Release

Modification

6.2(2)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to enable the policy-based routing feature:

switch(config)# feature pbr
switch(config)#

Related Commands

Command

Description

class-map

Creates or modifies a class map.

from (table map)

To specify a set of mappings of input field values to output field values in a table map, use the from command.

from source-value to dest-value

Syntax Description

source-value

Source value in the range from 0 to 63.

dest-value

Destination value in the range from 0 to 63.

Command Default

To configure the default mapping action for table maps, see the default (table map) command.

Command Modes

Table map configuration

Default table map configuration

Command History

Release

Modification

4.0

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to create a mapping from three source values to the corresponding destination values:

switch(config)# table-map my_table1
switch(config-tmap)# from 0 to 7
switch(config-tmap)# from 1 to 6
switch(config-tmap)# from 2 to 5

Related Commands

Command

Description

default (table map)

Specifies the default action for mapping of the input field value to the output field value in a table map.

show table-map

Displays table maps.