Using a switch as the ssh client, Using a pc as the ssh client, Redirecting to an oap card from the switch – H3C Technologies H3C S12500 Series Switches User Manual
Page 10
3
Using a switch as the SSH client
1.
Assign an IP address to the network management port of the OAP card.
2.
Enable the SSH server on the OAP card with the ssh server enable command.
3.
Connect one end of the cable to the Ethernet port of the switch, and the other end to the network
management port of the OAP card.
4.
Make sure that the network management port of the switch and that of the OAP card can reach
each other.
5.
Execute the ssh command on the switch, with the IP address of the network management port of the
OAP card as the SSH server address. You can log in to the operating system of the OAP card after
the connection is established.
Using a PC as the SSH client
1.
Assign an IP address to the network management port of the OAP card.
2.
Enable the SSH server on the OAP card with the ssh server enable command.
3.
Connect one end of the cable to the Ethernet port of the PC, and the other end to the network
management port of the OAP card.
4.
Make sure that the network management port of the PC and that of the OAP card can reach each
other.
5.
Execute the ssh command on the PC, with the IP address of the network management port of the
OAP card as the SSH server address. You can log in to the operating system of the OAP card after
the connection is established.
Redirecting to an OAP card from the switch
You can redirect to the operating system of an OAP card from the switch through the following operation.
The terminal display interface will be switched from the command line interface on the switch to the
operating interface of the operating system of the OAP card. You can then manage the system and
application software on the OAP card. After the switch, you can press Ctrl+k to return to the command
line interface on the switch.
Before using the oap connect command to log in to the OAP card, perform basic configurations for the
AUX port of the switch through the console port on the OAP card to allow redirection from the switch to
the OAP card.
The LST1ACG1A1, LST1IPS1A1, and LST1IPS2A1 cards do not support redirecting from the switch to the
OAP card through the oap connect command.
To redirect from the switch to the OAP card:
Task Command
Remarks
Redirect from the switch to the OAP
card (in standalone mode).
oap connect slot slot-number
Available in user view.
Redirect from the switch to the OAP
card (in IRF mode).
oap connect chassis
chassis-number slot slot-number
Available in user view.