Subinterface Configuration Command Mode; Saving And Restoring A Command Mode - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Subinterface Configuration Command Mode

Subinterface Configuration Command Mode
From global configuration mode, you can access a configuration submode for configuring VLAN interfaces
called subinterfaces. In subinterface configuration mode, you can configure multiple virtual interfaces on a
single physical interface. Subinterfaces appear to a protocol as distinct physical interfaces.
Subinterfaces also allow multiple encapsulations for a protocol on a single interface. For example, you can
configure IEEE 802.1Q encapsulation to associate a subinterface with a VLAN.
For more information about configuring subinterfaces, see the Cisco Nexus 9000 Series NX-OS Interfaces
Configuration Guide.
Procedure
Step 1
Step 2

Saving and Restoring a Command Mode

The Cisco NX-OS software allows you to save the current command mode, configure a feature, and then
restore the previous command mode. The push command saves the command mode, and the pop command
restores the command mode.
The following example shows how to save and restore a command mode:
switch# configure terminal
switch(config)# event manager applet test
switch(config-applet)# push
switch(config-applet)# configure terminal
switch(config)# username testuser password newtest
switch(config)# pop
switch(config-applet)#
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
46
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface type number.subint
Example:
switch(config)# interface ethernet
2/2.1
switch(config-subif)#
Understanding the Command-Line Interface
Purpose
Enters global configuration mode.
Specifies the VLAN interface to be configured.
The CLI places you into a subinterface configuration
mode for the specified VLAN interface.
Note
The CLI prompt changes to indicate that you
are in subinterface configuration mode.

Advertisement

Table of Contents
loading

Table of Contents