max-vlan (SPX)
By default, a port can be member of up to four VLANs.
Interface configuration mode
max-vlans-per-pe-port command.
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.
| Release version | Command history |
|---|---|
| 08.0.40 | This command was introduced. |
| 08.0.80 | This command was deprecated. |