Cisco Nexus 5500 Series Command Reference Manual page 239

Nx-os layer 2 interfaces command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Chapter
S Commands
switchport mode private-vlan host
To set the interface type to be a host port for a private VLAN, use the switchport mode private-vlan
host command. To remove the configuration, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Interface configuration mode
Virtual Ethernet interface configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
When you configure a port as a host private VLAN port and one of the following applies, the port
becomes inactive:
If you delete a private VLAN port association or if you configure a private port as a SPAN destination,
the deleted private VLAN port association or the private port that is configured as a SPAN destination
becomes inactive.
We recommend that you enable spanning tree BPDU Guard on all private VLAN host ports.
Note
Examples
This example shows how to set a port to host mode for private VLANs:
switch(config-if)# switchport mode private-vlan host
This example shows how to set a virtual Ethernet interface port to host mode for private VLANs:
switch# configure terminal
switch(config)# interface vethernet 1
switch(config-if)# switchport mode private-vlan host
switch(config-if)#
OL-27880-02
switchport mode private-vlan host
no switchport mode
Modification
This command was introduced.
The port does not have a valid private VLAN association configured.
The port is a Switched Port Analyzer (SPAN) destination.
The private VLAN association is suspended.
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
switchport mode private-vlan host
1233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents