> IP VRF Context Configuration Mode Commands
> The IP Virtual Routing and Forwarding Context Configuration Mode is used to create and manage the VRF context instance for BGP/MPLS VPN, GRE, IPSec tunneling or such service interfaces for virutal routing, addresses, address resolution options, etc.
> Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
> end
> Exits the interface configuration mode and returns to the Exec mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Change the mode back to the Exec mode.
> exit
> Exits the Interface Configuration Mode and returns to the Context Configuration Mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Return to the context configuration mode.
> ip maximum-routes
> This command configures the maximum number of routes in an IP VRF routing table configured in this context.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> ip maximum-routes max_routes
> no ip maximum-routes
> no
> Disables the configured maximum routes in specific IP VRF context.
> max_routes
> Sets the maximum number of routes in a specific IP VRF context.
> max_routes must be an integer between 1 through 16384 on ASR 5000 system.
> Usage
> Use this command to configure the maximum number of routes in a particular VRF routing table. When the number of routes in the VRF is more than the maximum limit configured, a critical log is generated indicating that the number of routes is over the limit. Once the number of routes in the VRF goes under the limit, a clear log is generated.
> The maximum routes configured using this command will be sent to the threshold configuration logic for appropriate action. For more information on threshold configuration, refer threshold route-service bgp-routes and threshold poll route-service interval commands in Global configuration mode.
> Example
> The following command sets 1000 routes as a maximum limit for specific VRF context:
> ip maximum-routes 1000
> mpls map-dscp-to-exp
> This command provides mapping of final differentiated services code point (DSCP) bit value in IP packet header to final Experimental (EXP) bit value in MPLS header for incoming traffic.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [no] mpls map-dscp-to-exp dscp dscp_bit_value exp exp_bit_value
> no
> Disables the configured DSCP bit value mapping to EXP bit value from specific IP VRF context.
> dscp dscp_bit_value
> This keyword specifies the final DSCP bit value which is to map with the final EXP bit value in MPLS header for incoming traffic.
> dscp_bit_value specifies the value of DSCP bit values separated in 8 groups and represented with integers between 0 through 7.
> The default representation of DSCP value in 8 groups is given in the following table:

> DSCP Marking Value | DSCP Map Group
> 0-7 | 0
> 8-15 | 1
> 16-23 | 2
> 24-31 | 3
> 32-39 | 4
> 40-47 | 5
> 48-55 | 6
> 56-63 | 7

> ‌
> exp exp_bit_value
> This keyword specifies the final EXP bit value in MPLS header to which the final DSCP bit value 0 to 7 (represented in 8 values) coming from incoming traffic will be mapped.
> exp_bit_value is the value of EXP bit in MPLS header and must be an integer between 0 through 7.
> Usage
> Use this command to map the final DSCP value coming from incoming IP traffic to a final EXP value in MPLS header. This mapping determines the QoS and service parameters to which the packet is assigned.
> Example
> The following command maps the DSCP value 3 (24 to 31) to EXP bit 3 in MPLS header:
> mpls map-dscp-to-exp dscp 3 exp 3
> mpls map-exp-to-dscp
> This command provides mapping of incoming Experimental (EXP) bit value in MPLS header to internal differentiated services code point (DSCP) bit value in IP packet header for outgoing traffic.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [no] mpls map-exp-to-dscp exp exp_bit_value dscp dscp_bit_value
> no
> Disables the configured EXP bit value mapping to DSCP bit value from specific IP VRF context.
> exp exp_bit_value
> This keyword specifies the incoming EXP bit value in MPLS header to which the internal DSCP bit value 0 to 7 (represented in 8 values) in IP traffic will be mapped.
> exp_bit_value is the value of EXP bit in MPLS header and must be an integer between 0 through 7.
> dscp dscp_bit_value
> This keyword specifies the DSCP bit value is to be mapped with the incoming EXP bit value in MPLS header.
> dscp_bit_value specifies the value of DSCP bit values separated in 8 groups and represented with integers between 0 through 7.
> The default representation of DSCP value in 8 groups is given in the following table:

> DSCP Marking Value | DSCP Map Group
> 0-7 | 0
> 8-15 | 1
> 16-23 | 2
> 24-31 | 3
> 32-39 | 4
> 40-47 | 5
> 48-55 | 6
> 56-63 | 7

> ‌
> Usage
> Use this command to map the incoming EXP bit value in MPLS header to DSCP bit value in IP traffic. This mapping determines the QoS and service parameters to which the packet is assigned.
> Example
> The following command maps the EXP bit value 4 to DSCP value 6 (48 to 55) in IP header:
> mpls map-exp-to-dscp exp 4 dscp 6

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883