Cisco Nexus 7000 Series NX-OS MPLS Command Reference
V Commands
Downloads: This chapterpdf (PDF - 120.0KB) The complete bookPDF (PDF - 5.67MB) | Feedback

V Commands

Table Of Contents

V Commands

vrf

vrf context

vrf member


V Commands


This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with V.

vrf

To display information for a virtual routing and forwarding (VRF) instance, use the vrf command. To return to the default setting, use the no form of this command.

vrf vrf-name

no vrf vrf-name

Syntax Description

vrf-name

VRF name that is any case-sensitive alphanumeric string up to 32 characters.


Defaults

None

Command Modes

Router VRF configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how to display information about each VRF instance:

switch# configure t
switch(config)# feature ospf
switch(config)# Test1
switch(config-router)# timers throttle lsa 0 5000 5000
switch(config-router)# timers lsa-arrival 30
switch(config-router)# vrf vpn1
switch(config-router-vrf)#

Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).


vrf context

To create a new virtual routing and forwarding (VRF) instance, use the vrf context command. To return to the default setting, use the no form of this command.

vrf context vrf-name

no vrf context vrf-name

Syntax Description

vrf-name

VRF name that can be any case-sensitive, alphanumeric string up to 20 characters.


Defaults

None

Command Modes

Global configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how to create a new VRF instance:

switch# configure terminal
switch(config)# vrf context blue
switch(config-vrf)# 

Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).


vrf member

To set virtual routing and forwarding (VRF) membership on an interface, use the vrf member command. To return to the default setting, use the no form of this command.

vrf member vrf-name

no vrf member vrf-name

Syntax Description

vrf-name

VRF name. The maximum size is 32 alphanumeric characters.


Defaults

None

Command Modes

Interface configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how to set VRF membership for an interface:

switch# configure terminal
switch(config)# interface ethernet 5/0
switch(config-if)# vrf member vpn1 
switch(config-if)#

Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).