Configuring additional layer 2 service vf features, Configuring private service vfs – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 400

Advertising
background image

Configuring a native VLAN in no-default-native-VLAN trunk mode

The following examples illustrate the configuration of a native VLAN in a trunk mode where the native
VLAN does not exist. The native VLAN must be explicitly created in this mode.

The following native VLAN commands are supported in this mode:

switchport trunk native-vlan-untagged
switchport trunk native-vlan-xtagged

1. Configure a trunk port without a default native VLAN, then explicitly configure the native VLAN.

switch(config)# interface te 2/1/1

switch(config-if-te-2/1/1)# switchport mode trunk-no-default-native

switch(config-if-te-2/1/1)# switchport trunk native-vlan-xtagged 10 egress tagged

2. In no-default-native-VLAN trunk mode, configure untagged native VLAN 5000 and transport VLAN

6000, and make VLAN 7000 the default VLAN.

switch(config)# interface te 2/1/1

switch(config-if-te-2/1/1)# switchport mode trunk-no-default-native

switch(config-if-te-2/1/1)# switchport trunk native-vlan-untagged 5000

switch(config-if-te-2/1/1)# switchport trunk allow vlan add 6000 ctag 100-200

switch(config-if-te-2/1/1)# switchport trunk default-vlan 7000

3. In no-default-native-VLAN trunk mode, configure transport VLAN 6000 to accept C-TAG range 100

through 200 as well as tagged or untagged native VLAN traffic..

switch(config)# interface te 2/1/1

switch(config-if-te-2/1/1)# switchport mode trunk-no-default-native

switch(config-if-te-2/1/1)# switchport trunk native-vlan-xtagged 6000 ctag 10

egress any

switch(config-if-te-2/1/1)# switchport trunk allow vlan add 6000 ctag 100-200

Configuring additional Layer 2 service VF features

This section addresses additional features that are available on trunk ports once a Virtual Fabric is
established.

Configuring private service VFs

The following examples illustrate the configuration of a variety of private VLANs (PVLANs) as service
VFs and their association on access and trunk ports.

Refer also to

PVLANs with service VFs

on page 390.

Configuring service VFs and defining and associating PVLANs

1. In global configuration mode, use the interface vlan vlan_id command to create VLAN instances

that are greater than 4095, through 8191.

switch(config)# interface vlan 5000

switch(config)# interface vlan 6000

switch(config)# interface vlan 7000

2. In VLAN configuration mode, use the private-vlan command create the three types of PVLAN.

switch(config)# interface vlan 5000

switch(conf-vlan-5000)# private-vlan primary

switch(config)# interface vlan 6000

switch(conf-vlan-6000)# private-vlan isolated

switch(config)# interface vlan 7000

switch(conf-vlan-7000)# private-vlan community

3. Using the private-vlan association command, associate the secondary PVLANs with the primary

PVLAN.

switch(config)# interface vlan 5000

switch(conf-vlan-5000)# private-vlan association add 6000

switch(conf-vlan-5000)# private-vlan association add 7000

Configuring a native VLAN in no-default-native-VLAN trunk mode

400

Network OS Administrator’s Guide

53-1003225-04

Advertising