Configuring An Isolated Trunk Port - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Private VLANs
Command or Action
Step 5
switch(config-if)# no switchport private-vlan
mapping trunk [primary-vlan-id]
This example shows how to configure Ethernet interface 1/1 as a promiscuous trunk port for a PVLAN and
then map the secondary VLANs to the primary VLAN:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# switchport mode private-vlan trunk promiscuous
switch(config-if)# switchport private-vlan mapping trunk 5 100
switch(config-if)# switchport private-vlan mapping trunk 5 200
switch(config-if)# switchport private-vlan mapping trunk 6 300

Configuring an Isolated Trunk Port

In a PVLAN domain, isolated trunks are part of a secondary VLAN. Isolated trunk ports can carry multiple
isolated VLANs. Only one isolated VLAN under a given primary VLAN can be associated to an isolated
trunk port. Configuring an isolated trunk port involves two steps. First, you define the port as an isolated trunk
port and then you configure the association between the isolated and primary VLANs. Multiple isolated
VLANs can be enabled by configuring multiple associations.
Before You Begin
Ensure that the PVLAN feature is enabled.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type [chassis/]slot/port
3. switch(config-if)# switchport mode private-vlan trunk [secondary]
4. switch(config-if)# switchport private-vlan association trunk {primary-vlan-id} {secondary-vlan-id}
5. (Optional) switch(config-if)# no switchport private-vlan association trunk [primary-vlan-id]
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type [chassis/]slot/port
Step 3
switch(config-if)# switchport mode private-vlan
trunk [secondary]
OL-25842-01
Purpose
(Optional)
Removes the PVLAN mapping from the port. If the
primary-vlan-id is not supplied, all PVLAN mappings are removed
from the port.
Purpose
Enters global configuration mode.
Selects the port to configure as a PVLAN isolated trunk port. This
port can be on a FEX (identified by the chassis option).
Configures the port as a secondary trunk port for a PVLAN.
Note
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring an Isolated Trunk Port
The secondary keyword is assumed if it is not
present.
63

Advertisement

Table of Contents
loading

Table of Contents