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

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

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 slot 3.

<Sysname> oap connect slot 3
Press CTRL+K to quit.
Connected to OAP.

# In IRF mode, log in to the CLI of the OAP module in slot 5 on member device 2.

<Sysname> oap connect chassis 2 slot 5
Press CTRL+K to quit.
Connected to OAP.