Use the Tab key to complete assigned variable names (for example, usernames and interface names) If you enter an ambiguous string, a list of possible completion options appears. If you enter a partial string of characters that uniquely identify a command, the command name is completed. You can use the spacebar or Tab key to complete command names. Ctrl+e–Move the cursor to the end of the command line.Ī VT100 terminal type supports use of the arrow keys for navigation.Ctrl+f–Move the cursor one space forward.Ctrl+a–Move the cursor to the beginning of the command line.The following are some key sequences that you can use to navigate the command line:
The JUNOS CLI supports Emacs-based key sequences. For example, all commands that display information about security functionality are in the show security hierarchy in operational mode. Commands that perform a similar function are grouped in the same hierarchy level. Alternatively, you can use the delete command to remove a configuration statement and then use the set command to add the new value.ĬLI commands are organized in a hierarchy.In most cases, you can use the rename command to change a value.Use the rename command to assign a new name to parameter name that you have previously defined (for example, interface names or policy statements).Only use the copy command with configuration statements that include names for variables that you have defined.The copy command duplicates the statement and its entire hierarchy of statements.Use the copy command to copy a configuration statement to a new configuration statement with a different name, which can be useful if you have many similar configuration statements.Use the commit command to save the candidate configuration as the current (operational) configuration. If you issue the show command from the top of the configuration hierarchy, the entire configuration is listed. Use the show command to display the configuration from the current configuration hierarchy level and sub-hierarchies.
If deleting a parameter leaves the configuration statement empty, the emtpy statement is removed from the configuration. Use the delete command to delete a configuration parameter. Use the set command to assign a value to a configuration parameter. The following table lists some commonly used configuration mode commands. In configuration mode, you enter these statements to define all properties of Junos Software, including interfaces, general routing information, routing protocols, flow-based security features, user access, and system and hardware properties.Īfter logging in, you enter operational mode, which is indicated by the right angle bracket (>): Modeįrom operational mode, use the configure command to enter configuration mode, which is indicated by the pound sign exit configuration mode and go back to operational mode, enter exit at the prompt: Mode Commands Configuration mode–A Junos device configuration is stored as a hierarchy of statements.
#Srx300 show mac address software
In operational mode, you enter commands to monitor and troubleshoot Junos Software and devices and network connectivity.