Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning OpenDaylight

You're reading from   Learning OpenDaylight A gateway to SDN (Software-Defined Networking) and NFV (Network Functions Virtualization) ecosystem

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781782174523
Length 336 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Reza Toghraee Reza Toghraee
Author Profile Icon Reza Toghraee
Reza Toghraee
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to SDN - Transformation from Legacy to SDN 2. Overview of OpenDaylight FREE CHAPTER 3. OpenDaylight Installation and Deployment 4. Building a Virtual SDN Test Lab with Virtual Switches 5. Basic Networking with OpenDaylight 6. Overview of OpenDaylight Applications 7. Building SDN Applications for OpenDaylight 8. Network Function Virtualization 9. Building a Software-Driven Data Center with OpenDaylight

Layer 2 switching in OpenDaylight


In the previous chapter, we learned about basic L2 switching in OpenDaylight. This was our basic topology:

We learned that Layer 2 switching is a feature or module of OpenDaylight and needs to be enabled prior to using it. To enable L2 switching in OpenDaylight, you need to run the following command in the OpenDaylight shell:

feature:install OpenDaylight-l2switch-switch

After installing the L2 switch module, OpenDaylight enables the OpenFlow protocol and starts listening on TCP port 6633, which is the OpenFlow server port:

Every physical or virtual OpenFlow-enabled switch in the SDN domain needs to first register with the OpenFlow controller (OpenDaylight). Our Mininet switches, which are actually OVS switches, will then be registered with OpenDaylight and will pop up in the OpenDaylight topology view instantly.

The registration process is completed via an OpenFlow HELLO packet originating from the OpenFlow switch sent, to the SDN controller. This controller...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime