
Chapter 1 CLI Basics 33
Reference for the Business Policy Switch 2000 Command Line Interface
• A single port number—an integer between 1 through 28
— Example:
7 means port 7
• A range of port numbers—a pair of port numbers between 1 and 28 separated
by a dash
— Example:
1-3 means ports 1, 2, and 3
— Example:
5-27 means all ports from port 5 through port 27
• A list of port numbers and/or port ranges, separated by commas
— Example:
1,3,7 means ports 1, 3, and 7
— Example:
1-3,9-11 means ports 1, 2, 3, 9, 10, and 11
— Example:
1,3-5,9-11,15 means ports 1, 3, 4, 5, 9, 10, 11, and 15
•
none means no ports (not case-sensitive)
•
all means all the ports on the standalone BPS 2000, including any MDA
ports (not case-sensitive)
You can also use the unit/port convention discussed in “Port numbering in stacked
mode,” next, with a standalone BPS 2000 as long as the unit number is always 1.
Port numbering in stacked mode
In stacked mode, either Pure BPS 2000 Stack mode or Hybrid Stack Mode, use
the
<portlist> variable to represent the number of the unit within the stack,
followed by a forward slash (/), followed by port number(s). The unit numbers
will always be integers between 1 and 8, and the port numbers will always be
integers between 1 and 28. You can also use
none to indicate none of the ports in
the stack or all to indicate
all of the ports in the stack.
In stacked mode, use the
<portlist> variable in the following formats:
• A single port number—an integer for the unit, followed by /, and an integer
for the port number
— Example:
1/7 means unit 1 port 7
— Example:
3/24 means unit 3, port 24
• A range of port numbers—an integer for the unit, followed by /, and integers
for the port number between 1 and 28 separated by a dash
— Example:
1/1-3 means unit 1, ports 1, 2, and 3
— Example:
3/5-27 means unit 3, port 5 through port 27
Comentarios a estos manuales