The web-auth-server command binds a Portal server template to an interface.
The undo web-auth-server command unbinds a Portal server template from an interface.
By default, no Portal server template is bound to an interface.
Layer 2 interface view
web-auth-server server-name [ bak-server-name ] direct
undo web-auth-server [ server-name [ bak-server-name ] direct ]
VLANIF interface view
web-auth-server server-name [ bak-server-name ] { direct | layer3 }
undo web-auth-server [ server-name [ bak-server-name ] { direct | layer3 } ]
Routed main interface view
web-auth-server server-name [ bak-server-name ] layer3
undo web-auth-server [ server-name [ bak-server-name ] layer3 ]
Parameter | Description | Value |
---|---|---|
server-name |
Specifies the name of the Portal server template. |
The value must be an existing Portal server template name. |
bak-server-name |
Specifies the name of the secondary Portal server template. NOTE:
The name of the secondary Portal server template cannot be configured to the command-line keywords direct and layer3. |
The value must be an existing Portal server template name. |
direct |
Specifies Layer 2 authentication as the Portal authentication mode. When there is no Layer 3 forwarding device between the device and users, configure the Layer 2 authentication mode. |
- |
layer3 |
Specifies Layer 3 authentication as the Portal authentication mode. When there is a Layer 3 forwarding device between the device and users, configure the Layer 3 authentication mode. |
- |
VLANIF interface view, Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, Eth-Trunk interface view
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
After the upgrade, this command is no longer supported, and it is replaced by the web-auth-server server-name [ bak-server-name ] { direct | layer3 } command in the Portal access profile view.