cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
216
Views
0
Helpful
1
Replies

Track network traffic in UCSM

JDMils
Level 1
Level 1

I have a huge number of vLANs in a UCSM environment which I believe are no longer being used and i would like to cull them so that only the used vLANs stay in UCSM. Is there a way to setup tracking for each vLAN so that I can see if traffic is flowing for that vLAN and if possible, the source & target? I'd like to do this via UCSM and not the upstream switches as the switches are managed by the network team and I don't want to give them so much extra work.

My setup is:

Fabric #1:
2x UCS-FI-6296UP running 4.2(2c)A

Fabric #2:
2x UCS-FI-64108 running 4.3(4a)A

1 Reply 1

Steven Tardy
Cisco Employee
Cisco Employee

UCSM doesn't have any built-in mechanisms to do what you are asking.

UCS FI do NOT learn mac addresses upstream (on uplinks). Can use this fact to your advantage.

`show mac address-table` should only show actively in-use endpoints (and the corresponding VLAN).

Could easily write a tiny script to pull mac address tables periodically.
Any VLAN with a MAC entry on the FIs has a VM/server behind that FI actively using the VLAN.
Any VLAN with NO MAC entry on the FIs (over time) can likely be safely removed.
Careful that "silent host" VMs might age out of the mac table over time, so there could be some false negative using this method.
Also be sure to check *both* FIs and not just one FI.

Could maybe do SNMP, but I'd probably write an `expect` script (or ansible or some other new fangled tool) just 'cuz I know I could probably make it work.

 

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card