mac

Commands for Web Portal Configuration
507
48.11 webportal enable (Port)
Command: webportal enable
no webportal enable
Function: Enable/disable web portal authentication of the port.
Parameter: None.
Command Mode: Port Mode.
Default: Do not enable web portal authentication of the port.
Usage Guide: Enable web portal authentication of the port. The no command disables
web portal authentication of the port, it is mutually exclusive with 802.1x on port.
Example: Enable/disable web portal authentication on port.
switch(config)#interface ethernet 1/1
switch(config-if-ethernet1/1)#webportal enable
show running-config shows webportal authentication of the port enabled successfully.
48.12 webportal nas-ip
Command: webportal nas-ip <ip-address>
no webportal nas-ip
Function: Configure IP source address for communicating between accessing device
and portal server.
Parameter: <ip-address>: IP source address for communicating between accessing
device and portal server in dotted decimal notation, it must be the legal unicast address.
Command Mode: Global Mode.
Default: Do not configure the specific IP source address, the communication between
accessing device and portal server uses the IP address of the sending interface.
Usage Guide: The configured source address must be the local IP address, or else it
maybe not process the packet communication with portal server. It is recommended to
use the loopback interface address as the source address to avoid the return packet is
unreachable when the physical interface is down, and nas-ip should be configured in
web portal. The no command deletes IP source address for communicating between
accessing device and portal server.
Example: Configure IP source address as 10.1.1.1 for communicating between
accessing device and portal server.
switch(config)#webportal nas-ip 10.1.1.1