|
2-2 CHAPTER 2: CLI COMMAND CONVENTIONS AND TERMINOLOGY The type of value you enter must match the type requested. Numbers areeither decimal or hexadecimal. Text can be either a string that you create, or itmay be a list of options you must choose from. When choosing an option, typethe text of the option exactly.Names or Strings “Double quotation marks” set off user-defined strings. If you want white spaceor special characters in a string, it must be enclosed by “double quotationmarks”.Network Address FormatsMany commands require a network address, to define a link to a remote host,workstation or network. Network addresses are shown in this document using thesyntax described in the following table:Abbreviation andCommandCompletion Commands can be abbreviated if arguments you write are unique.For example, you can type se vc jay pa bird, short for: set vc jay passwordbird is acceptable, but se vc jay i 222.111.111.111 isn’t unique because i canstand for ip, ip_routing, or ip_source_validation. As a convention, some commands illustrated in this manual are abbreviatedand annotated as such (abbr.) for brevity.Also, some parameters are omitted in examples because they default tostandard values and do not require entry, or are unnecessary for commonconfiguration. See the CLI Reference section for more details. Command completion finishes spelling a unique, abbreviated parameter foryou just by pressing the key. It’s handy when you’re in a hurry or uncertainabout a command. For example, if you type add ip n[ESC], it will spell out thekeyword network without losing your place in the command syntax.Control Characters Commands can be retrieved by typing p [^p] (for previous) and n[^n] (for next). Command retrieval consults the history of previous fully enteredcommands, defaulting at the last ten commands. If an error occurs while a command is processing, any partial command (up toand including the field in error) is added to the history list. The current command can be killed by pressing c [^ c]. A partially completed command line can be reprinted - a useful function if, dueto interrupted output, you’re unsure what the OCR 812 has “seen” up to now- by pressing l [^ l] (for last).Help Help is general or positional. Type help > to get a cursory list ofassociated commands and its syntax. Type ? to get moreextensive, positional help for a particular field.Address Type Format RangeIP_address a.b.c.d 0.0.0.0 to 255.255.255.255(decimal)ip_net_address a.b.c.d/mask 255.255.255.255/A,B,C,Hmac_address xx:xx:xx:xx:xx:xx hexadecimal digit pairs
PreviousNext |