Documentation convention for the port variable

Commands that require you to enter one or more port numbers on the switch use the parameter {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} in the syntax. The following table specifies the rules for using {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}.

Syntax

How to use

{slot/port[/sub-port]}

Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

For example, 1/1 indicates the first port on slot 1. 1/41/1 indicates the first channel on slot 1, port 41.

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

For example, 1/1–1/3 indicates ports 1 to 3 on slot 1, or 1/41/1,1/41/3 indicates the first and third channels of slot 1, port 41.