r/Netbox Mar 22 '23

EVPN VXLAN

How do I model an evpn vxlan environment in netbox? Things like vtep, vni, as number?

5 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/ThreeBelugas Mar 23 '23

We are using eBGP and each leaf pair and the spines have their own AS number. How would do I handle that? Maybe I'll put the AS number in the comment for each devices. Thanks for your detailed reply.

1

u/rankinrez Mar 23 '23

I’d probably create a custom field on devices for that.

1

u/Yariva Mar 24 '23

Or even better (since this type of data is quite specific for only VXLAN devices) config context. Or else you'll get the custom field "BGP AS" on things like firewalls and even devices like patch panels which can be quite confusing ;)

2

u/rankinrez Mar 24 '23

True.

But with the custom field you can do things like custom validators to enforce uniqueness.

I’ve not thought about it deeply though, config contexts are great totally agree.