API Guide

lock
Locks the candidate configuration and prevents any configuration changes on any other CLI sessions, either in Transaction or
Non-Transaction-Based Configuration mode.
Syntax
lock
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
The lock command fails if there are uncommitted changes in the candidate configuration.
Example
OS10# lock
Supported
Releases
10.2.0E or later
management route
Configures an IPv4/IPv6 static route the Management port uses. To configure multiple management routes, repeat the
command.
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 prefix-length format (/xx).
ipv6-address/prefix-length Enter an IPv6 address in x:x:x:x::x format with the prefix
length in /xxx format. The prefix range is /0 to /128.
forwarding-router-address Enter the next-hop IPv4/IPv6 address of a forwarding router
(gateway) for network traffic from the Management port.
managementethernet Configure the Management port as the interface for the route and
associates the route with the Management interface.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
Management routes are separate from IP routes and are only used to manage the switch through the
Management port. To display the currently configured IPv4 and IPv6 management routes, use the show
ip management-route and show ipv6 management-route commands.
Example (IPv4)
OS10(config)# management route 10.10.20.0/24 10.1.1.1
OS10(config)# management route 172.16.0.0/16 managementethernet
Example (IPv6)
OS10(config)# management route 10::/64 10::1
Supported
Releases
10.2.2E or later
move
Moves or renames a file in the configuration or home system directories.
Syntax
move [config: | home: | usb:]
Parameters
config: Move from the configuration directory (config://filepath).
76 CLI Basics