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.