Software Defined Networking is a new way of making traditional hardware based network management into software based controlling. To do this, require a emulator like Mininet, a freely available open source network simulator software for creating custom topologies of our wish in virtual environment and it also permits to create OpenFlow switches, hosts and an SDN controller in a virtual network all with a simple command on a Linux Kernal.and It is a better approach to start practicing about SDN and Open-Flow as well as test SDN controllers like OpenDaylight. In this paper, by creating custom topology in python script and use of OpenDaylight controller environment for controlling flows in openflow enabled switches and then configuring L2-Switch features and observe the out comes