The portal auth-network command configures the source subnet for Portal authentication.
The undo portal auth-network command restores the default setting.
By default, the source subnet for Portal authentication is 0.0.0.0/0, indicating that users in all subnets must pass Portal authentication.
portal auth-network network-address { mask-length | mask-address }
undo portal auth-network { network-address { mask-length | mask-address } | all }
Parameter |
Description |
Value |
---|---|---|
network-address |
Specifies a Portal authentication subnet. |
The value is in dotted decimal notation. |
mask-length | mask-address |
Specifies the mask length or mask of the Portal authentication subnet.
|
|
all |
Deletes all Portal authentication subnets. |
- |
Usage Scenario
After the source subnet for Portal authentication is configured, only user packets from the subnet can trigger Portal authentication. If an unauthenticated user is not on a Portal authentication subnet and packets from the user do not match any Portal authentication-free rule, the device discards the user's packets.
Precautions
The command takes effect only for Layer 3 Portal authentication. In Layer 2 Portal authentication, users on all subnets must be authenticated.