Port numbers in commands, Stand-alone at-9400 switches, At-9400 stacks – Allied Telesis AT-S63 User Manual

Page 47: Stand-alone at-9400 switches at-9400 stacks

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section I: Basic Operations

47

Port Numbers in Commands

Port numbers are identified the same way in both command line
interfaces.

Stand-alone

AT-9400 Switches

To identify ports on stand-alone switches, simply enter the port numbers. If
the command supports it, you can specify more than one port. The ports
can be entered individually, as a range or both. The numbers of a range
are separated with a dash, and the individual ports and ranges are
separated with commas.

This example of the SET SWITCH PORT command from the standard
command line interface activates ports 4 and 12

set switch port=4,12 status=enabled

This command, also from the standard command line interface, displays
the statistics for ports 2 to 7, 19 and 22

show switch port=2-7,19,22 counter

This example of the INTERFACE command from the AlliedWare Plus
interface lets you enter the Interface mode for ports 12 and 22 to 24 from
where you can configure their settings:

interface 12,22-24

Though it’s not necessary, you can include the word “port” before a port
number in the AlliedWare Plus commands. When specifying more than
one port, include the word before just the first number. Here is how the
previous command looks with the word “port”:

interface port12,22-24

AT-9400 Stacks

To identify the ports on the switches in an AT-9400 Stack, include the ID
numbers of the switches as prefixes to the port numbers. (Refer to “SHOW
STACK” on page 110
to view the module ID numbers of the switches in a
stack.) Here is the format:

module ID

.

port number

This example enables port 15 and 21 on the switch with the module ID 1:

set switch port=1.15,1.21 status=enabled

To specify a range in a stack, include the module ID number with both the
starting and ending numbers. For example

show switch port=4.12-4.16

Ranges can span switches. For example:

Advertising