OAP manager commands -- 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. Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.

Usage guidelines

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

CPU: Intel(R) Pentium(R) M processor 1.40GHz

PCB Version: 3.00

CPLD Version: 1.00

Bootrom Version: 1.12

Storage Card: 256 MB

Memory: 512 MB

Harddisk: 40.0 GB

# Display information about all OAP clients.

<Sysname> display oap client info

Client ID: 1

CPU: Intel(R) Pentium(R) M processor 1.40GHz

PCB Version: 3.00

CPLD Version: 1.00

Bootrom Version: 1.12

Storage Card: 256 MB

Memory: 512 MB

Harddisk: 40.0 GB

Client ID: 2

CPU: Intel(R) Pentium(R) M processor 1.40GHz

PCB Version: 3.00

CPLD Version: 1.00

Bootrom Version: 1.12

Storage Card: 256 MB

Memory: 512 MB

Harddisk: 40.0 GB

Related commands

display oap client summary

OAP manager commands -- 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. 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: 00e0-fc0a-c3ef

Interface: GigabitEthernet1/0/1

Last registered: 02/08/2011 12:00:00

# Display the summary registration information of all OAP clients.

<Sysname> display oap client summary

Client ID: 1

Status: Registered

MAC Address: 00e0-fc0a-c3ef

Interface: GigabitEthernet1/0/1

Last registered: 02/08/2011 12:00:00

Client ID: 2

Status: Registered

MAC Address: 00e0-fa1e-03da

Interface: GigabitEthernet1/0/2

Last registered: 02/08/2011 13:00:00

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 manager commands -- 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. Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.

Usage guidelines

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 manager commands -- 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. Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.

Usage guidelines

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 manager commands -- 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 2 aggregate interface view

Layer 3 Ethernet interface view

Layer 3 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable OAP on interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] oap enable

OAP manager commands -- 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 manager commands -- 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