R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

40
Configuring PPP user binding
This function binds users in different domains with VT interfaces without knowing the domains of the users.
This feature is implemented in the following steps:
Without knowing user domains, you must first authenticate users. If a user passes the authentication,
you can obtain the user domain name. The domain name varies with authentication results. For
more information, see authentication modes in "Configuring PPP authentication."
If P
PP user binding is enabled on an interface, the interface binds the user to a corresponding VT
interface according to the binding rules and obtained domain name, and creates a VA interface for
protocol negotiation and packet transmission at the network layer.
To configure PPP user binding:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VT interface view.
interface virtual-template
interface-number
N/A
3. Configure the local end to
authenticate the peer end
by using PAP, CHAP,
MS-CHAP, or
MS-CHAP-V2.
ppp authentication-mode { chap |
ms-chap | ms-chap-v2 | pap } *
By default, no authentication is
performed.
When configuring this command, do
not specify the domain by using the
domain keyword.
4. Enable PPP user binding.
ppp user bind enable
By default, PPP user binding is
disabled.
5. Configure the PPP user
binding rules.
ppp user bind virtual-template
number domain domainname
By default, no PPP user binding rules
are configured.
Disabling peer route creation
By default, PPP creates peer routes (routes to the peer addresses) and adds them to the local routing table.
Use this feature when it is unnecessary to learn peer routes.
HP recommends not using this feature when the IP addresses of the two peers are not in the same network
segment. Otherwise, the peers might fail to communicate.
To disable peer route creation:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Disable peer route
creation.
undo peer neighbor-route
Optional.
By default, peer route creation is
enabled.