2 # vlan-aware bridge with clag example
5 # 'bridge' is a vlan aware bridge with ports:
6 # 'peer-bond spine-bond glob host-bond-0[1-2]'
8 # All ports inherit 'vlans 10 20-23' from the 'bridge-vids' attribute
11 # native vlan is by default 1
13 # 'bridge-vids' attribute is used to declare vlans.
14 # 'bridge-pvid' attribute is used to specify native vlans if other than 1
15 # 'bridge-access' attribute is used to declare access port
17 # 'spine-bond host-bond-0[1-2]' are clag bonds and will be considered by
18 # clagd for dual connection. clag-id has to be a non-zero and has to match
19 # across the peer switches for the bonds to become dual connected.
25 bond-slaves glob swp19-22
31 bond-xmit-hash-policy layer3+4
34 # mlag bond and peer interface
38 bond-slaves glob swp23-24
44 bond-xmit-hash-policy layer3+4
46 # sub-interface for clagd communication
50 address 169.254.0.1/30
51 clagd-peer-ip 169.254.0.2
52 clagd-sys-mac 44:38:39:ff:00:01
54 # Please see man clagd for more options
55 # clagd-args --peerTimeout 30
67 bond-xmit-hash-policy layer3+4
78 bond-xmit-hash-policy layer3+4
85 bridge-ports peer-bond spine-bond glob host-bond-0[1-2]