Replies: 7 comments 15 replies
-
We are using Multichassis-LACP with Cisco ASR920. So i am really interesting if there is a solution for or maybe an feature could be planned. |
Beta Was this translation helpful? Give feedback.
-
I was able to find this information related to this: 2830 Opened in Jan 30, 2019. From here the main conclusion i took is resumed bellow: In order to make that happen, and considering my basic understanding on netbox where a LAG object is associated with one device only, and that this LAG object is composed by the interfaces associated with that device. If we want to support MC-LAG, we would need to create a separate LAG object that is not related with a physical device, and only with the interface id that is used to compose this LAG Object. Could this be considered a valid feature, the creation of another object MC-LAG, device independent, that can be associated with interfaces of different devices? |
Beta Was this translation helpful? Give feedback.
-
I have upgraded and the behavior i have now in v2.11.3 , is the following:
I tested also this:
What i expected is that i would be able to associate this on stack2-sw2. @candlerb can you confirm that this is a bug? |
Beta Was this translation helpful? Give feedback.
-
I have upgraded and the behavior i have now in v2.11.4 , is the following: Created 1 a virtual chassis: stack-1-withoutmaster Create first switch: stack1-sw1 Create second switch: stack1-sw2 Associate them to the stack-1-withoutmaster As i do not associate a master both switches have only their own interfaces Create Link Aggregation type (lag-stack1-port1) in stack1-sw1 Associate lag-stack-port1 to stack1-sw1 interface e1/1 What i expected is that i would be able to associate this (lag-stack1-port1) on stack1-sw2. @candlerb , can you confirm that this should have work? |
Beta Was this translation helpful? Give feedback.
-
I see this issues is running for a while. And I am with jcralbino. The current implementation of virtual chassis is mostly focused on Stack switches, which do indeed have the master node, and unique interface names, but it would be nice to also be able to correctly represent a redundant switch pair as is the case in the increasingly popular leaf-spine networks. It would therefore be nice to re-evaluate the earlier decision. I'm currently running 3.1.9 and will soon test 3.3.10, but so far nothing has changed. |
Beta Was this translation helpful? Give feedback.
-
I ran into this use case myself, i.e. mapping a VPC (Virtual Port Channel), which is a Cisco implementation of the MLAG concept into Netbox. What I ended up doing was creating the LAG interfaces on each switch. (To clarify, that could mean a LAG with a single member.) To then mark those LAG interfaces as belonging to a VPC, I created the custom string fields Finally, in order to easilly be able to find related LAGs in the UI, I added a custom link to Netbox like this: Link text:
Link URL:
That way, when I click on a LAG, I can see the button "Find VPC Members" if the LAG is part of a VPC (or MLAG) configuration, and clicking that button will bring up all interfaces with the same VPC Domain and Member ID (i.e. part of the same MLAG). (The button only shows up when both fields are populated so the UI isn't cluttered for most other interfaces.) It's not perfect by any stretch, I'd much rather be able to create a first-class Netbox object representing a VPC / MLAG, but it's fully functional if not pretty. |
Beta Was this translation helpful? Give feedback.
-
I ended up writing an MC-LAG plugin to Netbox, as a learning exercise. The plugin adds models for Multi-Chassis Domains (similar to a "Virtual Chassis", but without all that implies) and a Multi-Chassis Group that allows the user to bundle together multiple LAG interfaces on different switches. It's a little rough around the edges, and I've not yet tried it on any real data, but for anyone who's looking to model MC-LAG, this might be one way to do it. I hope someone finds this useful: https://github.com/pv2b/netbox-plugin-mclag - My particular itch is just being able to document these kinds of links in a fairly understandable way in the GUI, and also validate that the model allows for configuration generation if we choose to go that route in the future. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I believe that this is a common questions that occurs for Multi Chassis Link Aggregation technologies. In this cases we have two separate independent switches, that are not part of a virtual chassis, and that can have an interface aggregation. What in netbox is considered a LAG.
In ACI we create a vPC domain where two switches can create a link aggregation. This vPC link is then shared in two different switch devices.
When configuration a LAG interface in Netbox this is limited to the device where the LAG is created. How can we model this association in netbox where a LAG interface is associated with two separate devices?
Is there any who has experience with this, and can detail the best practice to model a vPC in netbox?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions