In this article, we will take a look at how to operate on multiple JUNOS configuration files. The JUNOS configuration file is organized in a hierarchical structure. Once you understand its structure and different levels, you can easily browse the file and find the parts to be checked and changed accurately, it will not be affected by other components that are not needed.
First, we log on to the route:
Juniper5 (ttyd0) login: jeff Password: --- JUNOS 8.5R1.13 built 2007-11-14 17:54:24 UTC Jeff @ Juniper5> |
This command displays the username (jeff) and vro name (Juniper5 ). The router is in the operational status. In this status, we can display the Routing Status and database, ping and track routes, telnet and ssh, restart system processes and other tasks-these tasks are mostly the commands we need to monitor and solve system problems. The operational mode of JUNOS is equivalent to the EXEC mode of IOS users.
When Using IOS, question marks can help us a lot. When we do not remember the next statement in the command string or only need to view available options, the question mark becomes a basic information tool. We can use question marks to view all available commands in the operational status:
jeff@Juniper5> ? Possible completions: clear Clear information in the system configure Manipulate software configuration information diagnose Invoke diagnose script| file Perform file operations help Provide help information monitor Show real-time debugging information mtrace Trace multicast path from source to receiver ping Ping remote target quit Exit the management session request Make system-level requests restart Restart software process set Set CLI properties, date/time, craft interface message show Show system information ssh Start secure shell on another host start Start shell telnet Telnet to another host test Perform diagnostic debugging traceroute Trace route to remote host |