
Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
66
6.4 Virtual Interface Specific Commands
Virtual interfaces use many of the general interface commands discussed at the beginning of
Section 6.2 on page 51. There are no additional commands for virtual interfaces.
6.4.1 Virtual Interface Command Examples
The following commands set up a virtual interface on top of Ethernet interface ge1. The virtual
interface is named ge1:1 with the following parameters: IP 1.2.3.4, subnet 255.255.255.0,
gateway 4.6.7.8, upstream bandwidth 345, downstream bandwidth 123, and description “I am
vir interface”.
6.5 PPPoE/PPTP Specific Commands
This section covers commands that are specific to PPPoE/PPTP interfaces. PPPoE/PPTP
interfaces also use many of the general interface commands discussed at the beginning of
Section 6.2 on page 51.
The following table identifies the values required for many of these commands. Other input
values are discussed with the corresponding commands.
This table lists the PPPoE/PPTP interface commands.
Router# configure terminal
Router(config)# interface ge1:1
Router(config-if-vir)# ip address 1.2.3.4 255.255.255.0
Router(config-if-vir)# ip gateway 4.6.7.8
Router(config-if-vir)# upstream 345
Router(config-if-vir)# downstream 123
Router(config-if-vir)# description I am vir interface
Router(config-if-vir)# exit
Table 25 Input Values for PPPoE/PPTP Interface Commands
LABEL DESCRIPTION
interface_name PPPoE/PPTP interface: pppx, x = 0 - N, where N depends on the number of
PPPoE/PPTP interfaces your ZyWALL model supports.
profile_name The name of the ISP account. You may use 1-31 alphanumeric characters,
underscores(
_), or dashes (-), but the first character cannot be a number. This
value is case-sensitive.
Table 26 interface Commands: PPPoE/PPTP Interfaces
COMMAND DESCRIPTION
interface dial interface_name Connects the specified PPPoE/PPTP interface.
interface disconnect interface_name Disconnects the specified PPPoE/PPTP interface.
interface interface_name Creates the specified interface if necessary and
enters sub-command mode.
[no] account profile_name Specifies the ISP account for the specified PPPoE/
PPTP interface. The
no command clears the ISP
account field.
Komentarze do niniejszej Instrukcji