244Step Command Remarks2. Enter interface view. interface interface-typeinterface-number N/A3. Enable IP segment match. ppp ipcp remote-address match By default, this feature isdisabled.Configuring DNS server IP address negotiation on the clientDuring PPP negotiation, the server will assign a DNS server IP address only for a client configuredwith the ppp ipcp dns request command. For some special devices to forcibly assign DNS serverIP addresses to clients that do not initiate requests, configure the ppp ipcp dns admit-anycommand on these devices.To configure the client:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Enable the device torequest the peer for a DNSserver IP address.ppp ipcp dns request By default, a client does not requestits peer for a DNS server IP address.4. Configure the device toaccept the DNS server IPaddresses assigned by thepeer even though it doesnot request the peer for theDNS server IP addresses.ppp ipcp dns admit-anyBy default, a device does not acceptthe DNS server IP addressesassigned by the peer if it does notrequest the peer for the DNS serverIP addresses.This command is not necessary if theppp ipcp dns request command isconfigured.Configuring DNS server IP address negotiation on the serverStep Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Specify the primary andsecondary DNS server IPaddresses to be allocatedto the peer in PPPnegotiation.ppp ipcp dnsprimary-dns-address[ secondary-dns-address ]By default, a device does not allocateDNS server IP addresses to its peer ifthe peer does not request them.Enabling PPP accountingPPP accounting collects PPP statistics, including the numbers of received and sent PPP packetsand bytes. AAA can use the PPP statistics for accounting. For more information about AAA, see"Configuring AAA."To enable PPP accounting: