Configuring physical interfaces – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 401

Configuring physical interfaces
1. Create classification rules for the primary and secondary VLAN at the respective primary and host
ports.
The classification must be done before the primary-to-secondary VLAN associations are specified. In
following example, the same C-TAG is used to classify the primary and secondary VLANs.
Interface te 1/0/1 is a primary trunk port.
switch(config)# interface te 1/0/1
switch(conf-if-te-1/0/1)# switchport mode private-vlan trunk promiscuous
switch(conf-if-te-1/0/1)# switchport trunk allow vlan add 5000 ctag 10
Interface te 1/0/2 is an isolated trunk port.
switch(config)# interface te 1/0/2
switch(conf-if-te-1/0/2)# switchport mode private-vlan trunk host
switch(conf-if-te-1/0/2)# switchport trunk allow vlan add 6000 ctag 10
Interface te 0/3 is a community trunk port.
switch(config)# interface te 1/0/3
switch(conf-if-te-1/0/3)# switchport mode private-vlan trunk host
switch(conf-if-te-1/0/3)# switchport trunk allow vlan add 7000 ctag 10
2. Configure the PVLAN association on the promiscuous trunk port.
switch(config)# interface te 1/0/1
switch(conf-if-te-1/0/1)# switchport mode private-vlan trunk promiscuous
switch(conf-if-te-1/0/1)# switchport trunk allowed vlan add 400
switch(conf-if-te-1/0/1)# switchport trunk allowed vlan add 5000 ctag 10
switch(conf-if-te-1/0/1)# switchport private-vlan mapping 5000 add 6000
switch(conf-if-te-1/0/1)# switchport private-vlan mapping 5000 add 7000
3. Configure the PVLAN association on the promiscuous access port.
switch(config)# interface te 1/1/1
switch(conf-if-te-1/1/1)# switchport mode private-vlan promiscuous
switch(conf-if-te-1/1/1)# switchport private-vlan mapping 5000 add 6000
switch(conf-if-te-1/1/1)# switchport private-vlan mapping 5000 add 7000
4. Configure the isolated PVLAN on the trunk port.
switch(config)# interface te 1/0/2
switch(conf-if-te-1/0/2)# switchport mode private-vlan trunk host
switch(conf-if-te-1/0/2)# switchport private-vlan host-association 5000 6000
5. Configure the isolated PVLAN on the access port.
switch(config)# interface te 1/1/2
switch(conf-if-te-1/1/2)# switchport mode private-vlan host
switch(conf-if-te-1/1/2)# switchport private-vlan host-association 5000 6000
6. Configure the community PVLAN on the trunk port.
switch(config)# interface te 1/0/3
switch(conf-if-te-1/0/3)# switchport mode private-vlan trunk host
switch(conf-if-te-1/0/3)# switchport trunk allowed vlan add 7000 ctag 10
switch(conf-if-te-1/0/3)# switchport private-vlan host-association 5000 7000
7. Configure the community PVLAN on the access port.
switch(config)# interface te 1/1/3
switch(config-if-te-1/1/3)# switchport mode private-vlan host
switch(config-if-te-1/1/3)# switchport mode private-vlan host 5000 7000
8. Configure the PVLAN trunk port.
switch(config)# interface te 1/4/1
switch(conf-if-te-1/4/1)# switchport private-vlan trunk allowed vlan add 5000 ctag
10
switch(conf-if-te-1/4/1)# switchport private-vlan trunk allowed vlan add 6000 ctag
20
switch(conf-if-te-1/4/1)# switchport private-vlan trunk allowed vlan add 7000 ctag
30
switch(conf-if-te-1/4/1)# switchport mode private-vlan trunk
The trunk port can have both PVLAN and regular VF configurations. The following configures PVLAN
VFs.
switch(conf-if-te-1/4/1)# switchport trunk allowed vlan add 5000 ctag 10
switch(conf-if-te-1/4/1)# switchport trunk allowed vlan add 6000 ctag 10
switch(conf-if-te-1/4/1)# switchport trunk allowed vlan add 6000 ctag 10
switch(conf-if-te-1/4/1)# switchport private-vlan association trunk 5000 6000
switch(conf-if-te-1/4/1)# switchport private-vlan association trunk 5000 7000
Configuring physical interfaces
Network OS Administrator’s Guide
401
53-1003225-04