pppoe-server service-name-type

Function

The pppoe-server service-name-type command configures a service name matching mode.

The undo pppoe-server service-name-type command restores the default service name matching mode.

By default, approximate string matching is used for service names.

This command is supported only on the NetEngine 8000 F1A.

Format

pppoe-server service-name-type exact-match

undo pppoe-server service-name-type exact-match

Parameters

Parameter Description Value
exact-match

Indicates exact matching for service names.

-

Views

Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pppoebras write

Usage Guidelines

Usage Scenario

A PPPoE client and server negotiate the service name during PPPoE negotiation. PPPoE negotiation is successful only if the client and server have the same service name configured. A PPPoE server can have different service names configured to carry different types of services.

A VT can have a maximum of eight service names configured. To configure a service name matching mode, run the pppoe-server service-name-type command.

**Table 1 ** Service name matching mode in a VT

Matching Mode Client VT Matching Result
Exact matching No service name is specified. Less than eight service names are configured. Matching succeeds.
Exact matching No service name is specified. A maximum of eight service names are configured. Matching fails.
Exact matching A service name is specified. A service name is configured, and it is the same as that on the client. Matching succeeds.
Exact matching A service name is specified. A service name is configured, but it is not the same as that on the client. Matching fails.
Approximate string matching No service name is specified. Not limited. Matching succeeds.
Approximate string matching A service name is specified. A service name is configured, and it is the same as that on the client. Matching succeeds.
Approximate string matching A service name is specified. Less than eight service names are configured, but no one is the same as that on the client. Matching succeeds.
Approximate string matching A service name is specified. A maximum of eight service names are configured, but no one is the same as that on the client. Matching fails.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure exact matching for service names.
<HUAWEI> system-view
[~HUAWEI] interface virtual-template 10
[*HUAWEI-Virtual-Template10] pppoe-server service-name-type exact-match
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >