Zyxel USG 40 [123/438] Vlan interface command examples

Zyxel USG 40 [123/438] Vlan interface command examples
Chapter 14 Interfaces
ZyWALL / USG (ZLD) CLI Reference Guide
123
This table lists the VLAN interface commands.
14.9.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.
14.10 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 14.2 on page 95.
The following table identifies the values required for many of these commands. Other input values
are discussed with the corresponding commands.
Table 56 interface Commands: VLAN Interfaces
COMMAND DESCRIPTION
interface interface_name Creates the specified interface if necessary and enters sub-command mode.
[no] port interface_name Specifies the Ethernet interface on which the VLAN interface runs. The no command
clears the port.
[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.
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 57 Input Values for Bridge Interface Commands
LABEL DESCRIPTION
interface_name The name of the interface.
Ethernet interface: For some ZyWALL / USG models use gex, x = 1 - N, where N
equals the highest numbered Ethernet interface for your ZyWALL / USG model.
For other ZyWALL / USG 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 / USG model supports.

Содержание

Похожие устройства