web-auth-server source

Function

The web-auth-server source command configures the source interface from which the device sends packets to the web authentication server. This interface must have an IP address used as the source IP address of the packet.

The undo web-auth-server source-interface command removes this source interface.

By default, no source interface from which the device sends packets to the web authentication server is configured.

This command is supported only on the NetEngine 8000 F1A.

Format

web-auth-server source interface { interface-type interface-number | interface-name }

undo web-auth-server source

Parameters

Parameter Description Value
interface-type

Specifies the source interface type, either the physical interface or the loopback interface.

-

interface-number

Specifies the source interface number. Different types of interfaces have different number formats.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
portal write

Usage Guidelines

Usage Scenario

When a web server is deployed in a VPN and the device sends a packet to the web server, the IP address of the source interface configured using the web-auth-server source command is preferentially selected. If no source interface is configured, select the outbound interface with reachable route based on the VPN ID and destination IP address as the source IP address. If the required route is not found, select the IP address of any interface within the VPN as the source IP address.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure the source interface from which the device sends packets to the web authentication server to Looback0 interface.
<HUAWEI> system-view
[~HUAWEI] interface loopback 0
[~HUAWEI-LoopBack0] commit
[~HUAWEI-LoopBack0] quit
[~HUAWEI] web-auth-server source interface LoopBack 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >