Configuring Trunk Ports - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring Trunk Ports

Before You Begin
Ensure that you are configuring the correct interface; it must be an interface that is connnected to an end
station.
Procedure
Step 1
Step 2
Step 3
This example shows how to set an interface as an Ethernet access host port with EtherChannel disabled:
switch# configure terminal
switch(config)# interface ethernet 1/10
switch(config-if)# switchport host
Configuring Trunk Ports
You can configure an Ethernet port as a trunk port; a trunk port transmits untagged packets for the native
VLAN plus encapsulated, tagged, packets for multiple VLANs.
Note
Cisco NX-OS supports only 802.1Q encapsulation.
To configure a trunk port, perform this task:
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
106
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# switchport host
Command or Action
switch# configure terminal
switch(config)# interface {type
slot/port | port-channel number}
switch(config-if)# switchport
mode {access | trunk}
Configuring Access and Trunk Interfaces
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
Sets the interface to be an access host port, which
immediately moves to the spanning tree forwarding state
and disables port channeling on this interface.
Apply this command only to end
Note
stations.
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
Sets the interface as an Ethernet trunk port. A trunk port can
carry traffic in one or more VLANs on the same physical
link (VLANs are based on the trunk-allowed VLANs list).
By default, a trunk interface can carry traffic for all VLANs.
To specify that only certain VLANs are allowed on the
specified trunk, use the switchport trunk allowed vlan
command.
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents