< Home

display vt-policy

Function

The display vt-policy command displays the policy list of a virtual gateway, which is based on source IP addresses.

Format

display vt-policy

Parameters

None

Views

Virtual gateway security view

Default Level

0: Visit level

Usage Guidelines

None

Example

# Display the source IP address-based policy list of a virtual gateway.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] security
[sysname-abc-security] display vt-policy
                                                                                
                                VG Policy List                                  
                                --------------                                  
                                                                                
  No.     StartIP             EndIP               SubMask             Action    
  ----------------------------------------------------------------------------- 
  1       10.1.1.1           10.1.1.100          255.255.0.0         deny      
  ----------------------------------------------------------------------------- 
                                                                                
  ----End
Table 1 Description of the display vt-policy command output

Item

Description

StartIP

Start source IP address for policy control

EndIP

End source IP address for policy control

SubMask

Subnet mask

Action

Policy action

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >