set stack unit-type
To configure the unit type of a stack member , use the set stack unit-type Privileged EXEC mode command.
set stack unit-type unit unit-id network network-type uplink uplink-type
Parameters
-
unit unit-id - Define the unit ID to apply setting. (Range: 1–8)
-
network network-type - The type of network ports of the unit. Supported values are:
-
gi (for device for which all network ports types are Gigabitethernet)
-
tw (for device for which all network ports types are TwoPointFiveGigabitEthernet).
-
te (for device for which all network ports typs are Tengigabitethernet).
-
-
uplink uplink-type - The type of uplink ports of the unit. Supported values are:
-
te (for device with Tengigabitethernet uplink ports)
-
none (for devices with no uplink ports)
-
Default Configuration
User defined type is not configured
Command Mode
Privileged EXEC mode
User Guidelines
Use the set stack unit-type command to define the type of "not-present" stack units (see below). The type of unit in stack defines the type of interface naming for this unit and determines which interface level commands can be applied.
If a unit is present or inserted in a stack, the unit type is automatically set by the software to the type of unit identified. If unit that was present is subsequently removed from stack the unit will become "not-present" but retain the existing unit type. If a unit is "not-present", and there is no previous type identified (unit did not exist previously in stack), its unit type is automatically set to the same unit type as the Active unit.
-
if network port type is set to te, uplink port type must be set to none.
-
if network port type is set to gi or tw , uplink port type must be set to te.
-
If the command is applied to a unit which is present in stack, command will fail with the following error message: "Unit ID X is present in stack - cannot manually set unit type"
-
The unit-type of each unit is saved across reboots and displayed as part of configuration file header in the following format: "unit-type unit X network network-type uplink uplink-type"
Examples
Example 1—The following example sets the unit type of unit 3.
switchxxxxxx# set stack unit-type unit 3 network gi uplink te