set router vrf create

Use this command to create a VRF router.

Syntax

set router vrf create vrf-name [context context-name]

Parameters

vrf-name Specifies the name of the VRF router. Valid values are up to 32 printable characters.
context context-name (Optional) Specifies the SNMPv3 context for this VRF router. Valid values are up to 28 printable characters. The default value is the specified VRF name.

Defaults

If the context context-name parameter is not specified, the SNMPv3 context defaults to the VRF name.

Mode

All command modes.

Usage

Space characters are not supported in either a VRF name or SNMPv3 context name.

The context context-name parameter must be specified if the VRF name is greater than 28 characters.

The global VRF router is the default router for the device.

Examples

This example creates the VRF router nat1:

System(su)->set router vrf create nat1
System(su)->router nat1
System(su-nat1)->show router
VRF Context    : nat1
RD             : not set
System(su)->