EasyManua.ls Logo

Cisco Nexus 5000 Series - Configuring Access Host Ports

Cisco Nexus 5000 Series
660 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 feedback to nx5000-docfeedback@cisco.com
1-5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Access and Trunk Interfaces
Configuring Access and Trunk Interfaces
This example shows how to set Ethernet 1/10 as an Ethernet access port that carries traffic for VLAN 5
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
Note You should apply the switchport host command only to interfaces connected to an end station.
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 port channeling on that
interface.
Note See Chapter 1, “Configuring Port Channels” for information on port channel interfaces and Chapter 1,
“Configuring Rapid PVST+” for complete information on the Spanning Tree Protocol.
Ensure that you are configuring the correct interface to an interface that is an end station.
To configure an access host port, perform this task:
Step 3
switch(config-if)# switchport mode
{access | trunk}
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.
Step 4
switch(config-if)# switchport access
vlan vlan-id
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.
Command Purpose
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type
slot/port
Specifies an interface to configure, and enters interface
configuration mode.
Step 3
switch(config-if)# switchport host
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.
Note Apply this command only to end stations.

Table of Contents

Other manuals for Cisco Nexus 5000 Series

Related product manuals