Extreme Networks Px Series Manual de usuario

Busca en linea o descarga Manual de usuario para Los conmutadores de red Extreme Networks Px Series. Openflow in a day Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 85
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Openflow in a day
Indiana Center for Network Translational Research and Education
the research arm of
Vista de pagina 0
1 2 3 4 5 6 ... 84 85

Indice de contenidos

Pagina 1 - Openflow in a day

Openflow in a dayIndiana Center for Network Translational Research and Educationthe research arm of

Pagina 2 - Instructors

OpenFlow's Owner:Open Networking FoundationONF members:A10 Networks, Alcatel-Lucent, Argela, Big Switch Networks, Broadcom, Brocade, Ciena, Cisco

Pagina 3

Open Networking FoundationMembership-based 30K a year.Members agree to share IP on reasonable terms.Working group evolve the standard.Not like IETF, I

Pagina 4

OpenFlow's Oxygen(hype is adrenaline, not oxygen)Large data center operators can roll their own. They make their own servers, their own data cent

Pagina 5 - OpenFlow's Value

OVS in the data centerProblem - need to provided an automated approach to multi-tenant isolation, VM migration, automated provisioning, hi-bisection b

Pagina 6

Reducing the oxygen requirementMerchant Silicon: “off the shelf” chips that perform packet processing at high speed vs. vertically integrated custom d

Pagina 7

What is OpenFlow?● It's a protocol for control the forwarding behavior of Ethernet switches in a Software Defined Network● Initially released by

Pagina 8

Ethernet Switch Table-based (e.g., TCAM/CAM) high-speed forwarding engineEmbedded Operating SystemData PlaneControl PlaneFeatures Value AddCLI, SNMP,

Pagina 9 - OpenFlow Origin

OpenFlow ControllerTable-based (e.g., TCAM/CAM) high-speed forwarding engineEmbedded Operating System implements OpenFlowData PlaneControl PlaneFeatur

Pagina 10 - OpenFlow's Owner:

OpenFlow ControllerFeaturesValue AddOpenFlow ProtocolEach switch connects directly with OF Controller

Pagina 11 - Open Networking Foundation

Flow TableHeader Fields Counters ActionsIngress PortEthernet Source AddrEthernet Dest AddrEthernet TypeVLAN idVLAN PriorityIP Source AddrIP Dest AddrI

Pagina 12 - OpenFlow's Oxygen

InstructorsSteven WallaceUwe DahlmannRon MilfordChris Small

Pagina 13 - OVS in the data center

Flow TableHeader Fields Counters ActionsIf ingress port == 2 Drop packetif IP_addr == 129.79.1.1re-write to 10.0.1.1, forward port 3if Eth Addr == 00:

Pagina 14

Special PortsController (sends packet to the controller)Normal (sends packet to non-openflow function of switch)Local (can be used for in-band control

Pagina 15 - What is OpenFlow?

Flow TableHeader Fields Counters ActionsIf ingress port == 2 Drop packetif IP_addr == 129.79.1.1re-write to 10.0.1.1, forward port 3Priority3276832768

Pagina 16 - CLI, SNMP, TFTP

Populating the Flow TableProactiveRules are relatively static, controller places rules in switch before they are required.ReactiveRules are dynamic. P

Pagina 17 - Value Add

Controller and Switch Communication● Mode - Controller vs. Listener○ TCP Communication, who initiates conversation● Mode and Populating Flow Table ind

Pagina 18

Example application:topology discoveryOpenFlow Controller

Pagina 19 - Flow Table

Bootstrapping a new switchSwitch requires minimal initial configuration (e.g., IP address, default GW, and OpenFlow controller)Switch connects to cont

Pagina 20

Bootstrapping a new switchController proactively places a rule in the switch.If ether_type = LLDP, actions=output:controllerThen the controller create

Pagina 21 - Special Ports

OpenFlow 1.0 to 1.1

Pagina 22

Flow TableHeader Fields Counters Actions PriorityMatch Fields Priority Counters Instructions Cookie1.01.1media data packet Action SetNew Data Structur

Pagina 23 - Populating the Flow Table

Tools that we'll be using today...Amazon Web ServicesMininet - virtual network environment, includes OpenFlow capable switchOpen VSwitch - the Op

Pagina 24 - Communication

Packet Processing1.0Does packet match flow table entry, if so, perform action.1.1Does packet match flow table entry, if so, look at instructions...

Pagina 25 - Example application:

Actions vs. Instructions1.1● Flow entries contain instructions.● Instructions may be immediate action(s), or● instructions may set actions in the acti

Pagina 26 - Bootstrapping a new switch

More Tables1.1● Allows for multiple flowtables● Includes a group table with multiple group table types● Instructions can jump to other tables, but onl

Pagina 27

Group Table Typesall - execute each bucket (each bucket gets copy of packet, used for flooding, multicast, etc.)select - execute one bucket in group (

Pagina 28 - OpenFlow 1.0 to 1.1

OpenFlow QoSOF 1.0● Optional action "Enqueue"Forwards packet through a queue attached to a port. The behavior of the queue is determined out

Pagina 29

OpenFlow QoSOF 1.3● Stuff from 1.0● New table "Meter Table"Meter Identifier Meter Bands Counters32 bit integerused to identify the meterlist

Pagina 30 - Packet Processing

OpenFlow QoS (1.3 cont.)Meter Identifier Meter Bands CountersMatch Fields Priority Counters Instructions TimeoutsTimeouts CookeNew instructionMeter me

Pagina 31 - Actions vs. Instructions

OpenFlow QoS (1.3 cont.)Meter Identifier Meter Bands CountersBand TypeRateCountersType Specific Argumentsdroporremark DSCPkb/sburstOne or more Meter B

Pagina 32 - More Tables

OpenFlow QoS (1.3 cont.)Matching Flow Table Entry Includes instruction: apply Meter IDCollect Stats /Determine which Meter Band AppliesDrop PacketCol

Pagina 33 - Group Table Types

OpenFlow Example Implementations● HP/NEC switches run in hybrid Openflow mode○ can act as a regular switch or as an openflow switch○ implemented on a

Pagina 34 - OpenFlow QoS

Teaching HTML to explain the WWW<h1>OpenFlow's promise is its application,not its internal workings</h1>Yet much of today is about Op

Pagina 35

HP Switch Configuration● Enter configuration mode○ # configure● Create a VLAN for your Openflow instance○ # vlan 10● Add ports to the VLAN○ In our cas

Pagina 36 - OpenFlow QoS (1.3 cont.)

HP Switch Configuration● Now to enable Openflow on the VLAN○ # openflow vlan 10 enable● Tell the Openflow instance to actively connect to an Openflow

Pagina 37

HP Switch Configuration● Lastly, we want the ability to manually connect to the switch to check and set state○ the openflow instance on the vlan will

Pagina 38

Actual Switch ConfigurationRunning configuration:; J9470A Configuration Editor; Created on release #K.15.06.5008; Ver #02:10.0d:1fhostname "sw-1&

Pagina 39 - ● Use mac-address-table

Hands-on with OpenFlow(quick review of the table)Header Fields Counters ActionsIngress PortEthernet Source AddrEthernet Dest AddrEthernet TypeVLAN idV

Pagina 40 - HP Switch Configuration

Hands-on with OpenFlowOpenFlow ControllerNormally switch initiates a connection to its controllerAlthough not part of the OF spec, many switches suppo

Pagina 41

MininetWe will be using Mininet to simulate switches and hosts in a network.Mininet uses OpenVSwitch as the switch and creates LXC Container VMs as ho

Pagina 42

Host h2IP:10.0.0.2eth0Host h3IP:10.0.0.3eth0Switch s1eth1eth2dp0To start mininet and construct a simple network, run the following in one of the termi

Pagina 43 - Actual Switch Configuration

Getting WireShark Ready (something interesting coming up)configure WireShark to capture on the "lo" interfaceType "of" (without th

Pagina 44 - Hands-on with OpenFlow

A bit about ovs-ofctl● packaged with openvswitch-common● alternative to dpctl (openflow reference controller)● command-line utility that sends basic O

Pagina 45

OpenFlow's ValueEnterpriseData CenterWAN

Pagina 46

First Step!● Run:$ sudo ovs-ofctl show dp0 The 'show' command connects to the switch and prints out port state and OF capabilities● What we

Pagina 47

ovs-ofctl - show$ sudo ovs-ofctl show dp0OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000000000000001n_tables:255, n_buffers:256features: capabilitie

Pagina 48

ovs-ofctl dump-flows● sudo ovs-ofctl dump-flows dp0○ Gives us information about the flows installed○ Rule itself○ Timeouts○ Actions○ Packets and bytes

Pagina 49 - A bit about ovs-ofctl

ovs-ofctl dump-flows$ sudo ovs-ofctl dump-flows dp01. NXST_FLOW reply (xid=0x4):2. cookie=0x0, duration=30.625s, table=4, n_packets=0, n_bytes=2612, i

Pagina 50 - First Step!

ovs-ofctl dump-ports$ sudo ovs-ofctl dump-ports dp0- Gives physical port information- Rx, tx counters- Error counters 1. OFPST_PORT reply (xid=0x1)

Pagina 51 - $ sudo ovs-ofctl show dp0

ovs-ofctl del-flows● we can remove all or individual flows from the switch$ sudo ovs-ofctl del-flows <expression>○ ex. $ sudo ovs-ofctl del-flow

Pagina 52 - ○ Actions

Host h2IP:10.0.0.2eth0Host h3IP:10.0.0.3eth0Switch s1eth1eth2dp0OpenFlow SwitchPeriodically attempting to connect to controller on lo:6633Also listeni

Pagina 53

Openflow Learning SwitchCheck flow table$sudo ovs-ofctl dump-flows dp0

Pagina 54 - - Error counters

Control-C ovs-controllerIn that window where you started ovs-controller, enter "fg" then a control-C to kill the controller. We'll get

Pagina 55

Exercise #2Using ovs-ofctl to insert simple, port-based rulesLet's make sure switch has no existing flows:$sudo ovs-ofctl del-flows dp0

Pagina 56

What can OpenFlow bring to the enterprise● Automated configuration of new equipment in your enterprise network (think controller-based wireless)● Choo

Pagina 57 - Openflow Learning Switch

Host h2IP:10.0.0.2eth0ovs-ofctl process$sudo ovs-ofctl add-flow dp0 idle_timeout=180,priority=33000,in_port=1,actions=output:2$sudo ovs-ofctl add-flow

Pagina 58 - Control-C ovs-controller

Do the pings work?What do you see with $ sudo ovs-ofctl dump-flows dp0Do the counters increase as expected?What's going on with the timeouts?

Pagina 59 - Exercise #2

Exercise #3 - Moving up the stack...First rule was port-based.Next rule is IP source address-based.

Pagina 60 - Port-based Rules

type:$ sudo ovs-ofctl add-flow dp0 idle_timeout=180,priority=33001,dl_type=0x800,nw_src=10.0.0.2,actions=output:2$ sudo ovs-ofctl add-flow dp0 idle_ti

Pagina 61 - Do the pings work?

Do the pings work?Did the port-based rules timeout?If there are no port-based rules, why would the pings fail?Can you verify this hypothesis by lookin

Pagina 62 - First rule was port-based

Learning Switch What is the state of the flow table?What is the ovs-controller workflow?What happens when a broadcast packet gets sent? Multicast?

Pagina 63 - IP Address-based Rules

Host h2IP:10.0.0.2eth0Host h3IP:10.0.0.3eth0Switch s1eth1eth2dp0ovs-controllerLearning Switch

Pagina 64

FlowVisorFlowVisorOpenFlow ControllerOpenFlow ControllerOpenFlow ControllerOpenFlow ControllerOpenFlow ControllerOpenFlow ControllerOpenFlow Controlle

Pagina 65 - Learning Switch

FlowVisor Header FieldsIngress PortEthernet Source AddrEthernet Dest AddrEthernet TypeVLAN idVLAN PriorityIP Source AddrIP Dest AddrIP ProtocolIP ToSI

Pagina 66

Host h2IP:10.0.0.2eth0ovs-ofctl processHost h3IP:10.0.0.3eth0Switch s1eth1eth2dp0FlowVisorController ALet's make a fresh topology in mininetquit

Pagina 67 - FlowVisor

What can OpenFlow bring to the data center● Standard API for network provisioning (i.e. orchestration)● Integration with VM-based switches (e.g. Open

Pagina 68

Need to start FlowVisor$ sudo /etc/init.d/flowvisor startThe default port for OpenFlow is 6633. The current OF decoder for wireshark is hardcoded to 6

Pagina 69

Creating SlicesExample: $ fvctl --passwd-file=/etc/flowvisor/fvpasswd createSlice slicename controller_url emailActual:$ fvctl --passwd-file=/etc/flow

Pagina 70 - Need to start FlowVisor

Adding FlowspaceYou need to find the DPID of your switch$ fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevicesExample of addFlowSpace$fvctl --passw

Pagina 71 - Creating Slices

Add Flowspace (cont.)(continued from previous page)$fvctl --passwd-file=/etc/flowvisor/fvpasswd addFlowSpace 00:00:00:00:00:00:00:01 100 dl_type=0x800

Pagina 72 - Adding Flowspace

Create some flows to push into a switchuse pico, vi, emacs, or whatever...to create a text file that contains flow entries in the same format as the o

Pagina 73 - Add Flowspace (cont.)

What happened?What do you see in debug output?Did a switch connect to the controller?What shows up on wireshark?

Pagina 74

Does the ping work???$ sudo ovs-ofctl dump-flows dp0How did these rules:priority=33000,in_port=1,actions=output:2priority=33000,in_port=2,actions=outp

Pagina 75 - What happened?

listFlowSpace● verify the flowspace that you added$ fvctl --passwd-file=/etc/flowvisor/fvpasswd listFlowSpace

Pagina 76 - Does the ping work???

OpenFlow "peering"GENI model - slices from multiple networks point to a single controllerOE-SS model - interdomain is limited to abstraction

Pagina 77

If OpenFlow was your only tool...iPadHP PrinterWiFi NetworkOF SwitchOF SwitchRouterThe printer is on my desk, why can't I print??UserNetwork engi

Pagina 78 - OpenFlow "peering"

What can OpenFlow bring to the wide area network● Standard API for network provisioning of bandwidth-on-demand services (e.g. Internet2 OS3E)● Standar

Pagina 79

If OpenFlow was your only tool...OF SwitchTrusting user (is there any other kind)UserBad GuySwitched Ethernet is no problem for man in the middle atta

Pagina 80

If OpenFlow was your only tool...UpdateServerOF SwitchRouterPC ZzzzzzPC ZzzzzzPC ZzzzzzPC ZzzzzzPC ZzzzzzPCs sleeping, soundly, waiting for their wake

Pagina 81

OF-Config 1.1"OF-CONFIG frames an OpenFlow datapath as an abstraction called an OpenFlow Logical Switch. The OF-CONFIG protocol enables configura

Pagina 83

OF-Config uses NETCONF protocol (4) as its transport

Pagina 84

OF-CONFIG 1.1 is focused on the following functions:● The assignment of one or more OpenFlow controllers● The configuration of queues and ports● The a

Pagina 85

OpenFlow Origin Clean Slate Program at Stanford○ Early work on SANE circa 2006 (security architecture)○ inspired Ethane circa 2007, which lead to Open

Comentarios a estos manuales

Sin comentarios