Download Print this page

Portal Free-Rule Source - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Examples
# Configure a destination-based portal-free rule: specify the rule number as 4 and host name as
www.abc.com. This rule allows the portal user who sends the HTTP/HTTPS request that carries the
host name www.abc.com to access network resources without authentication.
<Sysname> system-view
[Sysname] portal free-rule 4 destination www.abc.com
Related commands
display portal rule

portal free-rule source

Use portal free-rule source to configure a source-based portal-free rule. The filtering criteria
include source MAC address, source interface, and source VLAN.
Use undo portal free-rule to delete a specific or all portal-free rules.
Syntax
portal free-rule rule-number source { interface interface-type interface-number | mac
mac-address | vlan vlan-id } *
undo portal free-rule { rule-number | all }
Default
No source-based portal-free rules exist.
Views
System view
Predefined user roles
network-admin
Parameters
rule-number: Specifies a portal-free rule number. The value range for this argument is 0 to
4294967295.
interface interface-type interface-number: Specifies a source interface by its type and number for
the portal-free rule.
mac mac-address: Specifies a source MAC address for the portal-free rule, in the form of H-H-H.
vlan vlan-id: Specifies a source VLAN ID for the portal-free rule.
all: Specifies all portal-free rules.
Usage guidelines
If you specify both the source VLAN and the source Layer 2 interface, the interface must be in the
VLAN.
Examples
# Configure source-based portal-free rule: specify the rule number as 3, source MAC address as
1-1-1, and source VLAN ID as 10. This rule allows the portal user whose source MAC address is
1-1-1 from VLAN 10 to access network resources without authentication.
<Sysname> system-view
[Sysname] portal free-rule 3 source mac 1-1-1 vlan 10
Related commands
display portal rule
282

Advertisement

loading