- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-OAP module commands | 37.00 KB |
OAP module commands
oap connect
Use oap connect to log in to the CLI of an OAP module from the device. You can also use this command to log in to another operating system that is running on a card in the device.
Syntax
In standalone mode:
oap connect slot slot-number
In IRF mode:
oap connect chassis chassis-number slot slot-number
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies an OAP module by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an OAP module in an IRF member device by the member ID and slot number. (In IRF mode.)
Usage guidelines
This command is supported only on the default MDC.
To return to the CLI of the hosting device from the OAP module, press Ctrl+K.
Examples
# (In standalone mode.) Log in to the CLI of the OAP module in the specified slot.
<Sysname> oap connect slot 1
Press CTRL+K to quit.
Connected to OAP.
oap reboot
Use oap reboot to reboot an OAP module.
Syntax
In standalone mode:
oap reboot slot slot-number
In IRF mode:
oap reboot chassis chassis-number slot slot-number
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies an OAP module by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an OAP module in an IRF member device by the member ID and slot number. (In IRF mode.)
Examples
# (In standalone mode.) Reboot the OAP module in the specified slot.
<Sysname> oap reboot slot 1
This command might cause data loss on the hard disk if the card is not been shut down.
Continue? [Y/N]:y
Rebooting the OAP card by command…