Junos® OS OVSDB and VXLAN Feature Guide for MX Series

  • View
    234

  • Download
    3

Embed Size (px)

Text of Junos® OS OVSDB and VXLAN Feature Guide for MX Series

  • JunosOS

    OVSDB and VXLAN Feature Guide for MX SeriesRouters and EX9200 Switches

    Modified: 2018-03-09

    Copyright 2018, Juniper Networks, Inc.

  • Juniper Networks, Inc.1133 InnovationWaySunnyvale, California 94089USA408-745-2000www.juniper.net

    Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc. and/or its affiliates inthe United States and other countries. All other trademarks may be property of their respective owners.

    Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify,transfer, or otherwise revise this publication without notice.

    JunosOSOVSDB and VXLAN Feature Guide for MX Series Routers and EX9200 Switches

    Copyright 2018 Juniper Networks, Inc. All rights reserved.

    The information in this document is current as of the date on the title page.

    YEAR 2000 NOTICE

    Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through theyear 2038. However, the NTP application is known to have some difficulty in the year 2036.

    ENDUSER LICENSE AGREEMENT

    The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networkssoftware. Use of such software is subject to the terms and conditions of the End User License Agreement (EULA) posted athttps://www.juniper.net/support/eula/. By downloading, installing or using such software, you agree to the terms and conditions of thatEULA.

    Copyright 2018, Juniper Networks, Inc.ii

    https://www.juniper.net/support/eula/

  • Table of Contents

    About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Documentation and Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Using the Examples in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Merging a Full Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

    Merging a Snippet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

    Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

    Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

    Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

    Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi

    Part 1 OVSDB and VXLAN

    Chapter 1 Understanding OVSDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    OVSDB Support on Juniper Networks Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    Understanding the JunosOS ImplementationofOVSDBandVXLAN inaVMware

    NSX for vSphere Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    Understanding the OVSDB Protocol Running on Juniper Networks Devices . . . . . . 6

    Understanding How to Set Up OVSDB Connections on a Juniper Networks

    Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    Understanding How Layer 2 BUM and Layer 3 Routed Multicast Traffic Are

    Handled with OVSDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

    Understanding How to Manually Configure OVSDB-Managed VXLANs . . . . . . . . 10

    Understanding How to Manually Configure OVSDB-Managed VXLANs On

    Juniper Networks Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

    OVSDB Schema for Physical Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

    iiiCopyright 2018, Juniper Networks, Inc.

  • Chapter 2 Configuring OVSDB and VXLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

    OVSDB and VXLAN Configuration Workflows for VMware NSX Environment . . . . 15

    OVSDB and VXLAN Configuration Workflow for QFX Series Switches . . . . . . 16

    OVSDB and VXLAN ConfigurationWorkflow for MX Series Routers and

    EX9200 Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

    Installing OVSDB on Juniper Networks Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

    Creating and Installing an SSL Key and Certificate on a Juniper Networks Device

    for Connection with SDN Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

    Setting Up the OVSDB Protocol on Juniper Networks Devices that Support

    Manual Configuration of VXLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

    Configuring OVSDB-Managed VXLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

    VMware NSX Configuration for Juniper Networks Devices Functioning as Virtual

    Tunnel Endpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

    Creating a Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

    Creating a Gateway Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

    Creating a Logical Switch Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

    Example: Setting Up Inter-VXLAN Unicast Routing and OVSDB Connections in

    a Data Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

    Example: Setting Up Inter-VXLAN Unicast and Multicast Routing and OVSDB

    Connections in a Data Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

    Example: Configuring VXLAN to VPLS Stitching with OVSDB . . . . . . . . . . . . . . . . 52

    Example: Configuring Inter-VXLAN Traffic Routing fromOne Bridge Domain to

    Another Using an MX Series Router as a Layer 3 Gateway . . . . . . . . . . . . . . . 73

    Example:PassingTrafficBetweenDataCenterswithDCI inanOVSDB-Managed

    Network with MX Series Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

    Chapter 3 OVSDB Configuration Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

    bridge-domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

    controller (OVSDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

    inactivity-probe-duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

    ingress-node-replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

    interfaces (OVSDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

    maximum-backoff-duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

    ovsdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

    ovsdb-managed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

    port (OVSDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

    protocol (OVSDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

    traceoptions (OVSDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

    routing-instances (Multiple Routing Entities) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

    interface-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

    unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

    vlan-id-list (Interface in Bridge Domain) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116

    Chapter 4 OVSDB Monitoring Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

    show bridge domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

    show ovsdb controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

    show ovsdb interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

    show ovsdb logical-switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

    show ovsdb mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

    Copyright 2018, Juniper Networks, Inc.iv

    OVSDB and VXLAN Feature Guide for MX Series Routers and EX9200 Switches

  • show ovsdb statistics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131

    show ovsdb virtual-tunnel-end-point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

    show vpls mac-ta