- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-OAP Card Commands | 65.66 KB |
oap connect
Syntax
Standalone mode:
oap connect slot slot-number
IRF mode:
oap connect chassis chassis-number slot slot-number
View
User view
Default level
1: Monitor level
Parameters
slot slot-number: Specifies an OAP card by its slot number. Use this option when your switch is operating in standalone (the default) mode.
chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. Use this option when your switch is operating in IRF mode. For more information about IRF, see IRF Configuration Guide.
Description
Use oap connect to redirect from the switch to the OAP card.
To return from the operating system on the OAP card to the CLI on the switch, press Ctrl+K.
Before logging in to an OAP card by using the oap connect command, log in to the operating system of an OAP card from the console port or management Ethernet port of the OAP card. Then, configure the authentication mode of the AUX user interface, and configure the user privilege level through the user interface.
# Redirect from the switch to the OAP card in slot 3.
<Sysname> oap connect slot 3
Connected to OAP!
# Redirect from the switch to the OAP module in slot 5 of the device with the member ID of 2.
<Sysname> oap connect chassis 2 slot 5
Press CTRL+K to quit.
Connected to OAP!
oap management-ip
Syntax
Standalone mode:
oap management-ip ip-address slot slot-number
undo oap management-ip slot slot-number
IRF mode:
oap management-ip ip-address chassis chassis-number slot slot-number
undo oap management-ip chassis chassis-number slot slot-number
View
System view
Default level
2: System level
Parameters
slot slot-number: Specifies an OAP card by its slot number. Use this option when your switch is operating in standalone (the default) mode.
ip-address: Management IP address of the OAP card. This address must be configured on the OAP card beforehand.
chassis chassis-number slot slot-number: Specifies an OAP card on an IRF member switch. Use this option when your switch is operating in IRF mode. For more information about IRF, see IRF Configuration Guide.
Description
Use oap management-ip to configure the management IP address of an OAP card.
Use undo oap management-ip to restore the default.
By default, the management IP address of an OAP card is not configured.
When you use an NMS to manage an OAP card, you must first configure the management IP address of the OAP card.
Examples
# Configure the management IP address of the OAP card in slot 3 as 1.1.1.1.
<Sysname> System-view
[Sysname] oap management-ip 1.1.1.1 slot 3
# Configure the management IP address of the OAP module in slot 5 of the switch with the member ID of 2 as 1.1.1.1.
<Sysname> System-view
[Sysname] oap management-ip 1.1.1.1 chassis 2 slot 5
oap reboot
Syntax
Standalone mode:
oap reboot slot slot-number
IRF mode:
oap reboot chassis chassis-number slot slot-number
View
User view
Default level
3: Manage level
Parameters
slot slot-number: Specifies an OAP card by its slot number. Use this option when your switch is operating in standalone (the default) mode.
chassis chassis-number slot slot-number: Specifies an OAP card on an IRF member switch. Use this option when your switch is operating in IRF mode. For more information about IRF, see IRF Configuration Guide.
Description
Use oap reboot to reset the system on an OAP card, which is equal to resetting the OAP card by pressing the reset button on the OAP card.
For more information about the operations on an OAP card, see the OAP card documentation.
|
IMPORTANT: Resetting the OAP card might cause data loss and service interruption. Before resetting the OAP card, be sure to save the configurations of the OAP card operating system and shut down the OAP card operating system |
Examples
# Reset the system on the OAP card in slot 3.
<Sysname> oap reboot slot 3
This command will recover the OAP from shutdown or other failed state.
Warning: This command may lose the data on the hard disk if the OAP is not being shut down!
Continue? [Y/N]:y
Reboot OAP by command.
# Reset the system on the OAP module in slot 5 of the device with the member ID of 2.
<Sysname> oap reboot chassis 2 slot 5
This command will recover the OAP from shutdown or other failed state.
Warning: This command may lose the data on the hard disk if the OAP is not being shut down!
Continue? [Y/N]:y
Reboot OAP by command.