Cisco 7604-RSP720C-R Configuration Manual page 101

Nx-os interfaces
Table of Contents

Advertisement

Chapter 3
Configuring Layer 2 Interfaces
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
3.
4.
5.
6.
7.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface {{type slot/port} |
{port-channel number}}
Example:
switch(config)# interface ethernet 3/1
switch(config-if)#
Step 3
switchport
Example:
switch(config-if)# switchport
Step 4
switchport autostate exclude
Example:
switch(config-if)# switchport autostate
exclude
Step 5
exit
Example:
switch(config-if)# exit
switch(config)#
Step 6
show running-config interface {{type
slot/port} | {port-channel number}}
Example:
switch(config)# show running-config
interface ethernet 3/1
Step 7
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to exclude a port from the VLAN interface link-up calculation on the Cisco
NX-OS device:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# switchport
switch(config-if)# switchport autostate exclude
OL-23435-03
switchport
switchport autostate exclude
exit
(Optional) show running-config interface
(Optional) copy running-config startup-config
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
Sets the interface as a Layer 2 interface.
Excludes this port from the VLAN interface link-up
calculation when there are multiple ports in the VLAN.
To revert to the default settings, use the no form of this
command.
Exits the configuration mode.
(Optional) Displays configuration information about
the specified interface.
(Optional) Copies the running configuration to the
startup configuration.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Access and Trunk Interfaces
3-19

Advertisement

Table of Contents
loading

Table of Contents