H3C S6812 Series Command Reference Manual page 1857

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

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 VLAN-interface 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 vlan-interface 1
With this rule, users in subnet 10.10.10.1/24 do not need to pass portal authentication on
VLAN-interface 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 as VLAN-interface 1.
<Sysname> system-view
[Sysname] portal free-rule 2 destination ipv6 2001::1 128 tcp 23 source ip 2000::1 64
interface vlan-interface 1
With this rule, users in subnet 2000::1/64 do not need to pass portal authentication on
VLAN-interface 1 when they access services provided on TCP port 23 of host 2001::1.
Related commands
display portal rule
portal free-rule destination
Use portal free-rule destination to configure a destination-based portal-free rule.
Use undo portal free-rule to delete portal-free rules.
Syntax
portal free-rule rule-number destination host-name
undo portal free-rule { rule-number | all }
Default
No destination-based portal-free rule is configured.
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.
destination: Specifies the destination host.
host-name: Specifies the destination host by its name, a case-insensitive string of 1 to 253
characters. Valid characters are letters, digits, hyphens (-), underscores (_), dots (.), and asterisks (*).
The host name string cannot be ip and ipv6.
all: Specifies all portal-free rules.
Usage guidelines
You can configure a host name in one of the following ways:
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents