Download Print this page

Configuring Private Vlans On Fex Trunk Ports - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs

Advertisement

Table of Contents

Configuring Private VLANs on FEX Trunk Ports

Command or Action
Step 4
switch(config-if)# switchport private-vlan
association trunk {primary-vlan-id}
{secondary-vlan-id}
Step 5
switch(config-if)# no switchport private-vlan
association trunk [primary-vlan-id]
This example shows how to configure Ethernet interface 1/1 as an isolated trunk port for a PVLAN and then
associate the secondary VLANs to the primary VLAN:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# switchport mode private-vlan trunk secondary
switch(config-if)# switchport private-vlan association trunk 5 100
switch(config-if)# switchport private-vlan association trunk 6 200
Configuring Private VLANs on FEX Trunk Ports
To enable a FEX HIF configured as a normal dot1q trunk port, the system private-vlan fex trunk command
must be enabled to allow this interface to forward both primary and secondary VLAN traffic. FEX trunk ports
extend the PVLAN domain to all the hosts connected to it and when configured, globally affects all FEX ports
connected to the Cisco Nexus device.
The FEX interface does not support configurations that include promiscuous ports. Also, the FEX interface
Note
does not support connections to devices that have promiscuous ports. When promiscuous functionally is
required, the device, such as a Cisco Nexus 1000V, must connect to the base ports of the Cisco Nexus
device.
You must disable all the FEX isolated trunk ports and isolated host ports before configuring PVLANs on
Caution
the FEX trunk ports. If the FEX isolated trunk ports and the FEX trunk ports are both enabled, unwanted
network traffic might occur.
Before You Begin
Ensure that the PVLAN feature is enabled.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# system private-vlan fex trunk
3. (Optional) switch(config)# copy running-config startup-config
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
64
Purpose
Associates the isolated trunk port with the primary and secondary
VLANs of a PVLAN. The secondary VLAN should be an isolated
VLAN. Only one isolated VLAN can be mapped under a given
primary VLAN.
(Optional)
Removes the PVLAN association from the port. If the
primary-vlan-id is not supplied, all PVLAN associations are
removed from the port.
Configuring Private VLANs
OL-25842-01

Advertisement

Table of Contents
loading

  Related Manuals for Cisco nexus 5000 series