beautypg.com

Vlan-profile (ampp), N-profile (ampp) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1401

background image

Network OS Command Reference

1363

53-1003115-01

vlan-profile (AMPP)

2

vlan-profile (AMPP)

Activates the VLAN profile mode for AMPP.

Synopsis

vlan-profile

no vlan-profile

Operands

None

Defaults

None

Command Modes

Port-profile configuration mode

Description

Use this command to activate the VLAN profile mode for AMPP. This mode allows configuration of
VLAN attributes of a port-profile.

Usage Guidelines

Enter no vlan-profile to delete the profile.

Examples

To create a basic VLAN profile supporting 802.1Q VLANs:

switch(config)# port-profile my_profile

switch(conf-port-profile-my_profile)# vlan-profile

The following illustrates the creation of port-profiles and vlan-profiles with switchport
configurations illustrating VLAN classifications in a Virtual Fabrics context:

sw0(config)# port-profile pp100

sw0(config-port-profile-pp100)# vlan-profile

sw0(config-vlan-profile)# switchport

sw0(config-vlan-profile)# switchport access vlan 5001 mac 1.1.1

sw0(config-vlan-profile)# switchport access vlan 5002 mac 1.1.2

sw0(config-vlan-profile)# switchport access vlan 5001 mac-group 11

sw0(config-vlan-profile)# port-profile pp101

sw0(config-port-profile-pp101)# vlan-profile

sw0(config-vlan-profile)# switchport

sw0(config-vlan-profile)# switchport mode trunk

sw0(config-vlan-profile)# switchport trunk allowed vlan add 5004 ctag 11

sw0(config-vlan-profile)# switchport trunk allowed vlan add 5005 ctag 12

sw0(config-vlan-profile)# switchport trunk native-vlan 5006 ctag 13

See Also

None