Execution (Shortcut View); File-Policy - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Usage guidelines
After you configure a resource link for a port forwarding item, you can click the port forwarding name
on the SSL VPN Web page to access the resource.
If you execute this command for a port forwarding item multiple times, the most recent configuration
takes effect.
Examples
# Configure the url('http://127.0.0.1') resource for port forwarding item pfitem1.
<Sysname> system-view
[Sysname] sslvpn context ctx1
[Sysname-sslvpn-context-ctx1] port-forward-item pfitem1
[Sysname-sslvpn-context-ctx1-forward-item-pfitem1] execution url('http://127.0.0.1')

execution (shortcut view)

Use execution to configure a resource link for a shortcut.
Use undo execution to restore the default.
Syntax
execution script
undo execution
Default
No resource link is configured for a shortcut.
Views
Shortcut view
Predefined user roles
network-admin
Parameters
script: Specifies the script for the resource, a string of 1 to 255 characters in the format of
url('url-value').
number/resource path.
Usage guidelines
After you configure a resource link for a shortcut, you can click the shortcut name on the SSL VPN
Web page to access the resource.
If you execute this command for a shortcut multiple times, the most recent configuration takes effect.
Examples
# Configure the url('http://10.0.0.1') resource for shortcut shortcut1.
<Sysname> system-view
[Sysname] sslvpn context ctx1
[Sysname-sslvpn-context-ctx1] shortcut shortcut1
[Sysname-sslvpn-context-ctx1-shortcut-shortcut1] execution url('http://10.0.0.1')

file-policy

Use file-policy to create a file policy and enter its view, or enter the view of an existing file policy.
Use undo file-policy to delete a file policy.
Complete
format
for
url-value
is
protocol://hostname
755
or
address:port

Advertisement

Table of Contents
loading

Table of Contents