- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-OAP module commands | 37.57 KB |
OAP module commands
oap connect
Use oap connect to log in to the CLI of an OAP module from the device.
Syntax
In standalone mode:
oap connect slot slot-number [ system system-name ]
In IRF mode:
oap connect chassis chassis-number slot slot-number [ system system-name ]
Views
User view
Predefined user roles
network-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.)
system system-name: Specifies an OAP module by its device name (configured by using the sysname command) or by its subslot number. Support for this option depends on the device model.
Usage guidelines
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 a subslot.
<Sysname> oap connect slot 1 system 6
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 [ system system-name ]
In IRF mode:
oap reboot chassis chassis-number slot slot-number [ system system-name ]
Views
User view
Predefined user roles
network-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.)
system system-name: Specifies an OAP module by its system name or subslot number. Support for this option depends on the device model.
Examples
# (In standalone mode.) Reboot the OAP module in a subslot.
<Sysname> oap reboot slot 1 system 6
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…