
Command line interface (CLI)
4057_en_A
PHOENIX CONTACT
Once PuTTY is configured, click the “Open” button to launch a terminal.
2.2
Log into the CLI
To access the command line interface (CLI) shell, enter the credentials:
Login: admin
Password: admin
2.3
Switch configuration
Configure admin password
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# username admin password Abcd123! privilege 15 confirm-password Abcd123!
Phoenix_Contact(config)# exit
Configure switch name
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# set switch-name XYZ Phoenix_Contact(config)#
exit
Phoenix_Contact#
Configure switch prompt
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# set prompt-name Prompt-XYZ
Prompt-XYZ(config)# end
Prompt-XYZ#
2.4
Configure the IP address
In coordination with the network administrator, determine the values of the following
parameters:
–
IP address
–
IP address mask
–
Default route
IP address
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface vlan 1
Phoenix_Contact(config-if)# ip address <IP Address> <IP Address Mask>
Phoenix_Contact(config-if)# no shutdown
Phoenix_Contact(config-if)# exit
Phoenix_Contact(config)# exit
Phoenix_Contact#
Default route
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# ip route 0.0.0.0 0.0.0.0 192.168.32.254
Phoenix_Contact(config)# exit
Phoenix_Contact#