< Home

monitor (Portal Authentication Template View)

Function

The monitor command configures the value of default parameter fwip.

The undo monitor command cancels the configuration of the value of default parameter fwip.

Format

monitor interface interface-type interface-number

monitor source-ip source-ip

undo monitor interface

undo monitor source-ip

Parameters

Parameter Description Value
interface interface-type interface-number

Sets the value of fwip to the IP address of the FW interface used for communicating with the portal server. If multiple IP addresses are configured for the interface, the primary IP address is used.

-
source-ip source-ip

Sets the value of fwip to the FW IP address for communicating with the portal server.

The value is in dotted decimal notation.

Views

Portal authentication template view

Default Level

2: Configuration level

Usage Guidelines

After you run the portal-url push information command, the FW automatically adds default parameters in the URL of the portal server and sends the modified URLs to the portal server for authentication. One of the default parameters is fwip.

This command configures the value of default parameter fwip. If this command is not executed, the value of default parameter fwip is 0.0.0.0.

Example

# Set the value of default parameter fwip to the IP address of the GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] user-manage portal-template template1
[sysname-portal-template-template1] monitor interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >