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.
| Parameter | Description |
|---|---|
| ipaddr |
This parameter is a valid IPv4 address. You can enter the IP address in the following formats:
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):
|
| ipv6-addr |
This parameter is a valid IPv6 address. You can enter the IP address in the following formats:
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. |