Mode Examples
Consider the following examples to change configuration mode:
XSR>enable
XSR#config terminal
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip address 192.168.2.2.255.255.255.0
+
Sets up the IP address and subnet mask for this FastEthernet port
XSR(config-if<F1>)#exit
XSR(config)#exit
XSR#disable
+
XSR>
Returned to EXEC mode by previous command
Note: In many cases, you are not required to exit from a mode to configure a command in another
mode.
Observing Command Syntax and Conventions
The CLI command syntax and conventions on the XSR use the notation described below.
Table 2-4 Command Syntax and Conventions
Convention
xyz
[x]
[x | y | z]
{x | y | z}
[x {y | z} ]
(config-if<xx>)
In the following example:
show interface [dialer | fastEthernet/gigabitethernet | loopback | serial | bri |
multilink | vpn {interface-number}]
show
•
and
•
[
dialer
{
interface-number
Syntactically, each line begins with one or more command keywords followed by a list of
mandatory values (if any) and, lastly, a list or optional values. For example, the command below:
channel-group number timeslots range [speed {56 | 64}]
has a mandatory parameter value
timeslots range
+
Acquires Privileged EXEC mode
+
Acquires Global configuration mode
+
Quits Interface mode
+
Quits Global mode
+
Quits Privileged EXEC mode
Description
Key word or mandatory parameters (bold)
[ ] Square brackets indicate an optional parameter (italic)
[ | ] Square brackets with vertical bar indicate a choice of values
{ | } Braces with vertical bar indicate a choice of a required value
[{ | } ] Combination of square brackets with braces and vertical bars indicates a
required choice of an optional parameter
xx signifies the interface type; e.g., F1, G3, S2/1.0, D1, L0, BRI, PRI (T1/E1,
T3/E3, ATM), VPN, etc.
interface
are keywords
,
fastEthernet
,
gigabitethernet
}] are optional parameters
, an optional value offered as a keyword
+
Acquires Interface mode
,
loopback
number,
a mandatory parameter keyword and value pair
Utilizing the Command Line Interface
,
serial
,
bri
,
multilink
speed
and value options of
XSR User's Guide 2-15
,
vpn
and
56
or
64
.
Need help?
Do you have a question about the Security Router X-PeditionTM and is the answer not in the manual?
Questions and answers