The examples below show how to create bridge(s) using physical ports 5 and 6 that supports 802.1Q VLAN IDs 100 and 200.
Versions 11.2.0 and newer
bridges enable
bridges add alias mybridge port 5 port 6
system port add vlan 100 port mybridge
system port add vlan 200 port mybridge
This will results in ports being created named mybridge.100 for VLAN ID 100 traffic and mybridge.200 for VLAN ID 200 traffic.
Versions less than 11.2.0
system port add port 5 vlan 100
system port add port 6 vlan 100
system port add port 5 vlan 200
system port add port 6 vlan 200
system port display
The system port display command will display the new port numbers that have been created. These port numbers will be different depending on hardware platform or what other logical ports have been previously created. In this example ports 7, 8, 9, and 10 have been created.
Use the new ports to create a bridge for each VLAN.
bridges enable
bridges add alias bridge100 port 7 port 8
bridges add alias bridge200 port 9 port 10
commit save
This will results in ports being created named bridge100 for VLAN ID 100 traffic and bridge200 for VLAN ID 200 traffic.
0 Comments