Subinterface Configuration Command Mode; Saving And Restoring A Command Mode; Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Subinterface Configuration Command Mode

Command or Action
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 interfaces guide for your device.
For details about the subinterface commands, see the command reference guide for your device.
SUMMARY STEPS
1. configure terminal
2. interface type number.subint
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface type number.subint
Example:
switch(config)# interface ethernet 2/2.1
switch(config-subif)#

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.
This example shows how to save and restore a command mode:
switch# configure terminal
switch(config)# event manager applet test

Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide

40
Understanding the Command-Line Interface
Purpose
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.
The CLI prompt changes to indicate that you are in
Note
global configuration mode.
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents