EasyManua.ls Logo

Cisco 7206 - VXR Router

Cisco 7206 - VXR Router
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com
3-13
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 3 Configuring Layer 2 Interfaces
Configuring Access and Trunk Interfaces
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
Step 5
show interface
Example:
switch# show interface
(Optional) Displays the interface status and
information.
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose

Table of Contents

Other manuals for Cisco 7206 - VXR Router

Related product manuals