Configuring A Lan Interface As An Ethernet Access Port; Configuring Access And Trunk Interfaces; Configuring Access Host 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 Access and Trunk Interfaces

The vlan dot1q tag native command is enabled on global basis.
Note
Configuring Access and Trunk Interfaces

Configuring a LAN Interface as an Ethernet Access Port

You can configure an Ethernet interface as an access port. An access port transmits packets on only one,
untagged VLAN. You specify which VLAN traffic that the interface carries. If you do not specify a VLAN
for an access port, the interface carries traffic only on the default VLAN. The default VLAN is VLAN1.
The VLAN must exist before you can specify that VLAN as an access VLAN. The system shuts down an
access port that is assigned to an access VLAN that does not exist.
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to set an interface as an Ethernet access port that carries traffic for a specific VLAN
only:
switch# configure terminal
switch(config)# interface ethernet 1/10
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan 5

Configuring Access Host Ports

You can optimize performance on access ports that are connected to end stations by simultaneously setting
that port as an access port. An access host port handles the Spanning Tree Protocol (STP) like an edge port
and immediately moves to the forwarding state without passing through the blocking and learning states.
Configuring an interface as an access host port also disables EtherChannel on that interface.
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# interface {{type
slot/port} | {port-channel
number}}
switch(config-if)# switchport
mode {access | trunk}
switch(config-if)# switchport
access vlan vlan-id
Configuring a LAN Interface as an Ethernet Access Port
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface
configuration mode.
Sets the interface as a nontrunking nontagged single-VLAN
Ethernet interface. An access port can carry traffic in one
VLAN only. By default, an access port carries traffic for
VLAN1; to set the access port to carry traffic for a different
VLAN, use the switchport access vlan command.
Specifies the VLAN for which this access port will carry
traffic. If you do not enter this command, the access port
carries traffic on VLAN1 only; use this command to change
the VLAN for which the access port carries traffic.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
105

Advertisement

Table of Contents
loading

Table of Contents