spx pe-enable

Enables SPX port extender (PE) mode.
Syntax
spx pe-enable
no spx pe-enable
Command Default

PE mode is not enabled by default.

Modes

Router configuration mode

Usage Guidelines

The no form of the command disables PE mode and returns the unit to regular mode.

Note: After you enter the no form of the command, even if you have executed the write memory command to save the spx pe-enable configuration in the PE startup file, the device removes the spx pe-enable configuration from the PE startup file immediately after entering regular mode. Then, when you enter spx pe-enable and reload, the device returns an error because spx pe-enable is not configured in the startup file.

A device cannot be enabled as a PE if stacking is enabled on the unit. The command is available only on an ICX 7450 router.

A standalone unit switches between regular and Provisional-PE mode immediately when spx pe-enable is configured or removed. When a provisional PE returns to regular mode after the no spx pe-enable command is issued, the spx pe-enable configuration is immediately removed from the PE startup file if the file exists. This is to prevent accidentally reloading the unit to PE mode.

The PE can be configured once it is enabled; however, the PE configuration is not saved until the write memory command is entered, followed by the reload command.

Examples

The following example enables an ICX 7450 standalone unit and moves it to Provisional-PE mode.

device# configure terminal
device(config)# spx pe-enable
Enter provisional PE mode. CLI is limited to spx unit 1.
After finishing all configuration, please "write memory" and reload this unit to be a PE.
[Provisional-PE]ICX7450-48F Router(config)# show running-config
Current configuration:
!
ver 08.0.40b1T213
!
spx pe-enable
spx unit 1
  module 1 icx7450-48f-sf-port-management-module
  module 2 icx7400-xgf-4port-40g-module
  module 4 icx7400-qsfp-1port-40g-module
  spx-port 1/2/1
  spx-port 1/2/3
!
end

[Provisional-PE]device(config)# write memory
Flash Memory Write (118 bytes)
[Provisional-PE]device(config)#
Write spx_pe.boot done.

[Provisional-PE]device(config)# exit
[Provisional-PE]device# reload
Are you sure? (enter 'y' or 'n'): y


The following example shows a provisional PE that returns to regular mode after the no spx pe-enable is entered.

device# configure terminal
device(config)# spx pe-enable
Enter provisional PE mode. CLI is limited to spx unit 1.
After finishing all configuration, please "write memory" and reload this unit to be a PE.
[Provisional-PE]device(config)# write memory
Flash Memory Write (118 bytes)
[Provisional-PE]device(config)#
Write PE startup file done.

[Provisional-PE]device(config)# no spx pe-enable
Leave provisional PE mode. Spx unit 1 configuration becomes invisible.
device(config)#

[ Note: the device immediately removes “spx pe-enable” from the PE startup file. ]

device(config)# spx pe-enable
Enter provisional PE mode. CLI is limited to spx unit 1.
After finishing all configuration, please "write memory" and reload this unit to be a PE.
[Provisional-PE]ICX7450-48F Router(config)# end
[Provisional-PE]ICX7450-48F Router# reload
Error! provisional PE can only reload to PE mode, but boot file has no "spx pe-enable".
Please do "write memory" and try again, or "no spx pe-enable" to go back to switch/router mode.


History
Release version Command history
08.0.40 This command was introduced.