basebox
basebox copied to clipboard
Incorrect ipv6 Termination MAC entries when enslaving port to bridge
Expected Behavior
Enslaving a port to a bridge, then tagging a vlan on the port should not create any Termination MAC entries.
Table ID 20 (Termination MAC): Retrieving all entries. Max entries = 512, Current entries = 1.
-- inPort:mask = 7:0xffffffff etherType = 0x86dd destMac:mask = aa39.5aea.5990:ffff.ffff.ffff vlanId:mask = 0x1001:0x1fff (VLAN 1)
| GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 2 hard_time = 0 idle_time = 0 cookie = 14
Actual Behavior
Enslaving a port to a bridge, then tagging a vlan on the port does create a Termination MAC entries.
Steps to Reproduce the Problem
Set server side port UP before starting switch side configuration.
ip link set server_port up
On the Switch run the following commands:
Create vlan_filtering bridge swbridge
/sbin/ip link add name swbridge type bridge vlan_filtering 1
Set bridge swbridge up
/sbin/ip link set swbridge up
Attach port_left to the swbridge"
/sbin/ip link set {{ port_left }} master swbridge
Set port_left attached to swbridge up
/sbin/ip link set {{ port_left }} up
add vid 10 to port_left
/sbin/bridge vlan add vid 10 dev {{ port_left }}
Check termination MAC entries
client_flowtable_dump 20
Gives the output(example given):
Table ID 20 (Termination MAC): Retrieving all entries. Max entries = 512, Current entries = 1.
-- inPort:mask = 7:0xffffffff etherType = 0x86dd destMac:mask = aa39.5aea.5990:ffff.ffff.ffff vlanId:mask = 0x1001:0x1fff (VLAN 1)
| GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 2 hard_time = 0 idle_time = 0 cookie = 14
Specifications
- Version: 1.9.22
- Platform: agema-ag7648
- Subsystem: