You’ll need to perform the initial configuration of the
PTX10003 through the console port using the CLI or through Zero Touch
Provisioning (ZTP). To provision the PTX10003 using ZTP, you’ll
need access to a Dynamic Host Control Protocol (DHCP) server and a
File Transfer Protocol (anonymous FTP), Hypertext Transfer Protocol
(HTTP), or Trivial File Transfer Protocol (TFTP) server on which the
software image and configuration files are stored.
To connect and configure the PTX10003 using the CLI:
-
Connect the console port to a laptop or PC by using the RJ-45 cable and RJ-45
to DB-9 adapter. The console port (labeled CON) is
located on the management panel of the PTX10003 (see Connecting the PTX10003-80C to a Management Console for more information).
- Log in as root. You do not
need to enter a password. If the software boots before you connected
to the console port, you might need to press the Enter key for the
prompt to appear.
- Start the CLI.
- Enter configuration mode.
- Add a password to the root administration user account.
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
- (Optional) Configure the name of the PTX10003. If the
name includes spaces, enclose the name in quotation marks (“
”).
[edit]
root@# set system host-name host-name
- Configure the default gateway.
[edit]
root@# set routing-options static route default next-hop address
- Configure the IP address and prefix length for the management
interface.
[edit]
root@# set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length
Note: The RJ-45 management port is labeled mgmt-0 and the SFP management port is labeled mgmt-1.
- (Optional) Configure the static routes to remote prefixes
with access to the management port.
[edit]
root@# set routing-instances mgmt_junos routing-options static route remote-prefix next-hop destination-ip retain no-readvertise
- Enable the Telnet service.
[edit]
root@# set system services telnet
Note: When Telnet is enabled, you cannot log in to a PTX10003
through Telnet by using root credentials. Root login is allowed only
for SSH access.
- Commit the configuration to activate it on the PTX10003.