Cisco N7K-C7010 Configuration Guide - Page 95
Configuring Trunk Ports
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
Chapter 3 Configuring Layer 2 Interfaces Configuring Access and Trunk Interfaces Send document comments to [email protected] Step 5 Command show interface Step 6 Example: switch# show interface copy running-config startup-config Example: switch(config)# copy running-config startup-config Purpose (Optional) Displays the interface status and information. (Optional) Copies the running configuration to the startup configuration. This example shows how to set Ethernet 3/1 as a Layer 2 access port with PortFast enabled and port channel disabled: switch# configure terminal switch(config)# interface ethernet 3/1 switch(config-if)# switchport host switch(config-if)# Configuring Trunk Ports You can configure a Layer 2 port as a trunk port. A trunk port transmits untagged packets for one VLAN plus encapsulated, tagged, packets for multiple VLANs. (See the "IEEE 802.1Q Encapsulation" section on page 3-4 for information about encapsulation.) Note The device supports 802.1Q encapsulation only. BEFORE YOU BEGIN Before you configure a trunk port, ensure that you are configuring a Layer 2 interface. SUMMARY STEPS 1. configure terminal 2. interface {type slot/port | port-channel number} 3. switchport mode {access | trunk} 4. exit 5. (Optional) show interface 6. (Optional) copy running-config startup-config OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 3-13