- Table of Contents
-
- 11-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-SNMP commands
- 04-RMON commands
- 05-NETCONF commands
- 06-SmartMC commands
- 07-EPA commands
- 08-ONVIF commands
- 09-CWMP commands
- 10-EAA commands
- 11-Process monitoring and maintenance commands
- 12-Mirroring commands
- 13-Information center commands
- 14-VCF fabric commands
- 15-Cloud connection commands
- 16-TCP connection trace commands
- 17-NTP commands
- 18-PoE commands
- 19-sFlow commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-ONVIF commands | 72.49 KB |
ONVIF commands
display onvif probe-information
Use display onvif probe-information to display ONVIF probing information.
Syntax
display onvif probe-information
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
In a SmartMC network, execute this command on the commander.
Examples
# Display ONVIF probing information.
<Sysname> display onvif probe-information
Probing information:
Port Status Interval(sec)
Vlan1 Enabled 30
Table 1 Command output
Field |
Description |
Port |
Name of a port with ONVIF probing configured. This field is available only for a port with ONVIF probing enabled or a port whose probe interval has been edited. |
Status |
Whether ONVIF probing is enabled. Options include: · Enabled. · Disabled. |
Interval |
Interval at which ONVIF probe messages are sent. |
Related commands
onvif probe enable
onvif probe interval
display onvif snooping-information
Use display onvif snooping-information to display ONVIF snooping information.
Syntax
display onvif snooping-information
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
If the device is disabled with ONVIF snooping, this command displays only the ONVIF snooping status. If the device is enabled with ONVIF snooping, this command also displays the endpoint information detected by ONVIF snooping.
Examples
# Display ONVIF snooping information on a device with ONVIF snooping enabled.
<Sysname> display onvif snooping-information
Snooping status: Enabled
Endpoint information:
Endpoint MAC address: 0e74-e2fb-0400 Status: Online
Port: GE1/0/1 VLAN: 11
IPv4 address: 10.1.1.1
IPv6 address: --
Endpoint MAC address: 0e74-e2fb-0401 Status: Offline
Port: GE1/0/2 VLAN: 12
IPv4 address: 11.1.1.2
IPv6 address: fe80::5c96:ebc1:2080:c81
# Display ONVIF snooping information on a device with ONVIF snooping disabled.
<Sysname> display onvif snooping-information
Snooping status: Disabled
Table 2 Command output
Field |
Description |
Snooping status |
Whether ONVIF snooping is enabled. Options include: · Enabled. · Disabled. |
Status |
Endpoint status. Options include: · Online. · Offline. |
Port |
Interface to which the endpoint is connected. |
VLAN |
VLAN in which the endpoint resides. |
IPv4 address |
Source IPv4 address of the endpoint. If no IPv4 address is identified, this field displays two hyphens (--). |
IPv6 address |
Source IPv6 address of the endpoint. If no IPv6 address is identified, this field displays two hyphens (--). |
Related commands
onvif snooping enable
onvif probe enable
Use onvif probe enable to enable ONVIF probing.
Use undo onvif probe enable to disable ONVIF probing.
Syntax
onvif probe enable
undo onvif probe enable
Default
ONVIF probing is disabled.
Views
VLAN interface view
Predefined user roles
network-admin
Usage guidelines
ONVIF (Open Network Video Interface Forum) is an open industry forum that provides and promotes standardized interfaces for effective interoperability of IP-based physical security products. ONVIF provides the following functions:
· ONVIF probing—With this feature enabled, the device automatically sends ONVIF probe messages to probe ONVIF endpoints.
· ONVIF snooping—With this feature enabled, the device processes ONVIF packets from ONVIF endpoints to identify and monitor the endpoints when they come online and go offline.
The ONVIF features can be configured on a standalone device or in a SmartMC network.
To use ONVIF probing to probe a camera, follow these restrictions and guidelines:
· If the camera uses an IPv4 address, the IP address and the IPv4 address of the VLAN interface must be on the same segment.
· If the camera uses an IPv6 address, the VLAN interface must use an IPv6 link-local address.
As a best practice to reduce overhead in a SmartMC network, execute this command on the commander. If you execute this command on the commander, it sends a multicast probe message. After receiving the probe message, the receiving interface of a member broadcasts the message from the other interfaces.
For more information about SmartMC, see Network Management and Monitoring Configuration Guide.
Examples
# Enable ONVIF probing.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] onvif probe enable
Related commands
display onvif probe-information
onvif probe interval
Use onvif probe interval to set the interval for sending a ONVIF probe message.
Use undo onvif probe interval to restore the default.
Syntax
onvif probe interval interval-value
undo onvif probe interval
Default
By default, the probe interval is 30 seconds.
Views
VLAN interface view
Predefined user roles
network-admin
Parameters
interval-value: Specifies the interval at which a probe message is sent, in the range of 10 to 300 seconds.
Examples
# Set the interval for sending a probe message to 60 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] onvif probe enable
[Sysname-Vlan-interface2] onvif probe interval 60
Related commands
display onvif probe-information
onvif probe enable
onvif snooping enable
Use onvif snooping enable to enable ONVIF snooping.
Use onvif snooping enable to disable ONVIF snooping.
Syntax
onvif snooping enable
undo onvif snooping enable
Default
ONVIF snooping is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
ONVIF features can be configured on a standalone device or in a SmartMC network.
Enable ONVIF snooping on the device for it to parse ONVIF messages from ONVIF endpoints and monitor the endpoints when they come online and go offline. For this feature to take effect in a SmartMC network, enable the ONVIF snooping feature on the commander or members connected to ONVIF endpoints.
If an ONVIF endpoint accesses the network through a member port of an aggregate interface, ONVIF monitors the endpoint on the aggregate interface.
For the ONVIF snooping feature to operate correctly on the device, make sure port number 3702 used for the ONVIF protocol has not been occupied by other protocols.
Examples
# Enable ONVIF snooping.
<Sysname> system-view
[Sysname] onvif snooping enable
Related commands
display onvif snooping-information
reset onvif snooping-information
Use reset onvif snooping-information to clear the endpoint information detected by ONVIF snooping.
Syntax
reset onvif snooping-information [ interface interface-type interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, the command clears the endpoint information detected by ONVIF snooping on all interfaces.
Examples
# Clear the endpoint information detected by ONVIF snooping on all interfaces.
<Sysname> reset onvif snooping-information
Related commands
display onvif snooping-information