DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Specifies the interface that you want to configure.
interface type number
Step 2
Example:
The CLI places you into interface configuration mode for the
specified interface.
switch(config)# interface ethernet 2/2
switch(config-if)#
The CLI prompt changes to indicate that you are in
interface configuration mode.
Note
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
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Specifies the VLAN interface to be configured.
interface type number.subint
Step 2
Example:
switch(config)# interface ethernet 2/2.1
switch(config-subif)#
The CLI places you into a subinterface configuration mode for
the specified VLAN interface.
The CLI prompt changes to indicate that you are in
global configuration mode.
Note
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
46 OL-30890-01
Understanding the Command-Line Interface
Subinterface Configuration Command Mode