Reference Guide
line (alias)
Congures the commands to be executed in a multi-line alias.
Syntax
line nn command
Parameters
• nn — Enter the line number (1 to 99). The commands are executed in the order of the line numbers.
• command — Enter the command to be executed enclosed in double quotes.
Default Not congured
Command Mode ALIAS
Usage Information The no version of this command removes the line number and the corresponding command from the multi-line
alias.
Example
OS10(config)# alias mTest
OS10(config-alias-mTest)# line 1 "interface $1 $2"
OS10(config-alias-mTest)# line 2 "no shutdown"
OS10(config-alias-mTest)# line 3 "show configuration"
Supported Releases 10.4.0E(R1) or later
lock
Locks the candidate conguration and prevents any conguration changes on any other CLI sessions, either in transaction or non-
transaction-based conguration mode.
Syntax
lock
Parameters None
Default Not congured
Command Mode EXEC
Usage Information The lock command fails if there are uncommitted changes in the candidate conguration.
Example
OS10# lock
Supported Releases 10.2.0E or later
management route
Congures an IPv4/IPv6 static route used by the Management port. Repeat the command to congure multiple management routes.
Syntax
management route {ipv4-address/mask | ipv6-address/prefix-length} {forwarding-
router-address | managementethernet}
Parameters
• ipv4-address/mask — Enter an IPv4 network address in dotted-decimal format (A.B.C.D), then a subnet
mask in /prex-length format (/xx).
• ipv6-address/prefix-length — Enter an IPv6 address in x:x:x:x::x format with the prex length in /x
format (prex range is /0 to /128).
54 Getting Started