Cisco ASR 14000 Series Management Command Reference page 164

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

Advertisement

set default-afi
set default-afi
To set the default address family identifier (AFI) for the current session, use the set default-afi command
in EXEC mode.
Syntax Description
all
ipv4
ipv6
Defaults
The default AFI setting is set to IPv4 for all sessions.
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-afi command to set the default AFI for the current session. This command acts as a
keystroke shortcut for show commands. If the default AFI setting is set to IPv4, then you would not have
to specify the ipv4 keyword for show commands that support the ipv4 keyword. For example, if the AFI
setting is set to IPv4, you could issue the show route command without specifying the ipv4 keyword to
display IPv4 routes in the Routing Information Base (RIB).
Use the
Task ID
Task ID
basic-services
Examples
The following example shows how to set the default AFI to IPv6:
RP/0/RP0/CPU0:router# set default-afi ipv6
%% Default Address Family Identifier is set to 'ipv6'
Cisco ASR 14000 Series Router System Management Command Reference
SMR-162
set default-afi {all | ipv4 | ipv6}
Sets the default AFI to IPv4 and IPv6 for the current session.
Sets the default AFI to IPv4 for the current session. This is the default
setting.
Sets the default AFI to IPv6 for the current session.
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 AFI setting.
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents