Page 241 / 998 Scroll up to view Page 236 - 240
VLAN Functional Description
VLAN
2-91
iMG/RG Software Reference Manual (Switching)
FIGURE 2-3
IP interface over LAN - first steps
The maximum number of primary IP interfaces that can be defined is 16 and is equal to the maximum number of
VLANs that it is possible to create on the residential gateway.
When more than one IP interfaces is defined, routing between these interfaces is immediately enabled without
requiring any route to be explicitly defined.
By default, the Gateway starts with one IP interface attached to the default VLAN in order to provide remote
access to the system via telnet.
The default VLAN and the IP interface attached to it cannot be removed. It's possible to remove all the ports
from the default VLAN if one or more other VLANs exist.
2.4.2.4 VLAN Translations
An additional feature that can be of use - when trying to match Network specified VLAN id’s to a customer’s
network - is the use of VLAN translations. This mechanism allows the user take all traffic received from the
WAN interface - on a given VLAN - and convert the VLAN TAG to an internal VID - for transfer to the LAN
interfaces.
Default
Configuration
IP Interface
on VLAN
VLAN
Creation
IP Interface
Creation
IP Interface
Configuration
VLAN Port
Adding
VLAN Ethernet
Transport Adding
IP and VLAN
Attach
Page 242 / 998
VLAN
Functional Differences in Product Categories
iMG/RG Software Reference Manual (Switching)
2-92
2.4.3
Functional Differences in Product Categories
There are a number of different options that are available to manage VLANs in the newer devices, however the
Basics for creating and configuring a VLAN - are simplified into a small subset of commands that are described
below. For more sophisticated users, access to the BRIDGE VLAN commands can provide additional flexibility.
Note 1:
To create a primary IP interface and connect it to a VLAN, the following steps must be performed.
Create a VLAN using the VLAN ADD VID command
Add ports to the VLAN using the VLAN ADD PORT command
Add the VLAN to the Ethernet transports list using the ETHERNET ADD TRANSPORT command. This
command instructs the system that a new (virtual) transport device has been added to the system.
Create an IP interface with the IP ADD INTERFACE command. This command constructs a new IP
interface with the specified IP address and net mask but doesn't bind the IP interface to any port.
Bind the IP interface to the VLAN using the IP ATTACH TRANSPORT command.
***** It is not necessary to add the VLAN to the CPU port - when the VLAN is attached to the bridge,
it is automatically added to the CPU port.
Note 2:
To create a primary IP interface and connect it to a VLAN, the following steps must be performed.
Create a VLAN using the VLAN CREATE
command - the VLAN is automatically created on the Bridge.
Add switch ports to the VLAN using the VLAN ADD command
Create an IP interface with the IP ADD INTERFACE command. This command constructs a new IP
interface with the specified IP address and net mask but doesn't bind the IP interface to any port.
Bind the IP interface to the VLAN using the IP ATTACH command.
***** If it is desired that the CPU recieve traffic in a particular VLAN, it is necessary to add the VLAN to
the CPU port - in the tagged mode - using the VLAN ADD command.
TABLE 2-6
Functions
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
VLAN tagging
X
X
X
X
X
X
X
X
X
VLAN support on Ethernet interfaces
X
X
X
X
X
X
X
X
X
VLAN support on ADSL interface
X
X
X
VLAN versus IP interface
1
2
1
2
2
2
1
2
2
VLAN Translations
X
X
X
X
X
Page 243 / 998
VLAN command reference
VLAN
2-93
iMG/RG Software Reference Manual (Switching)
2.4.4
VLAN command reference
This section describes the commands available to create, configure and manage VLANs.
2.4.4.1 VLAN CLI commands
The table below lists the VLAN commands provided by the CLI:
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
BRIDGE ADD VLAN
X
X
X
X
X
X
BRIDGE CLEAR VLANS
X
X
X
X
X
X
BRIDGE DELETE VLAN
X
X
X
X
X
X
BRIDGE LIST STATIC VLANS
X
X
X
X
X
X
BRIDGE LIST VLANS
X
X
X
X
X
X
BRIDGE SHOW VLAN
X
X
X
X
X
X
BRIDGE CLEAR INTERFACEVLAN-
STATS
X
X
X
X
X
X
BRIDGE LIST INTERFACEVLANSTATS
X
X
X
X
X
X
BRIDGE SHOW INTERFACEVLAN-
STATS
X
X
X
X
X
X
BRIDGE ADD VLANINTERFACE
X
X
X
X
X
X
BRIDGE CLEAR VLANINTERFACES
X
X
X
X
X
X
BRIDGE DELETE VLANINTERFACE
X
X
X
X
X
X
BRIDGEVLAN ADD TRANSPORT
X
X
X
X
X
X
BRIDGEVLAN CLEAR TRANSPORTS
X
X
X
X
X
X
BRIDGEVLAN DELETE TRANSPORT
X
X
X
X
X
X
BRIDGEVLAN LIST TRANSPORTS
X
X
X
X
X
X
VLAN ADD
X
X
X
X
X
X
VLAN ADD PORT
X
X
X
VLAN ADD VID
X
X
X
VLAN CREATE
X
X
X
X
X
X
Page 244 / 998
VLAN
VLAN command reference
iMG/RG Software Reference Manual (Switching)
2-94
2.4.4.1.1 BRIDGE ADD VLAN
Syntax
BRIDGE ADD VLAN <name> <vlanid> <fdb>
Description
This command adds a named VLAN (either the default VLAN or a user-defined VLAN)
to the bridge. By default, all of the bridge interfaces are added to the untagged interface
list of the default VLAN.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> bridge add vlan VLAN_1 2 FDB_1
VLAN DELETE
X
X
X
X
X
X
X
X
X
VLAN LIST
X
X
X
X
X
X
VLAN SHOW
X
X
X
VLAN TRANSLATE
X
X
X
X
X
Option
Description
Default Value
Name
An arbitrary name that identifies the VLAN. It can be
made up of one or more letters or a combination of
letters and digits, but it cannot start with a digit. Set to
‘DefaultVlan’ to add the default VLAN.
N/A
Vlanid
The VLAN Id that the user wants to assign to the
named VLAN. The valid values for the VLAN Id ranges
between 1 and 4094. Set to 1 to add the default VLAN.
(VLAN Id 1 is used only for the default VLAN.)
Fdb
The name of an existing Filtering Database with which
the user wants the VLAN to be associated. If the FDB
already exists, the VLAN becomes associated with that
FDB. If the FDB does not exist, it is created and the
VLAN becomes associated with it. See bridge list fdbs
CLI commands to display all the existing filtering data-
bases configured in the bridge and their corresponding
statistics. Set to DefaultFdb’ to add the default VLAN.
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 245 / 998
VLAN command reference
VLAN
2-95
iMG/RG Software Reference Manual (Switching)
See also
BRIDGE DELETE VLAN
BRIDGE LIST STATIC VLAN
BRIDGE LIST VLANS
2.4.4.1.2 BRIDGE CLEAR VLANS
Syntax
BRIDGE CLEAR VLANS
Description
This command deletes the statically configured VLANs from the bridge. The egress inter-
faces and multicast filtering entries (for an IVM configuration) associated with the VLANs
are also deleted by this command. If a VLAN is the last VLAN associated with its FDB,
the FDB along with the unicast and multicast filtering entries and forward all/unregistered
group entries are also deleted from the bridge.
Example
--> bridge add interface bridge1
See also
BRIDGE ADD VLANS
BRIDGE DELETE VLAN
2.4.4.1.3 BRIDGE DELETE VLAN
Syntax
BRIDGE DELETE VLAN {<name>|<number>}
Description
This command deletes a single statically configured VLAN.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> bridge delete vlan VLAN_1
See also
BRIDGE ADD VLAN
BRIDGE LIST STATIC VLANS
BRIDGE LIST VLANS
Name
Description
Default Value
Name
A name that identifies an existing VLAN. To display the
list of statically configured VLANs, use bridge list static
vlans. To display the list of all the static and dynamic
VLANs in the bridge use bridge list vlans CLI command
N/A
Number
A number that identifies an existing VLAN. To display
the list of statically configured VLANs, use the bridge
list static vlans command. The number appears in the
first column under the heading ID.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top