Reference Guide

line (alias)
Congures 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 congured
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 conguration and prevents any conguration changes on any other CLI sessions, either in transaction or non-
transaction-based conguration mode.
Syntax
lock
Parameters None
Default Not congured
Command Mode EXEC
Usage Information The lock command fails if there are uncommitted changes in the candidate conguration.
Example
OS10# lock
Supported Releases 10.2.0E or later
management route
Congures an IPv4/IPv6 static route used by the Management port. Repeat the command to congure 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 /prex-length format (/xx).
ipv6-address/prefix-length — Enter an IPv6 address in x:x:x:x::x format with the prex length in /x
format (prex range is /0 to /128).
54 Getting Started