|
|
There are four basic types of values used in keyword-value pairs in a router configuration. They are label, number, IP address, and string. Each type is described below.
| Value Type | Description |
|---|---|
A label is a string of letters, underscores, dashes, and/or numbers with no spaces. Keywords which expect labels are documented with all allowed labels. For example, the Mode keyword for IP configurations can have a label value of Routed, Bridged, or Off. Keywords with Boolean values will accept any version, such as On/Off, True/False, 1/0, or Yes/No. | |
A number value may be entered as a decimal number or as a hexadecimal number preceded by 0x. Some numbers (e.g., IPX network numbers) must be hexadecimal and do not need a leading 0x. | |
An IP address is entered in dotted decimal notation (e.g., 192.116.12.1) where each 1- to 3- digit number is between 0 and 255. | |
A string consists of a sequence of allowed characters and recognized escape sequences enclosed in double quotes. The allowed characters are all printable ASCII characters except for the backslash (\) and double quote (") characters. See the "Special Formatting" section for a description of special text sequences you can enter. |
Some keyword values may be a combination of more than one of the above types. In these cases, the different values are separated by whitespace. In order for a string to be differentiated in this case, the entire string should be enclosed in double quotes.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Sep 27 10:17:56 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.