
Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
79
6.8.1 VLAN Interface Command Examples
The following commands show you how to set up VLAN vlan100 with the following
parameters: VLAN ID 100, interface ge1, IP 1.2.3.4, subnet 255.255.255.0, MTU 598,
gateway 2.2.2.2, description "I am vlan100”, upstream bandwidth 345, and downstream
bandwidth 123.
6.9 Bridge Specific Commands
This section covers commands that are specific to bridge interfaces. Bridge 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 bridge interface commands.
Router# configure terminal
Router(config)# interface vlan100
Router(config-if-vlan)# vlan-id 100
Router(config-if-vlan)# port ge1
Router(config-if-vlan)# ip address 1.2.3.4 255.255.255.0
Router(config-if-vlan)# ip gateway 2.2.2.2
Router(config-if-vlan)# mtu 598
Router(config-if-vlan)# upstream 345
Router(config-if-vlan)# downstream 123
Router(config-if-vlan)# description I am vlan100
Router(config-if-vlan)# exit
Table 35 Input Values for Bridge Interface Commands
LABEL DESCRIPTION
interface_name The name of the interface.
Ethernet interface: For the ZyWALL USG 300 and above, use gex, x = 1 - N,
where N equals the highest numbered Ethernet interface for your ZyWALL
model.
The ZyWALL USG 100 and 200 models use a name such as wan1, wan2,
opt, lan1, ext-wlan, or dmz.
VLAN interface: vlanx, x = 0 - 4094
bridge interface: brx, x = 0 - N, where N depends on the number of bridge
interfaces your ZyWALL model supports.
Table 36 interface Commands: Bridge Interfaces
COMMAND DESCRIPTION
interface interface_name Creates the specified interface if necessary and
enters sub-command mode.
[no] join interface_name Adds the specified Ethernet interface or VLAN
interface to the specified bridge. The
no command
removes the specified interface from the specified
bridge.
show bridge available member Displays the available interfaces that could be
added to a bridge.
Komentáře k této Příručce