1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Added clag-id to the interfaces example file.

Ticket:
Reviewed By:
Testing Done:
This commit is contained in:
anuradhak
2015-01-12 13:44:54 -08:00
parent a57fc3a0bb
commit c4842479ad

View File

@ -14,7 +14,9 @@
# 'bridge-pvid' attribute is used to specify native vlans if other than 1 # 'bridge-pvid' attribute is used to specify native vlans if other than 1
# 'bridge-access' attribute is used to declare access port # 'bridge-access' attribute is used to declare access port
# #
# # 'spine-bond host-bond-0[1-2]' are clag bonds and will be considered by
# clagd for dual connection. clag-id has to be a non-zero and has to match
# across the peer switches for the bonds to become dual connected.
# spine bond # spine bond
# #
@ -27,6 +29,7 @@ iface spine-bond
bond-lacp-rate 1 bond-lacp-rate 1
bond-min-links 1 bond-min-links 1
bond-xmit-hash-policy layer3+4 bond-xmit-hash-policy layer3+4
clag-id 100
# mlag bond and peer interface # mlag bond and peer interface
# #
@ -62,6 +65,7 @@ iface host-bond-01
bond-lacp-rate 1 bond-lacp-rate 1
bond-min-links 1 bond-min-links 1
bond-xmit-hash-policy layer3+4 bond-xmit-hash-policy layer3+4
clag-id 1
auto host-bond-02 auto host-bond-02
iface host-bond-02 iface host-bond-02
@ -72,6 +76,7 @@ iface host-bond-02
bond-lacp-rate 1 bond-lacp-rate 1
bond-min-links 1 bond-min-links 1
bond-xmit-hash-policy layer3+4 bond-xmit-hash-policy layer3+4
clag-id 2
# the bridge # the bridge
auto bridge auto bridge