< Home

video service enable

Function

The video service enable command enables the video gateway mode.

The undo video service enable command disables the video gateway mode.

Format

video service enable

undo video service enable

Parameters

None

Views

IoT view

Default Level

2: Configuration level

Usage Guidelines

By default, the video gateway mode is disabled.

Usage Scenario

In the camera security management solution, the FW works with the video security management platform to implement centralized camera management and secure access control. In this case, the FW must work in video gateway mode.

Precautions

Generally, the command for enabling the video gateway mode does not need to be manually configured on the FW. When FW interconnection parameters are configured on the video security management platform, the platform delivers this command to the FW through the RESTCONF interface to enable the video gateway mode.

Configuration Impact

In the camera security management solution, service configuration is taken over by the video security management platform, and the platform delivers configurations to the FW through the RESTCONF interface. After the video gateway mode is enabled on the FW, the following changes may occur:

  • Security policies that already exist before the switchover mode are deleted.
  • Six security policies preconfigured in the solution are added. The matching conditions of these security policies are filled in based on the operations performed on the video security management platform.
  • The address set and address object preset in the solution are added. If the address set or address object name already exists, modify it as prompted.
  • Security policies are delivered by the video security management platform. You are not allowed to manually configure security policies on the FW. Otherwise, the camera management function will be affected.
  • The "application" matching condition of security policies is changed to "excluded application". That is, the traffic matching the application configured in the security policy cannot match the security policy, and the application traffic that is not within the configured application range can match the security policy.

If the camera security management solution is not used, do not switch to the video gateway mode. If the switchover is performed by mistake, you can roll back the configuration file. The FW automatically saves the configuration file before_video_device_gw.cfg before the mode switchover to the root directory.

Example

# Enable the video gateway mode.

<sysname> system-view
[sysname] iot
[sysname-IoT] video service enable
Once switching to video service gateway mode, all security policy rules will be removed, and the addrset named whitelist_ipset, allowin_ipset, allowin_macset, the addresss object with prefix allowin_object may be changed. Better modify if any.                                                          
Are you sure to switch to video service gateway mode? [Y/N] Y
The current configuration will be written to the device.                        
Are you sure to continue?[Y/N] Y                           
Now saving the current configuration to the slot 0.....                         
Save the configuration successfully.                                            
Saved configuration to file before_video_device_gw.cfg                         
Removing all security rules...                                                 
Succeeded in switching to video device gateway mode.                           
Info: The policy is enabled successfully.                                       
Info: The policy is enabled successfully.                                       
Info: The policy is disabled successfully.                                      
Info: The policy is disabled successfully.                                      
Info: The policy is disabled successfully.                  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >