3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
2076 CHAPTER 135: PORTAL CONFIGURATION COMMANDS
all: Specifies all authentication-free rules.
Description Use the
portal free-rule command to configure a portal authentication-free
rule, namely, to specify a source filtering condition or destination filtering
condition.
Use the
undo portal free-rule command to remove the authentication-free
rule.
If you specify both the source IP and source MAC address information in a
portal-free rule, the IP address must be a host address with a mask of 32 bits;
otherwise, the specified MAC address will be neglected.
Related command: display portal free-rule.
Example # Configure a portal authentication-free rule where the packets whose source IP
address is 10.10.10.1/24, source interface is Ethernet 1/0, and destination IP
address is any address will not trigger a portal authentication.
<Sysname> system-view
[Sysname] portal free-rule 15 source ip 10.10.10.1 mask 24 interface
ethernet 1/0 destination ip any
portal resource-name
Syntax portal resource-name resource-name
undo portal resource-name
View System view
Parameter resource-name: Name of the resource to be protected, a case-sensitive string of 1
to 32 characters.
Description Use the
portal resource-name command to configure a name for the resource
to be protected.
Use the
undo portal resource-name command to remove the configuration.
By default, the name of the resource to be protected is not specified.
n
This command only applies to the devices with portal+ enabled.
Example # Configure the name of the resource to be protected as portal-info-center.
<Sysname> system-view
[Sysname] portal resource-name portal-info-center