beautypg.com

Configuring an interface as a pvlan trunk port, Displaying pvlan information – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 367

background image

Configuring a tagged PVLAN host port.

switch(conf-if-te-0/1)# switchport mode private-vlan trunk host

Configuring a tagged PVLAN host port.

switch(conf-if-te-0/1)# switchport mode private-vlan host

4. Configure the interface as a PVLAN host port that is untagged.

switch(conf-if-te-0/1)# switchport mode private-vlan host

5. Associate the interface with a PVLAN.

switch(conf-if-te-0/1)# switchport private-vlan host-association 10 100

Configuring an interface as a PVLAN trunk port

This procedure configures an interface as a PVLAN trunk port.

1. Specify the interface.

switch(config)# interface tengigabitethernet 0/1

2. Mark the interface as switch port.

switch(conf-if-te-0/1)# switchport

3. Configure the interface as a PVLAN trunk port.

Do not complete this step if the host is a plain, untagged server.

switch(conf-if-te-0/1)# switchport mode private-vlan trunk

4. Configure the association between primary VLANs and secondary VLANs and the PVLAN trunk port

with a PVLAN.

NOTE
Multiple PVLAN pairs can be specified using this command so that a PVLAN trunk port can carry
multiple secondary VLANs. If an association is specified for the existing primary VLAN, the existing
association is replaced. If there is no trunk association, any packets received on secondary VLANs
are dropped.

switch(conf-if-te-0/1)# switchport private-vlan association trunk 10 100

5. Configure a normal VLAN on the PVLAN trunk port.

switch(conf-if-te-0/1)# switchport private-vlan trunk allowed vlan 100

6. Configures a VLAN to which untagged packets (as in IEEE 802.1Q tagging) are assigned on a

PVLAN trunk port. If there is no native VLAN configured, all untagged packets are dropped. If the
native VLAN is a secondary VLAN and the port does not have the association for the secondary
VLAN, the untagged packets are dropped.

switch(conf-if-te-0/1)# switchport private-vlan trunk native vlan 100

Displaying PVLAN information

To display private VLAN information, use the show vlan private-vlan command.

Configuring an interface as a PVLAN trunk port

Network OS Administrator’s Guide

367

53-1003225-04