dot1x url

Syntax

dot1x url url-string

undo dot1x url

View

System view

Default level

2: System level

Parameters

url-string: Specifies the redirect URL, a case-sensitive string of 1 to 64 characters in the format http://string.

Description

Use dot1x url to configure a redirect URL. When a user uses a web browser to access networks other than the free IP, the device redirects the user to the redirect URL.

Use undo dot1x url to remove the redirect URL.

By default, no redirect URL is defined.

The redirect URL must be on the free IP subnet.

If you configure the dot1x url command multiple times, the last configured URL takes effect.

Related commands: display dot1x and dot1x free-ip.

Examples

# Configure the redirect URL as http://192.168.0.1.

<Sysname> system-view
[Sysname] dot1x url http://192.168.0.1