max-vlan (SPX)

Configures the maximum number of VLANs of which an 802.1br port extender (PE) port can be a member.
Syntax
max-vlan value
no max-vlan value
Command Default

By default, a port can be member of up to four VLANs.

Parameters
value
Specifies the number of VLANs of which the port can be a member. The number of VLANs ranges from from 5 through 16.
Modes

Interface configuration mode

Usage Guidelines
Note: The max-vlan command is replaced beginning in FastIron release 08.0.80 by the max-vlans-per-pe-port command.
Note: This command is applicable to 802.1br PE virtual ports only. The command does not apply to physical ports.

The command allows you to add up to 128 PE ports to as many as 16 VLANs.

You can configure a higher or lower max-vlan value for the PE port. The new value must be greater than or equal to the current number of VLANs of which the port is a member.

If you try to add a PE port to more than the maximum number of allowed VLANs for that port, the system will throw an error such as “Error: maximum number of vlans allowed for PE port (x/y/z),vlans allowed (<max-vlan>) has been reached. Cannot add this port to vlan xxx."

The no form of the command restores the default number of VLANs.

Examples

The following example configures the maximum number of VLANs of which a port can be a member to 12.

device(config)# interface ethernet 17/1/1
device(config-if-e1000-17/1/1)# max-vlan 12
History
Release version Command history
08.0.40 This command was introduced.
08.0.80 This command was deprecated.