3Com 3031 Command Reference Manual page 246

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

246
C
4: L
L
P
HAPTER
INK
AYER
ROTOCOL
stac-lzs is configured at both ends of a point-to-point link, will this link support the
stac-lzs compression.
For the related command, see link-protocol ppp.
Example
Configure stac-lzs compression on the local router.
[3Com-Serial0/0/0] ppp compression stac-lzs
ppp ipcp dns
Syntax
ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any }
undo ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any }
View
Interface view
Parameter
primary-dns-address: Address of the primary DNS server.
secondary-dns-address: Address of the secondary DNS server.
admit-any: Accepts any DNS address requested by the peer.
Description
Using the ppp dns command, you can enable the Router to provide the DNS
address for the peer. Using the undo ppp dns command, you can disable this
process.
By default, the Router does not provide the DNS address for the peer.
When other devices are connected with the Router (e.g. PC is connected to the
Router by dialing up) via the PPP protocol, the Router can assign the DNS address
to the peer equipment after the negotiation. Thus, the peer equipment can
directly access the network via the domain name.
If you connect the Router with your PC, you can use the command winipcfg or
ipconfig /all on your PC to view the DNS address provided by the Router.
For the related commands, see ppp authentication–mode pap and local-user.
Example
Configure the primary DNS address of the local Router as 100.1.1.1, and the
secondary DNS address as 100.1.1.2.
[3Com-Serial0/0/0] ppp ipcp dns 100.1.1.1 100.1.1.2

Advertisement

Table of Contents
loading

Table of Contents