The layer3-subscriber command specifies an IP address segment for Layer 3 static users and the name of the authentication domain associated with the IP address segment.
The undo layer3-subscriber command deletes the configuration.
The layer3-subscriber ip-address any command configures Layer 3 users whose IPv4 packets fail to match any specified IPv4 address segment to go online through a specified authentication domain.
The undo layer3-subscriber ip-address any command deletes the configuration.
By default, there is no specified IP address segment and its associated authentication domain for Layer 3 static users.
This command is supported only on the NetEngine 8000 F1A.
layer3-subscriber { start-ip-address [ end-ip-address ] | start-ipv6-address [ end-ipv6-address ] | delegation-prefix start-ipv6-prefix [ end-ipv6-prefix ] prefix-length } * [ vpn-instance instance-name ] domain-name domain-name
layer3-subscriber ip-address any domain-name domain-name
undo layer3-subscriber { start-ip-address | start-ipv6-address | delegation-prefix start-ipv6-prefix prefix-length } [ vpn-instance instance-name ]
undo layer3-subscriber ip-address any
Parameter | Description | Value |
---|---|---|
start-ip-address |
Specifies the start IP address on the IP address segment where the Layer 3 static users reside. |
The value is in dotted decimal notation. |
end-ip-address |
Specifies the end IP address on the IP address segment where the Layer 3 static users reside. |
The value is in dotted decimal notation. |
start-ipv6-address |
Specifies the start IP address of the IPv6 network segment where the Layer 3 static users reside. |
The value is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
end-ipv6-address |
Specifies the end IP address of the IPv6 network segment where the Layer 3 static users reside. |
The value is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
delegation-prefix start-ipv6-prefix |
Specifies the start IPv6 delegation prefixes of Layer 3 static users. |
The value is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
delegation-prefix end-ipv6-prefix |
Specifies the end IPv6 delegation prefixes of Layer 3 static users. |
The value is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies the prefix length. |
The value is an integer ranging from 1 to 128. |
vpn-instance instance-name |
Specifies the VPN instance name of Layer 3 static users. |
The value is a string of 1 to 31 characters. |
domain-name domain-name |
Specifies the name of the authentication domain associated with the IP address segment of Layer 3 static users. |
The value is a string of 1 to 64 case-insensitive characters, spaces not supported. |
Usage Scenario
In scenarios in which Layer 3 users send IPv4 packets to go online, you can run the layer3-subscriber command to specify the IPv4 address segments and associated authentication domains for Layer 3 users. A maximum of 2048 address segments can be configured for Layer 3 users. However, if there are more than 2048 address segments on a live network, IPv4 packets of Layer 3 users that fail to match any specified address segment are discarded and therefore these users cannot go online. To prevent this problem, run the layer3-subscriber ip-address any command to allow users whose IPv4 packets fail to match any specified address segment to go online through a specified domain.
Prerequisites
If a Layer 3 static user wants to obtain an IPv6 address or IPv6 delegation prefix from a local address pool, this IPv6 address or IPv6 delegation prefix must exist in the local address pool.
Configuration Impact
After an IPv6 address or delegation prefix has been allocated to a Layer 3 static user, this IPv6 address or delegation prefix will not be allocated to other users.
If the layer3-subscriber ip-address any and layer3-subscriber commands are both configured, IPv4 packets of Layer 3 users are first matched against the specified address segments and associated authentication domains. If IPv4 packets of some Layer 3 users fail to match any specified address segment, these users will go online through the domain specified in the layer3-subscriber ip-address any command. If only the layer3-subscriber ip-address any command is run, all Layer 3 users that send IPv4 packets go online through the specified domain. If only the layer3-subscriber command is run, Layer 3 users whose IPv4 packets fail to match any specified address segment cannot be triggered to go online.Precautions
This command is supported only on the admin VS.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [~HUAWEI-aaa-domain-huawei] commit [~HUAWEI-aaa-domain-huawei] quit [~HUAWEI-aaa] quit [~HUAWEI] layer3-subscriber 2.2.2.2 2.2.2.254 domain-name huawei
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [~HUAWEI-aaa-domain-huawei] commit [~HUAWEI-aaa-domain-huawei] quit [~HUAWEI-aaa] quit [~HUAWEI] layer3-subscriber ip-address any domain-name huawei