HP VPN Firewall Appliances Network Management Configuration Guide

119
To configure settings for DNS server address negotiation when the device is functioning as the
client 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 device to request
the peer for a DNS server
address.
ppp ipcp dns request
By default, a device does not request its
peer for a DNS server address.
4. Enable the device 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.
Configuring the device 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 device 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 Access Control 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