Cannot discover topology of switches
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-25-2015 10:42 PM
I have a lab setup where the controller is connected to the management ports of three OF switches through another L2 switch (another X440). The three switches are able to connect to the controller but the connection between them isn't discovered by the Topology manager in OpenDaylight. I see an empty topology through the REST API and the web view shows three isolated switches. I suspect this is because the L2 switch isn't forwarding the LLDP packet sent by the controller to the three OF switches. I may be completely wrong though. Do I need to enable some LLDP related feature/setting on the X440s to forward LLDPs? Or disable some feature on the one I'm using as a simple L2 switch? Kindly help me figure out why the topology isn't discovered by the controller.
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-26-2015 02:15 AM
The output of these commands looks okay. Switch one ----------------- X440-8p.1 # show openflow OpenFlow: Enabled Versions: OpenFlow10, OpenFlow13 Mode: Standard FDB: Off Access-list width: Single Controller : Primary Status : ACTIVE Datapath ID : 000000049697c679 VR : VR-Mgmt Mode : out-of-band Active Target : tcp:10.10.1.10:6633 Uptime(secs) : 1152 Controller : Secondary Not configured. Total number of VLAN(s): 0 X440-8p.2 # show openflow flows Total number of OpenFlow flows : 0 Total number of default flows : 2 Flow name Type Duration (secs) Prio Packets ---------------- ---- ------------------- ----- -------------------- ofDefault_0 ACL 1326 0 0 Match : Actions: CONTROLLER ofDefault_2 ACL 1326 0 0 Match : Ethernet Type : 0x88cc (LLDP) Actions: CONTROLLER Packets: (*) Cumulative packet count for all FDB flows X440-8p.3 # X440-8p.3 # X440-8p.3 # show openflow flows Total number of OpenFlow flows : 0 Total number of default flows : 2 Flow name Type Duration (secs) Prio Packets ---------------- ---- ------------------- ----- -------------------- ofDefault_0 ACL 1365 0 0 Match : Actions: CONTROLLER ofDefault_2 ACL 1365 0 0 Match : Ethernet Type : 0x88cc (LLDP) Actions: CONTROLLER Packets: (*) Cumulative packet count for all FDB flows Switch two -------------- X440-8p.1 # show openflow OpenFlow: Enabled Versions: OpenFlow10, OpenFlow13 Mode: Standard FDB: Off Access-list width: Single Controller : Primary Status : ACTIVE Datapath ID : 0000000496979b95 VR : VR-Mgmt Mode : out-of-band Active Target : tcp:10.10.1.10:6633 Uptime(secs) : 838 Controller : Secondary Not configured. Total number of VLAN(s): 0 X440-8p.2 # X440-8p.2 # show openflow flows Total number of OpenFlow flows : 0 Total number of default flows : 2 Flow name Type Duration (secs) Prio Packets ---------------- ---- ------------------- ----- -------------------- ofDefault_0 ACL 1314 0 0 Match : Actions: CONTROLLER ofDefault_2 ACL 1314 0 0 Match : Ethernet Type : 0x88cc (LLDP) Actions: CONTROLLER Packets: (*) Cumulative packet count for all FDB flows
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-26-2015 02:15 AM
Communication between controller and switches is via Open Flow protocol. LLDP packets get encapsulated in Open Flow protocol and send to controller. So L2 switch is not a problem here.
Output of below commands from all switches may give idea on what's going on in the switches.
1. show openflow
2. show openflow flows
Output of below commands from all switches may give idea on what's going on in the switches.
1. show openflow
2. show openflow flows
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-26-2015 12:52 AM
I guess extreme switches have EDP enabled by default.
And LLDP must be enabled manually.
Please try enabling LLDP.
And LLDP must be enabled manually.
Please try enabling LLDP.
