154
Enabling portal authentication only for DHCP users
To ensure that only users with valid IP addresses access the network, enable this feature on an
interface. This feature allows only users with DHCP-assigned IP addresses to pass portal
authentication. Users with static IP addresses cannot pass portal authentication to get online.
IPv6 users use IPv6 temporary addresses to access the IPv6 network even though they have been
assigned DHCPv6 addresses. To prevent such IPv6 users from failing authentication when the
user-dhcp-only feature is enabled, make sure the IPv6 temporary address feature is disabled on the
terminal devices.
To enable portal authentication only for DHCP users:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable portal
authentication only for
users with IP
addresses obtained
through DHCP.
portal
[
ipv6
]
user-dhcp-only
By default, both users with IP
addresses obtained through DHCP
and users with static IP addresses
can pass authentication to get
online.
Enabling outgoing packets filtering on a portal-enabled
interface
When you enable this feature on a portal-enabled interface, the device permits the interface to send
the following packets:
•
Packets whose destination IP addresses are IP addresses of authenticated portal users.
•
Packets that match portal-free rules.
Other outgoing packets on the interface are dropped.
To enable outgoing packets filtering on a portal-enabled interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable outgoing packets
filtering.
portal
[
ipv6
]
outbound-filter
enable
By default, outgoing packets filtering
is disabled. The interface can send
any packets.
Configuring portal detection features
Configuring online detection of portal users
Configure online detection to quickly detect abnormal logouts of portal users.
•
Configure ARP or ICMP detection for IPv4 portal users.
•
Configure ND or ICMPv6 detection for IPv6 portal users.
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...