Relation between IP Router and Switchport?

Henrik Jutterst
Tera Guru

Hi,

I have a CI in IP Router table and it has a number of Switchports. I have all Switchports created in [dscy_switchport] table and they are linked to the IP Router CI, however I do not have a relation in [cmdb_rel_ci] table.

If I should add this relation manually...

  1. What should be the relation type between these two?
  2. Who is parent and who is child (I assume that the Port is the Child, but not sure)?

There is no OOTB suggested relations from the IP Router CI to the switchport.

3 REPLIES 3

Thanks for the link, however I can't read any answer to the question i have.

Also, do you know the differance between [dscy_switchport] and [cmdb_switch_port] and why there are two?

doug_schulze
ServiceNow Employee
ServiceNow Employee

This link might also be of service...Specifically this section

 

NetworkDeviceLayer2ConnnectionStrategyThis strategy creates a connection between a network device and its neighbors. Discovery creates a Layer 2 connection if there is a single neighbor with a neighbor address, a neighbor interface, or both. If the neighbor's interface exists, Discovery creates a Connects to::Connected by relationship between the origin interface and the neighbor's interface. Otherwise, Discovery creates a Connects to::Connected byrelationship between the origin interface and the switch with the neighbor's address.