R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Configuration Guide
39
Ste
p
Command
Remarks
4. Enable the local end to
accept the DNS server
address assigned by the peer.
ppp ipcp dns admit-any
Optional.
By default, a device does not
accept the DNS server address
assigned by the peer.
NOTE:
The server will specify a DNS server address for a client in PPP negotiation only after the client is
configured with the ppp ipcp dns request command. For some special devices to forcibly specify DNS
server addresses for clients that dot not initiate requests, you must configure the ppp ipcp dns admit-any
command on these devices.
2. Configuring the local end as the server
To configure settings for DNS server address negotiation when the device is functioning as the
server in PPP negotiation:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable the local end to assign
a DNS server address to the
peer.
ppp ipcp dns primary-dns-address
[ secondary-dns-address ]
By default, a device does not
assign a DNS server address to the
peer.
The server specifies a DNS server
address for a client only after
receiving a request from the client.
Enabling PPP traffic statistics collection
PPP can generate traffic-based accounting statistics on each PPP link. The statistics include the amount of
the inbound and outbound information (in terms of the number of bytes and the number of packets) on
a link. The information can be used by AAA application modules for accounting and control purposes.
For more information about AAA accounting, see Security Configuration Guide.
To enable PPP traffic statistics collection:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable PPP traffic statistics
collection.
ppp account-statistics enable [ acl
{ acl-number | name acl-name } ]
Disabled by default.
Restoring the default settings for an interface










