Study FAQ
How do I commission SSH on the dedicated management port of a CX 6300?
Also asked as 2
- How do I set up and verify initial out-of-band SSH access on a standalone CX 6300?
- How can I configure static management access on a CX 6300 and retain a recovery console?
Answer
On a standalone CX 6300 running AOS-CX 10.13, keep a working USB-C console session, assign the dedicated port an address in the mgmt VRF, and verify a new SSH login from an authorized workstation before saving. For a factory switch, sign in as admin and set a strong unique password when prompted. The documented default console settings are 115200 bps, eight data bits, one stop bit, no parity and no flow control. On an existing switch, confirm configuration ownership and authorized access first.
The addresses below are examples for an isolated lab. Use the approved address, prefix and reachable gateway for the actual management network. After confirming the console and account, start an automatic checkpoint from manager context with a practical verification window. This example allows ten minutes.
checkpoint auto 10
configure terminal
hostname lab-cx-01
interface mgmt
no shutdown
ip static 192.0.2.10/24
default-gateway 192.0.2.1
exit
ssh server vrf mgmt
end
The gateway in interface mgmt serves that management interface. SSH may already be enabled there at factory defaults. The explicit listener command identifies the intended VRF. Check show interface mgmt and show ssh server vrf mgmt from the console. Obtain the expected host key with show ssh host-key, verify the identity in your client, and open a new SSH session from the authorized source. Confirm the intended account can perform its required checks. If login fails, examine the selected path, return routing, listener VRF and authentication separately.
If the initial configuration includes time synchronization, choose an approved server reachable in the selected VRF. In this lab, ntp vrf mgmt, ntp server 192.0.2.123 iburst and ntp enable set the context, server and client state. Apply the required authentication policy when configuring the actual time source. Verify the association and synchronized status with show ntp associations and show ntp status before acceptance.
If the checks pass before the deadline, confirm from manager context with checkpoint auto confirm, then separately run copy running-config startup-config and compare the saved settings from show startup-config with the accepted state in show running-config. If a check fails, keep the console and let the unconfirmed checkpoint restore the previous running state. Wait for restoration to finish, then verify access and the recovered configuration.
References
Full explanation
HPE6-A86: Establishing Initial Configuration and Secure Management Access
Study guide · HPE6-A86
Read the full explanation