ZyXEL Communications 3.1 ユーザーズマニュアル

ページ / 386
 Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
89
6.10.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.11  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 
.
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.
[no] vlan-id <1..4094>
Specifies the VLAN ID used to identify the VLAN. The 
no
 command clears the VLAN ID.
show port vlan-id
Displays the Ethernet interface VLAN settings.
Table 36   
interface Commands: VLAN Interfaces (continued)
COMMAND
DESCRIPTION
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 37   
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 gexx = 1 - N, where N 
equals the highest numbered Ethernet interface for your ZyWALL model.
The ZyWALL USG 200 and below models use a name such as wan1, wan2, opt, 
lan1, ext-wlan, or dmz.
VLAN interface: vlanxx = 0 - 4094
bridge interface: brxx = 0 - N, where N depends on the number of bridge interfaces 
your ZyWALL model supports.
Table 38   
interface Commands: Bridge Interfaces
COMMAND
DESCRIPTION
interface interface_name
Creates the specified interface if necessary and enters sub-command mode.