Cisco N7K-C7010 Configuration Guide - Page 101
switchport, switchport autostate exclude, Optional show running-config interface
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 101 highlights
Chapter 3 Configuring Layer 2 Interfaces Configuring Access and Trunk Interfaces Send document comments to [email protected] 3. switchport 4. switchport autostate exclude 5. exit 6. (Optional) show running-config interface 7. (Optional) copy running-config startup-config DETAILED STEPS Step 1 Command configure terminal Purpose Enters configuration mode. Step 2 Example: switch# configure terminal switch(config)# interface {{type slot/port} | {port-channel number}} Step 3 Example: switch(config)# interface ethernet 3/1 switch(config-if)# switchport Specifies an interface to configure, and enters interface configuration mode. Sets the interface as a Layer 2 interface. Step 4 Step 5 Example: switch(config-if)# switchport switchport autostate exclude Example: switch(config-if)# switchport autostate exclude exit 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. Step 6 Example: switch(config-if)# exit switch(config)# show running-config interface {{type slot/port} | {port-channel number}} Step 7 Example: switch(config)# show running-config interface ethernet 3/1 copy running-config startup-config Example: switch(config)# copy running-config startup-config (Optional) Displays configuration information about the specified interface. (Optional) Copies the running configuration to the startup configuration. 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 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-19