dot1x free-ip

Syntax

dot1x free-ip ip-address { mask-address | mask-length }

undo dot1x free-ip { ip-address { mask | mask-length } | all }

View

System view

Default level

2: System level

Parameters

ip-address: Specifies a freely accessible IP address segment, also called "a free IP."

mask: Specifies an IP address mask.

mask-length: Specifies IP address mask length.

all: Removes all free IP addresses.

Description

Use dot1x free-ip to configure a free IP. Users can access the segment before passing 802.1X authentication.

Use undo dot1x free-ip to remove the specified or all free IP addresses.

By default, no free IP is configured.

When global MAC authentication or port security is enabled, the free IP does not take effect.

Related commands: display dot1x.

Examples

# Configure 192.168.0.0/24 as a free IP address.

<Sysname> system-view
[Sysname] dot1x free-ip 192.168.0.0 24