Configuring Access Host Ports - Cisco Nexus 3000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for Nexus 3000 series:
Table of Contents

Advertisement

Configuring Access and Trunk Interfaces
Command or Action
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

By using switchport host, you can make an access port a spanning-tree edge port, and enable bpdu filtering
and bpdu guard at the same time.
Before You Begin
Ensure that you are configuring the correct interface; it must be an interface that is connnected to an end
station.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type slot/port
3. switch(config-if)# switchport host
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# switchport host
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
Purpose
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface configuration
mode.
Sets the interface to spanning-tree port type edge, turns on bpdu
filtering and bpdu guard.
Note
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
Configuring Access Host Ports
Apply this command only to switchports which connect to
hosts.
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents