4|
Ethernet Bridge and VLANs
Adding ports to a VLAN
To make a bridge port member of a VLAN, use the command
Two parameters must be specified:
Name: the name of the VLAN.
Intf: the name of the bridge port.
Optionally, the following parameter can be specified:
Untagged: this parameter indicates whether the bridge port is tagged or untagged member of that VLAN.
If the parameter is not specified, the parameter is disabled in case of the OBC and is enabled in case of all
other bridge ports.
If the parameter is enabled, the bridge port is untagged member of the VLAN.
If the parameter is disabled, the bridge port is tagged member of the VLAN.
=>:eth bridge vlan iflist
Vid
Name
---
----
1
default
2
data
=>:eth bridge vlan ifadd name=data intf=OBC
=>:eth bridge vlan ifadd name=data intf=ethport1
=>:eth bridge vlan ifadd name=data intf=ethport2 untagged=disabled
=>:eth bridge vlan iflist
Vid
Name
---
----
1
default
2
data
Removing ports from a VLAN
To remove a bridge port from a VLAN, use the command
Two parameters must be specified:
Name: the name of the VLAN.
Intf: the name of the bridge port.
=>:eth bridge vlan iflist
Vid
Name
---
----
1
default
2
data
=>:eth bridge vlan ifdelete name=data intf=ethport2
=>:eth bridge vlan iflist
Vid
Name
---
----
1
default
2
data
18
Bridge interfaces (* = untagged)
--------------------------------
OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
Bridge interfaces (* = untagged)
--------------------------------
OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
OBC, ethport1*,ethport2
:eth bridge vlan ifdelete
Bridge interfaces (* = untagged)
--------------------------------
OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
OBC, ethport1*,ethport2
Bridge interfaces (* = untagged)
--------------------------------
OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
OBC, ethport1*
:eth bridge vlan ifadd
E-DOC-CTC-20080229-0001 v1.0
.
.