Chapter 5 Interfaces
ZyWALL (ZLD) CLI Reference Guide
63
5.2.9.1 PPPoE/PPTP Interface Command Examples
The following commands show you how to configure PPPoE/PPTP interface ppp0 with the
following characteristics: base interface ge1, ISP account Hinet, local address 1.1.1.1, remote
address 2.2.2.2, MTU 1200, upstream bandwidth 345, downstream bandwidth 123, description
“I am ppp0”, and dialed only when used.
interface interface_name Creates the specified interface if necessary and
enters sub-command mode.
[no] connectivity {nail-up | dial-on-
demand}
Specifies whether the specified PPPoE/PPTP
interface is always connected (nail-up) or
connected only when used (dial-on-demand). The
no command sets it to dial-on-demand.
[no] account profile_name Specifies the ISP account for the specified PPPoE/
PPTP interface. The
no command clears the ISP
account field.
[no] bind interface_name Specifies the base interface for the PPPoE/PPTP
interface. The
no command removes the base
interface.
[no] local-address ip Specifies a static IP address for the specified
PPPoE/PPTP interface. The
no command makes
the PPPoE/PPTP interface a DHCP client; the
other computer assigns the IP address.
[no] remote-address ip Specifies the IP address of the PPPoE/PPTP
server. If the PPPoE/PPTP server is not available
at this IP address, no connection is made. The no
command lets the ZyWALL get the IP address of
the PPPoE/PPTP server automatically when it
establishes the connection.
[no] mss <536..1460> Specifies the maximum segment size (MSS) the
interface can use. MSS is the largest amount of
data, specified in bytes, that the interface can
handle in a single, unfragmented piece. The
no
command has the ZyWALL use its default MSS
setting.
Table 29 interface Commands: PPPoE/PPTP Interfaces (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# interface ppp0
Router(config-if-ppp)# account Hinet
Router(config-if-ppp)# bind ge1
Router(config-if-ppp)# local-address 1.1.1.1
Router(config-if-ppp)# remote-address 2.2.2.2
Router(config-if-ppp)# mtu 1200
Router(config-if-ppp)# upstream 345
Router(config-if-ppp)# downstream 123
Router(config-if-ppp)# connectivity dial-on-demand
Router(config-if-ppp)# description I am ppp0
Router(config-if-ppp)# exit