Cisco Nexus Switches

the-deep
Tera Contributor

Not a question as such, but it may help someone with a similar issue. We use Cisco Nexus switches as standard for our core switches, and we separate traffic on the WAN and LAN with VRFs.

 

The Network Adapters related table on discovered switch CI's devices is not showing the Management IP's which exist on the switch in the Management (MGMT) VRF.

 

Adding this command worked for us on an N7k:

  snmp-server context MGMT vrf VRF-01-MGMT

 

You do of course need to amend your SNMP Credential in ServiceNow also - tick the 'Use Context' box and enter the context:

thedeep_0-1747812771775.png

 

We're now trying to work out how to ensure the IP Address field on the device CI chooses the one we want (ie. prevent flipping without removing the IP address sync - this may be tricky as the switch may also be discovered via other VRF's too)

 

ie. Network Interface name contains 2222 which is the standard VLAN ID we use for the management interface within that VRF.

 

We are considering a pattern extension to do that - if anyone has any tips on that that would be helpful.

 

Nick

 

 

 

 

Not sure if VDC's are the same as VRF's but if like us, you are unable to see the management VRF Network Adapters on the Switch CI record, under the Network Adapters related table, then adding this command worked for us on an N7k

 

snmp-server context MGMT vrf VRF-01-MGMT

 

You do of course need to amend your SNMP Credential in ServiceNow also - tick the 'Use Context' box and enter the context:

thedeep_0-1747812771775.png

 

Nick

 

0 REPLIES 0