spx-port

Configures one or more SPX ports for the control bridge (CB) or a port extender (PE) unit.
Syntax
spx-port unit/slot/port [ pe-group name ]
no spx-port unit/slot/port [ pe-group name ]
Command Default

By default, no SPX port is configured. Some exceptions are noted under Usage Guidelines.

Parameters
unit/slot/port
Designates the port to be configured as an SPX port.
pe-group name
Names the PE group associated with the SPX port or LAG.
Modes

CB configuration mode

SPX configuration mode (on the CB)

Provisional-PE configuration mode

PE configuration mode

Usage Guidelines

The no form of the command removes the SPX port.

The pe-group option is available only for CB SPX ports or LAGs, not for SPX ports or LAGs on a PE unit.

SPX LAGs and SPX ports are mutually exclusive in their membership. For example, if you configure an SPX LAG containing ports 17/2/1 to 17/2/3, the system removes the configured SPX port 17/2/1. If you configure SPX port 17/2/1, the system removes the port from the SPX LAG and creates the two-port LAG 17/2/2 to 17/2/3.

The system blocks the spx-port command if executing it would make any PE unreachable.

The pe-group name option can be used in the pe-id command when assigning PE IDs. It can also be used in the show spx pe-group command to focus command output.

If you enter the spx-port command and omit the previously assigned pe-group name, the name is removed from the port, and it is replaced by the port number in display output.

When you configure spx pe-enable on a device and it enters Provisional-PE mode the first time, the device generates two SPX ports. If it has any 4 X 10-Gbps modules installed, the system generates SPX port 1/x/1 and SPX port 1/x/3, where "x" represents the lowest module number of any 4 X 10-Gbps modules installed. If no 4 X 10-Gbps module is installed, the device generates up to two SPX ports using installed 40-Gbps modules. If no 4 X 10-Gbps or 40-Gbps module is installed in the device, no SPX ports are generated.

Examples

The following example configures SPX port 1/2/2 on the CB.

device# configure terminal
device(config)# spx cb-configure
device(config-spx-cb)# spx-port 1/2/2

In the following example, the CB configures SPX port 21/2/4 as part of the reserved configuration for PE unit 21.

device# configure terminal
device(config)# spx unit 21
device(config-spx-unit-21)# spx-port 21/2/4
device(config-spx-unit-21)# exit
device(config)#
History
Release version Command history
08.0.40 This command was introduced.