![THOMSON R7.4 Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/thomson/r7-4/r7-4_configuration-manual_1109270015.webp)
E-DOC-CTC-20080229-0001 v1.0
9
3|
Creating VLANs on the Thomson Gateway
3
Creating VLANs on the Thomson Gateway
Introduction
This chapter describes the creation of new VLANs on the Thomson Gateway. As soon as a VLAN is created, it
can be used for:
VLAN bridging by the Ethernet bridge.
WAN-side VLAN tagging by logical Ethernet interfaces.
VLAN routing.
The CLI commands explained in this chapter belong to the command group
:eth vlan
.
Creating a new VLAN
To create a new VLAN, use the command
:eth vlan add
.
Two parameters must be specified:
Name
: the name of the new VLAN.
Vid (VLAN identifier)
: the VID of the new VLAN.
This VID corresponds to the value of the VID field of VLAN-tagged frames that belong to this VLAN. As
this VID field has a size of 12 bits, the VID can be a number within the range from 0 through 4095.
However, following VIDs are reserved and can not be used to create a new VLAN:
0: this value indicates that the VLAN tag contains only user priority information and no VID.
1: this value indicates the default VID. This value is already in use by the default VLAN on the bridge.
4095: this value is reserved.
Optionally, following parameter can be specified:
Addrule
: this parameter indicates whether the default VLAN learning constraint is used. If the parameter
is not specified, the parameter is enabled.
If the parameter is
enabled
, the default VLAN learning constraint is used. This means that Shared
VLAN Learning (SVL) is being used between the new VLAN and the default VLAN.
If the parameter is
disabled
, a separate filtering database is created for the new VLAN and
Independent VLAN Learning (IVL) is being used implicitly.
For example, to create a data, video and voice VLAN, execute following commands:
It is recommended to disable this parameter when creating a new VLAN. In this case, the same
MAC address can be used in different VLANs. No MAC address conflicts occur when different
VLANs are connected to the same device (for example a router at the WAN side).
For more information on the configuration of VLAN learning constraints, see
“4.1 VLAN
Learning Constraints” on page 12
.
=>:eth vlan add name=data vid=2
=>:eth vlan add name=video vid=3 addrule=enabled
=>:eth vlan add name=voice vid=4 addrule=disabled
Содержание R7.4
Страница 2: ......
Страница 3: ...Thomson Gateway VLAN Configuration Guide R7 4 and higher...
Страница 6: ...E DOC CTC 20080229 0001 v1 0 ii Contents...
Страница 10: ...E DOC CTC 20080229 0001 v1 0 4 1 Introduction...
Страница 14: ...E DOC CTC 20080229 0001 v1 0 8 2 VLAN Overview...
Страница 38: ...E DOC CTC 20080229 0001 v1 0 32 4 Ethernet Bridge and VLANs...
Страница 42: ...E DOC CTC 20080229 0001 v1 0 36 5 Logical Ethernet Interfaces and VLANs...
Страница 43: ......