Common parameter values

Parameter values can be names or numbers, and common parameter types such as IP addresses, interfaces, and character strings each use a specific format.

Parameter values (that is, argument values) might be names (strings) or numbers. To use spaces as part of a name parameter, enclose the name value in double quotes. For example, the expression “System Name with Spaces” forces the system to accept the spaces. Empty strings (“”) are not valid user-defined strings. The following table describes common parameter values and value formatting.

Table 1. Parameter Descriptions
Parameter Description
ipaddr

This parameter is a valid IPv4 address. You can enter the IP address in the following formats:

  • a (32 bits)
  • a.b (8.24 bits)
  • a.b.c (8.8.16 bits)
  • a.b.c.d (8.8.8.8)

In addition to these formats, the CLI accepts decimal, hexadecimal and octal formats through the following input formats (where n is any valid hexadecimal, octal or decimal number):

  • 0xn (CLI assumes hexadecimal format.)
  • 0n (CLI assumes octal format with leading zeros.)
  • n (CLI assumes decimal format.)
ipv6-addr

This parameter is a valid IPv6 address. You can enter the IP address in the following formats:

  • FE80:0000:0000:0000:020F:24FF:FEBF:DBCB
  • FE80:0:0:0:20F:24FF:FEBF:DBCB
  • FE80::20F24FF:FEBF:DBCB
  • FE80:0:0:0:20F:24FF:128:141:49:32

For additional information, refer to RFC 3513.

M4250 series switch: Interface or slot/port Valid slot and port number separated by a forward slash. The slot is always 0. For example, 0/1 represents port number 1.
M4350 series switch: Interface or unit/slot/port Valid unit, slot, and port number separated by forward slashes. The unit refers to a stacking configuration. If no stack is configured, the unit is always 0. The slot is always 0. For example, in a switch that is not a member of a stack, 1/0/1 represents port number 1.
Logical Interface Represents a logical port number. This is applicable in the case of a port-channel (LAG). You can use the logical unit/slot/port to configure the port-channel.
Character strings Use double quotation marks to identify character strings, for example, “System Name with Spaces”. An empty string (“”) is not valid.