vrf

Configures a Virtual Routing and Forwarding (VRF) and enters VRF configuration mode.
Syntax
vrf vrf-name
no vrf vrf-name
Command Default

A VRF is not created.

Parameters
vrf-name
Specifies the name of the VRF. The name can be up to 255 characters.
Modes

Global configuration mode

Usage Guidelines

The no form of the command removes the VRF.

Examples

The following example configures a VRF and enters VRF configuration mode.

device# configure terminal
device(config)# vrf vrf1
device(config-vrf-vrf1)#