EasyManua.ls Logo

H3C MSR Series

H3C MSR Series
1187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
344
Specify the source IP address as 10.10.10.1/24, the destination IP address as 20.20.20.1, and
the destination TCP port number as 23.
Specify the interface where the rule is applied as GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] portal free-rule 1 destination ip 20.20.20.1 32 tcp 23 source ip 10.10.10.1 24
interface gigabitethernet 1/0/1
With this rule, users in subnet 10.10.10.1/24 do not need to pass portal authentication through
GigabitEthernet 1/0/1 when they access services provided on TCP port 23 of host 20.20.20.1.
# Configure an IPv6-based portal-free rule:
Set the rule number to 2.
Specify the source IP address as 2000::1/64, the destination IP address as 2001::1, and the
destination TCP port number as 23.
Specify the interface where the rule is applied as GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] portal free-rule 2 destination ipv6 2001::1 128 tcp 23 source ip 2000::1 64
interface gigabitethernet 1/0/1
With this rule, users in subnet 2000::1/64 do not need to pass portal authentication through
GigabitEthernet 1/0/1 when they access services provided on TCP port 23 of host 2001::1.
Related commands
display portal rule
portal free-rule description
Use portal free-rule description to configure a description for a portal-free rule.
Use undo portal free-rule description to delete the description of a portal-free rule.
Syntax
portal free-rule rule-number description text
undo portal free-rule rule-number description
Default
No description is configured for a portal-free rule.
Views
System view
Predefined user roles
network-admin
Parameters
rule-number: Specifies a portal-free rule by its rule number. The value range for this argument varies
by device mode.
text: Specifies the description, a case-sensitive string of 1 to 255 characters.
Examples
# Configure a description of This is IT department for portal-free rule 2.
<Sysname> system-view
[Sysname] portal free-rule 2 description This is IT department

Table of Contents

Other manuals for H3C MSR Series

Related product manuals