Dell MX5108n OS10 Enterprise Edition User Guide for PowerEdge MX IO Modules Re - Page 30
CLI command modes, CLI command hierarchy, CLI command categories
View all Dell MX5108n manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
Command completion Command completion for command names (keywords) and for command options is available at each level of the hierarchy. To complete a command or option that you have partially entered, press the Tab key or the Spacebar. If the partially entered letters being a string that uniquely identifies a command, the complete command name appears. A beep indicates that you have entered an ambiguous command, and the possible completions display. Completion also applies to other strings, such as filenames, interface names, usernames, and configuration statements. CLI command modes The OS10 CLI has two top-level modes: • EXEC mode - Used to monitor, troubleshoot, check status, and network connectivity. • CONFIGURATION mode - Used to configure network devices. When you enter CONFIGURATION mode, you are changing the current operating configuration, called the running configuration. By default, all configuration changes are automatically saved to the running configuration. You can change this default behavior by switching to the transaction-based configuration mode. To switch to the transaction-based configuration mode, enter the start transaction command. When you switch to the transaction-based configuration mode, you are updating the candidate configuration. Changes to the candidate configuration are not added to the running configuration until you commit them, which activates the configuration. The start transaction command applies only to the current session. Changing the configuration mode of the current session to the transaction-based mode does not affect the configuration mode of other CLI sessions. • After you explicitly enter the commit command to save changes to the candidate configuration, the session switches back to the default behavior of automatically saving the configuration changes to the running configuration. • When a session terminates while in the transaction-based configuration mode, and you have not entered the commit command, the changes are maintained in the candidate configuration. You can start a new transaction-based configuration session and continue with the remaining configuration changes. • All sessions in the transaction-based configuration mode update the same candidate configuration. When you enter the commit command on any session in the transaction-based configuration mode or you make configuration changes on any session in the nontransaction-based mode, you also commit the changes made to the candidate configuration in all other sessions running in the transaction-based configuration mode. This implies that inconsistent configuration changes may be applied to the running configuration. Dell EMC recommends that you only make configuration changes on a single CLI session at a time. • When you enter the lock command in a CLI session, configuration changes are disabled on all other sessions, whether they are in the transaction-based configuration mode or the non-transaction-based configuration mode. For more information, see Candidate configuration. CLI command hierarchy CLI commands are organized in a hierarchy. Commands that perform a similar function are grouped together under the same level of hierarchy. For example, all commands that display information about the system and the system software are grouped under the show system command, and all commands that display information about the routing table are grouped under the show route-map command. CLI command categories There are several broad groups of CLI commands available: set Controls the CLI environment and configure the CLI screen. ssh Connects to other network systems or to open secure shell connections. 30 Getting Started