Page 251 / 998 Scroll up to view Page 246 - 250
VLAN command reference
VLAN
2-101
iMG/RG Software Reference Manual (Switching)
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 vlaninterface VLAN_1 tagged bridge1
See also
BRIDGE ADD INTERFACE
BRIDGE ATTACH
BRIDGE ADD VLAN
2.4.4.1.11 BRIDGE CLEAR VLANINTERFACES
Syntax
BRIDGE CLEAR VLANINTERFACES {<name>|<number>} [{ tagged |
untagged }]
Description
This command provides three different option to delete:
All tagged interfaces
.
All untagged interfaces.
All the egress interfaces, i.e., all tagged and untagged interfaces of the named VLAN.
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 com-
mand.
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
Tagged
To add a port in the tagged port list of the named
VLAN.
N/A
Untagged
To add a port in the untagged port list of the named
VLAN.
N/A
interface name
The name of a bridge interface that has previously been
added and attached to a transport using the bridge add
interface and bridge attach CLI commands, respectively.
N/A
Page 252 / 998
VLAN
VLAN command reference
iMG/RG Software Reference Manual (Switching)
2-102
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 clear vlaninterfaces
See also
BRIDGE ADD VLAN
BRIDGE ADD VLANINTERFACE
BRIDGE LIST STATIC VLANS
BRIDGE LIST VLANS
2.4.4.1.12 BRIDGE DELETE VLANINTERFACE
Syntax
BRIDGE DELETE VLANINTERFaCE {<name>|<number>} <interfacename>
Description
This command removes an interface from the egress interface list of the named VLAN.
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 com-
mand. This command also displays the egress interface
list for each VLAN.
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
Tagged
Removes all the tagged interfaces from the egress
interface list of the VLAN. If no tagged / untagged
option is given in this command, all the egress inter-
faces are removed from the VLAN.
N/A
Untagged
Removes all the untagged interfaces from the egress
interface list of the VLAN. If no tagged / untagged
option is given in this command, all the egress inter-
faces are removed from the VLAN.
N/A
Page 253 / 998
VLAN command reference
VLAN
2-103
iMG/RG Software Reference Manual (Switching)
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 vlaninterface VLAN_1 bridge1
See also
BRIDGE ADD VLAN
BRIDGE ADD VLANINTERFACE
BRIDGE LIST STATIC VLANS
BRIDGE LIST VLANS
2.4.4.1.13 BRIDGEVLAN ADD TRANSPORT
Syntax
BRIDGE VLAN ADD TRANSPORT <name> <vlanid>
Description
This command adds a named VLAN transport corresponding to a VLAN Id. By attaching
an IP interface to this transport, the IP interface will be able to send and receive traffic on the
VLAN with Id as <vlanid>. Section 23.5 describes the CLI command to attach an IP interface to a
VLAN transport.
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).
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 which is an
egress interface in the VLAN. To display the list of stati-
cally configured VLANs, use the bridge list static vlans
command. The number appears in the first column
under the heading ID.
N/A
Interfacename
The name of a bridge interface, which belongs to the
egress interface list of the VLAN.
N/A
Name
Description
Default Value
name
A name that identifies a VLAN transport. It can be made up
of one or more letters or a combination of letters and
digits, but it cannot start with a digit.
Page 254 / 998
VLAN
VLAN command reference
iMG/RG Software Reference Manual (Switching)
2-104
Example
bridgevlan add transport vt1 2
See also
bridgevlan delete transport
bridgevlan list transports
2.4.4.1.14 BRIDGEVLAN CLEAR TRANSPORTS
Syntax
BRIDGEVLAN CLEAR TRANSPORTS
Description
This command deletes all the configured VLAN transports from the system.
Options
None
Example
bridgevlan clear transports
See also
bridgevlan add transport
bridgevlan list transports
2.4.4.1.15 BRIDGEVLAN DELETE TRANSPORT
Syntax
BRIDGEVLAN DELETE TRANSPORT {<name> | <number>}
Description
This command deletes a single configured VLAN transport.
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
bridgevlan delete transport vt1
See also
bridgevlan add transport
bridgevlan list transports
vlanid
VLAN Id on which the transport is created. A VLAN cor-
responding to the vlanid should be already created for
this command to be successful. Use
bridge add vlan
CLI command to add a VLAN.
Name
Description
Default Value
name
A name that identifies an existing VLAN transport. To
display the list of configured VLAN transports, use
bridgevlan list transports
CLI command.
number
A number that identifies an existing VLAN transport.
To display the list of configured VLAN transports, use
bridgevlan list transports
. The number appears in
the first column under the heading ID.
Page 255 / 998
VLAN command reference
VLAN
2-105
iMG/RG Software Reference Manual (Switching)
2.4.4.1.16 BRIDGEVLAN LIST TRANSPORTS
Syntax
BRIDGEVLAN LIST TRANSPORTS
Description
This command displays information about all of the configured VLAN transports. See
bridgevlan
add transport on page 62. The following fields are displayed:
IDThe numerical identifier automatically assigned to the object when it was created.
NameThe name that identifies an existing VLAN transport.
VLAN IDThe numerical identifier automatically assigned to the VLAN object when it
was created.
IP InterfaceIP interface associated with the transport, if any.
Options
None
Example
bridgevlan list transports
See also
bridgevlan add transport
ip interface attachbridgevlan
2.4.4.1.17 VLAN ADD
Syntax
VLAN ADD < vlanname > < portname > FRAME { TAGGED | UNTAGGED
}
Description
This command adds an Ethernet port to an existing named VLAN that has been created
with the command VLAN ADD VID.
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).
Name
Description
Default Value
Vlanname
An existing VLAN. To display the existing VLANs, use
the VLAN LIST command.
N/A
Portname
The name of the switch port to be configured. Avail-
able ports are:
lan1
lan2
lan3
lan4
lan5
lan6
cpu
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