Cisco ASR 14000 Series Management Command Reference page 168

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

set default-vrf
set default-vrf
To set the default VPN routing and forwarding (VRF) instance for the current session, use the set
default-vrf command in EXEC mode.
Syntax Description
name
none
Defaults
The default VRF setting is set to empty.
Command Modes
EXEC
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the set default-vrf command to set the default VRF setting for the current session. This command
acts as a keystroke shortcut for show commands. For example, if the default VRF is configured, you can
issue the show route command without specifying the VRF name.
When the default VRF for the session is set to none, then IPv4 routes for the system default VRF are
displayed.
To override the default VRF setting, specify the VRF name in the show command.
Note
Use the
Task ID
Task ID
basic-services
Examples
In the following example, the default VRF is set to "dft_vrf":
RP/0/RP0/CPU0:router# set default-vrf dft_vrf
%% Default Virtual Routing/Forwarding is set to 'dft_vrf'
In the following command, the show route command is entered without specifying a VRF name.
Because the default VRF was set to "dft_vrf", the results for that VRF are displayed.
Cisco ASR 14000 Series Router System Management Command Reference
SMR-166
set default-vrf {name | none}
Default VPN routing and forwarding name.
Sets the default VPN routing and forwarding name to empty.
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
show default-afi-safi-vrf
Operations
read, write
Configuration Management Commands on Cisco IOS XR Software
command to display the default VRF setting.
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents