- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
02-OAP commands | 68.88 KB |
OAP commands
OAP commands are available only on an LSU1FWCEA0.
display oap client info
Use display oap client info to display OAP client information.
Syntax
display oap client info [ client-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
client-id: Specifies an OAP client by its ID in the range of 1 to 255. If you do not specify this argument, the command displays information about all OAP clients in ascending order of client IDs.
Usage guidelines
Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.
The OAP manager obtains OAP client information from notification packets received from OAP clients. If the information about a field is missing, the field is not displayed.
Examples
# Display information about OAP client 1.
<Sysname> display oap client info 1
Client ID: 1
Client Description: SecBlade NS
Hardware: A.0
System Software: COMWAREV500R002B83D217SP01
Application Software: V300R001B08D317SP02
CPU: RMI XLR732 1000MHz
PCB Version: A.0
CPLD Version: 1.0
Bootrom Version: Basic BootRom Version:1.28,Extend BootRom Version:1.50
Storage Card: 247M Bytes Compact Flash Storage Device
Memory: 3584M Bytes DDR2 SDRAM Memory
# Display information about all OAP clients.
<Sysname> display oap client info
Client ID: 1
Client Description: SecBlade NS
Hardware: A.0
System Software: COMWAREV500R002B83D217SP01
Application Software: V300R001B08D317SP02
CPU: RMI XLR732 1000MHz
PCB Version: A.0
CPLD Version: 1.0
Bootrom Version: Basic BootRom Version:1.28,Extend BootRom Version:1.50
Storage Card: 247M Bytes Compact Flash Storage Device
Memory: 3584M Bytes DDR2 SDRAM Memory
Related commands
display oap client summary
display oap client summary
Use display oap client summary to display the summary registration information of OAP clients.
Syntax
display oap client summary [ client-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
client-id: Specifies an OAP client by its ID in the range of 1 to 255. If you do not specify this argument, the command displays the summary registration information of all OAP clients in ascending order of client IDs.
Usage guidelines
Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.
Examples
# Display the summary registration information of OAP client 1.
<Sysname> display oap client summary 1
Client ID: 1
Status: Registered
MAC Address: 5cdd-70ab-1bc2
Interface: Ten-GigabitEthernet1/1/0/1
Last registered: 07/31/2014 10:25:07
# Display the summary registration information of all OAP clients.
<Sysname> display oap client summary
Client ID: 1
Status: Registered
MAC Address: 5cdd-70ab-1bc2
Interface: Ten-GigabitEthernet1/1/0/1
Last registered: 07/31/2014 10:25:07
Table 1 Command output
Field |
Description |
Status |
Status of the OAP client, which is always Registered. |
MAC Address |
MAC address of the OAP client. |
Interface |
Interface used to communicate with the OAP client. |
Last registered |
Registration time of the client. |
Related commands
display oap client info
oap client close
Use oap client close to shut down an OAP client.
Syntax
oap client close client-id
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
client-id: Specifies an OAP client by its ID in the range of 1 to 255.
Usage guidelines
Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.
This command applies only to OAP clients on Linux.
When you execute this command for a client in registered state, the OAP manager sends a shutdown notification to the specified OAP client. The client stops after receiving the notification. When you execute this command for a non-existent client, an error message appears.
Examples
# Shut down OAP client 1.
<Sysname> system-view
[Sysname] oap client close 1
Related commands
· display oap client summary
· oap client reboot
oap client reboot
Use oap client reboot to restart an OAP client.
Syntax
oap client reboot client-id
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
client-id: Specifies an OAP client by its ID in the range of 1 to 255.
Usage guidelines
Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.
When you execute this command for a client in registered state, the OAP manager sends a restart notification to the specified OAP client. The client restarts after receiving the notification. When you execute this command for a non-existent client, an error message appears.
Examples
# Restart OAP client 1.
<Sysname> system-view
[Sysname] oap client reboot 1
Related commands
· display oap client summary
· oap client close
oap enable
Use oap enable to enable OAP.
Use undo oap enable to disable OAP.
Syntax
oap enable
undo oap enable
Default
OAP is disabled on an interface.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Examples
# Enable OAP on interface Ten-GigabitEthernet 1/1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitEthernet 1/1/0/1
[Sysname-Ten-GigabitEthernet1/1/0/1] oap enable
oap timer clock-sync
Use oap timer clock-sync to set the clock synchronization timer.
Use undo oap timer clock-sync to restore the default.
Syntax
oap timer clock-sync minutes
undo oap timer clock-sync
Default
The clock synchronization timer is set to 5 minutes.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
minutes: Specifies the clock synchronization timer value in minutes, in the range of 0 to 1440. Setting this argument to 0 disables clock synchronization.
Usage guidelines
The clock synchronization timer regularly triggers the OAP manager to send clock and time zone synchronization notifications to OAP clients. These notifications keep the clients' clocks synchronized to the manager's clock.
Examples
# Set the clock synchronization timer to 20 minutes.
<Sysname> system-view
[Sysname] oap timer clock-sync 20
oap timer monitor
Use oap timer monitor to set the client monitoring timer.
Use undo oap timer monitor to restore the default.
Syntax
oap timer monitor seconds
undo oap timer monitor
Default
The client monitoring timer is set to 5 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Specifies the client monitoring timer in seconds, in the range of 0 to 10. Setting this argument to 0 disables client monitoring.
Usage guidelines
The client monitoring timer regularly triggers the OAP manager to send client monitoring packets to OAP clients.
Examples
# Set the client monitoring timer to 6 seconds.
<Sysname> system-view
[Sysname] oap timer monitor 6