max-vlans-per-pe-port (SPX)

Configures number of VLANs allowed per PE port in a Campus Fabric system.
Syntax
max-vlans-per-pe-port { number-allowed-vlans }
no max-vlans-per-pe-port
Command Default

By default, four VLANs are reserved per PE port, and the number of allowable VLANs per PE port is 32.

Parameters
number-allowed-vlans
Number of VLANs allowed per PE port. The range of valid values is 5 through 1024 (decimal).
Modes

CB configuration sub-mode

Usage Guidelines

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 port value and then try it set it to a value lower than the maximum VLANs that PE ports are currently configured as part of.

Examples

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#

The following example derives the max-vlan-per-pe-port value from show running-config output.

device# show running-config | i max-vlans-per-pe-port
  max-vlans-per-pe-port 1024
device#
History
Release version Command history
08.0.80 This command was introduced.