Ppp Ipcp Dns Admit-Any; Ppp Ipcp Dns Request - HP MSR series Command Reference Manual

Layer 2 wan
Hide thumbs Also See for MSR series:
Table of Contents

Advertisement

If a host is connected to the device through PPP, you can execute the winipcfg command or the ipconfig
/all command on the host to check the DNS server IP addresses assigned by the device.
A device can provide a primary DNS server IP address and a secondary DNS server IP address to its
peer.
Examples
# Set the primary DNS server IP address to 100.1.1.1 and the secondary DNS server IP address to
100.1.1.2 on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp ipcp dns 100.1.1.1 100.1.1.2

ppp ipcp dns admit-any

Use ppp ipcp dns admit-any to configure the device to accept the DNS server IP addresses assigned by
the peer even though it does not request the peer for the DNS server IP addresses.
Use undo ppp ipcp dns admit-any to configure the device to deny the DNS server IP addresses assigned
by the peer if it does not request the peer for the DNS server IP addresses.
Syntax
ppp ipcp dns admit-any
undo ppp ipcp dns admit-any
Default
A device does not accept the DNS server IP addresses assigned by the peer if it does not request the peer
for the DNS server IP addresses.
Views
Interface view
Default command level
2: System level
Usage guidelines
You can configure a device to accept the DNS server IP addresses assigned by the peer, through which
domain names can be resolved for the device.
Examples
# Configure interface Serial 2/0 of the local device to accept the DNS server IP addresses allocated by
the peer.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp ipcp dns admit-any

ppp ipcp dns request

Use ppp ipcp dns request to enable a device to request its peer for the DNS server IP address actively
through a port.
Use undo ppp ipcp dns request to restore the default.
10

Advertisement

Table of Contents
loading

Table of Contents