Initial Configuration Using the CLI
Although the EZSetup menu is, well, easy, it often does not contain all the parameters that are needed in a specific deployment. As a result, users often bypass EZSetup and configure the switch via the CLI. Juniper recommends that you configure the following parameters during initial configuration. Note that with the exception of the system’s domain name, all parameters can be configured via EZSetup, when desired.
This section begins by showing the commands that you would type to offer the equivalent functionality to EZSetup. We won’t go into a detailed explanation here, as we discuss each command and topic in detail later in this chapter.
- Hostname
Sets the switch’s name:
root#
set system host-name Tequila- Root password
Sets the password for user
root:root#
set system root-authentication plain-text-passwordNew password: Retype new password:- Remote access protocols
Connects to the router without a physical connection:
root#
set system services sshroot#set system services telnet- Default VLAN management (EZSetup option only)
Uses the default virtual LAN (VLAN) or a new VLAN for management. If you select the New VLAN option, you are prompted to specify the VLAN name, VLAN ID, management IP address, and default gateway. Select the ports that must be part of this VLAN. See Chapter 5 for VLAN details.
- OoB management IP
Uses the dedicated OoB management interface:
root#
set interfaces me0 unit 0 family inet address 172.16.69.8/24- OoB default route
Creates a default ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access