beautypg.com

Cli example for a general pvlan network – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 418

background image

CLI example for a general PVLAN network

To configure the PVLANs shown in

Figure 91

on page 411, enter the following commands.

device(config)# vlan 901

device(config-vlan-901)# untagged ethernet 3/5 to 3/6

device(config-vlan-901)# pvlan type community

device(config-vlan-901)# exit

device(config)# vlan 902

device(config-vlan-902)# untagged ethernet 3/9 to 3/10

device(config-vlan-902)# pvlan type isolated

device(config-vlan-902)# exit

device(config)# vlan 903

device(config-vlan-903)# untagged ethernet 3/7 to 3/8

device(config-vlan-903)# pvlan type community

device(config-vlan-903)# exit

device(config)# vlan 7

device(config-vlan-7)# untagged ethernet 3/2

device(config-vlan-7)# pvlan type primary

device(config-vlan-7)# pvlan mapping 901 ethernet 3/2

device(config-vlan-7)# pvlan mapping 902 ethernet 3/2

device(config-vlan-7)# pvlan mapping 903 ethernet 3/2

CLI example for a PVLAN network with switch-switch link ports

To configure the PVLANs with tagged switch-switch link ports as shown in

Figure 93

on page 413,

enter the following commands.

FCX Switch 1

device(config)# vlan 101 by port

device(config-vlan-101)# untagged ethernet 1/1/3

device(config-vlan-101)# pvlan type isolated

device(config)# vlan 102 by port

device(config-vlan-102)# untagged ethernet 1/1/1 to 1/1/2

device(config-vlan-102)# pvlan type community

device(config)# vlan 100 by port

device(config-vlan-100)# tagged ethernet 1/1/10 to 1/1/11

device(config-vlan-100)# untagged ethernet 1/1/4

device(config-vlan-100)# pvlan type primary

device(config-vlan-100)# pvlan mapping 101 ethernet 1/1/4

device(config-vlan-100)# pvlan mapping 102 ethernet 1/1/4

device(config-vlan-100)# pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11

device(config-vlan-100)# pvlan pvlan-trunk 102 ethernet 1/1/10 to 1/1/11

FCX Switch 2

device(config)# vlan 101 by port

device(config-vlan-101)# untagged ethernet 1/1/3

device(config-vlan-101)# pvlan type isolated

device(config)# vlan 102 by port

device(config-vlan-102)# untagged ethernet 1/1/1 to 1/1/2

device(config-vlan-102)# pvlan type community

device(config)# vlan 100 by port

device(config-vlan-100)# tagged ethernet 1/1/10 to 1/1/11

device(config-vlan-100)# pvlan type primary

device(config-vlan-100)# pvlan pvlan-trunk 102 ethernet 1/1/10 to 1/1/11

device(config-vlan-100)# pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11

FCX Switch 3

device(config)# vlan 101 by port

device(config-vlan-101)# untagged ethernet 1/1/3

device(config-vlan-101)# pvlan type isolated

device(config)# vlan 102 by port

device(config-vlan-102)# untagged ethernet 1/1/1 to 1/1/2

device(config-vlan-102)# pvlan type community

device(config)# vlan 100 by port

device(config-vlan-100)# tagged ethernet 1/1/10 to 1/1/11

CLI example for a general PVLAN network

418

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04