ipoe-service-type

Function

The ipoe-service-type command configures a basic protocol stack for IPoE dual-stack users.

The undo ipoe-service-type command restores the default configuration.

By default, no protocol stack is configured for IPoE dual-stack users.

This command is supported only on the NetEngine 8000 F1A.

Format

ipoe-service-type { ipv4 | ipv6 }

undo ipoe-service-type

Parameters

Parameter Description Value
ipv4

Specifies the IPv4 as a basic protocol stack.

-

ipv6

Specifies the IPv6 as a basic protocol stack.

-

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

In cold standby scenarios, to implement load balancing among multiple BRASs, run the ipoe-service-type command to configure a basic protocol stack for IPoE dual-stack users.

Configuration Impact

If IPv4 is specified as the basic protocol stack, after a user uses an IPv6 address to go online, the device checks whether the IPv4 stack is online. If not, the user is not allowed to go online from the IPv6 stack. If the user goes offline from the IPv4 stack, both the IPv4 and IPv6 stacks are offline. In contrast, when IPv6 is used as the basic protocol stack, the device must check whether the IPv6 stack is online when the user uses an IPv4 address to go online. If the user is not online, the user is not allowed to go online from the IPv4 stack. When all IPv6 addresses are offline, both the IPv4 and IPv6 stacks are offline. For example, if the ipoe-service-type ipv6 command is run in the BAS view and an IPoE IPv4+ND+PD user requests to go offline from the PD stack, the user is triggered to go offline from all stacks. If the ipv6 pd-address-release separate user-type ipoe command is run in the domain view also and the IPoE IPv4+ND+PD user requests to go offline from the PD stack, the user is triggered to go offline only from the PD stack.

Precautions

This command is supported only on the admin VS.

This function is not supported for Layer 2 and Layer 3 leased line users.

Example

# Specify IPv4 as the basic protocol stack on the interface GE0/1/8.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/8
[~HUAWEI-GigabitEthernet0/1/8] bas
[~HUAWEI-GigabitEthernet0/1/8-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/8-bas] commit
[~HUAWEI-GigabitEthernet0/1/8-bas] ipoe-service-type ipv4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >