max-vlans-per-pe-port (SPX)
By default, four VLANs are reserved per PE port, and the number of allowable VLANs per PE port is 32.
CB configuration sub-mode
The
no version of the command resets the allowable VLANs per PE port to 32.
The command replaces the
max-vlans command in PE interface mode, which is deprecated in FastIron release 08.0.80.
This command is used to change the allowed number of VLANs per PE port from the default. Addition of PE ports into more than 4 VLANs is dependent on availability of PE port VLAN resources.
The global pool contains 4096 potential entries. Use the
show spx pe-port-vlan-resource command to check how many entries are available.
The current non-default setting for
max-vlans-per-pe-port is included in
show running-config command output.
An error message is displayed in the following cases:
- You attempt to configure more than the maximum number of VLANs for a PE port.
- The PE port VLAN global pool is empty when you try to configure a VLAN for a PE port.
- A hash collision occurs when you attempt to configure a VLAN for a PE port.
- You have configured a
max-vlans-per-pe portvalue and then try it set it to a value lower than the maximum VLANs that PE ports are currently configured as part of.
The following example increases the maximum allowable VLANs per PE port to 64.
device# configure terminal device(config)# spx cb-config device(config-spx-cb)# max-vlans-per-pe-port 64 device(config-spx-cb)# end device#
| Release version | Command history |
|---|---|
| 08.0.80 | This command was introduced. |