E-DOC-CTC-20080229-0001 v1.0
18
4| Ethernet Bridge a
nd VLANs
Adding ports to a VLAN
To make a bridge port member of a VLAN, use the command :eth bridge vlan ifadd.
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.
Removing ports from a VLAN
To remove a bridge port from a VLAN, use the command :eth bridge vlan ifdelete.
Two parameters must be specified:
Name: the name of the VLAN.
Intf: the name of the bridge port.
=>:eth bridge vlan iflist
Vid Name Bridge interfaces (* = untagged)
--- ---- -------------------------------1 default OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
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 Bridge interfaces (* = untagged)
--- ---- -------------------------------1 default OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
2 data OBC, ethport1*,ethport2
=>:eth bridge vlan iflist
Vid Name Bridge interfaces (* = untagged)
--- ---- -------------------------------1 default OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
2 data OBC, ethport1*,ethport2
=>:eth bridge vlan ifdelete name=data intf=ethport2
=>:eth bridge vlan iflist
Vid Name Bridge interfaces (* = untagged)
--- ---- -------------------------------1 default OBC*, ethport1*, ethport2*, ethport3*, ethport4*, WLAN*
2 data OBC, ethport1*