| Parameter | Description | Value |
|---|---|---|
resource |
Displays the configuration of port-forwarding resources. |
- |
resource-alias |
Specifies the alias of port-forwarding resources. |
It is a string of 1 to 31 case-sensitive characters. |
# Display the configuration of the port-forwarding function.
<sysname> system-view [sysname] v-gateway abc [sysname-abc] service [sysname-abc-service] display port-forwarding
VG Port Forwarding Information ------------------------- Port Forwarding State: enable Keep Alive State: disable Auto Start State: disable ----End
Item |
Description |
|---|---|
Port Forwarding State |
Whether the port forwarding function is enabled:
|
Keep Alive State |
The status of the keepalive function for network extension. |
Auto Start State |
The status of the auto-start function for network extension. |
# Display the configuration of port-forwarding resources.
[sysname-abc-service] display port-forwarding resource
VG Port Forwarding Resource List
--------------------------------
No. ResourceAlias Resource Port ResourceDescription
------------------------------------------------------------------------------
1 a www.example.com 21
------------------------------------------------------------------------------
----End
Item |
Description |
|---|---|
ResourceAlias |
The alias of resources. |
Resource |
Port forwarding resources. |
Port |
The number of the port through which the host provides resources. |
ResourceDescription |
Detailed description of the resource. |