Click here to load reader

Config Guide Vpns Vpls

  • View
    213

  • Download
    0

Embed Size (px)

Text of Config Guide Vpns Vpls

  • 8/21/2019 Config Guide Vpns Vpls

    1/485

    JunosOS

    VPLS Feature Guide for Routing Devices

    Release

    13.2

    Published: 2013-07-31

    Copyright 2013, Juniper Networks, Inc.

  • 8/21/2019 Config Guide Vpns Vpls

    2/485

    Juniper Networks, Inc.1194North Mathilda AvenueSunnyvale, California 94089USA408-745-2000www.juniper.net

    Thisproduct includesthe Envoy SNMPEngine, developed by EpilogueTechnology,an IntegratedSystems Company.Copyright 1986-1997,

    Epilogue Technology Corporation.All rights reserved. This program and its documentation were developed at privateexpense, and no part

    of them is in thepublic domain.

    This product includes memory allocation software developed by Mark Moraes,copyright 1988, 1989, 1993, University of Toronto.

    This product includes FreeBSD software developed by the University of California, Berkeley, and its contributors. All of the documentation

    and software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by the Regents of the University of California. Copyright

    1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994. The Regents of the University of California. All rights reserved.

    GateD software copyright 1995, the Regents of the University. All rights reserved. Gate Daemon was originated and developed through

    release 3.0 by Cornell University and its collaborators. Gated is based on Kirtons EGP, UC Berkeleys routing daemon (routed), and DCNs

    HELLO routing protocol. Development of Gated has beensupported in part by the National Science Foundation. Portions of the GateD

    software copyright 1988, Regentsof theUniversityof California.All rights reserved. Portionsof theGateD software copyright 1991, D.

    L. S. Associates.

    This product includes software developed by Maker Communications, Inc., copyright 1996, 1997, Maker Communications, Inc.

    Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc.in the United

    States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc.All other

    trademarks, service marks, registered trademarks, or registered service marks are the property of theirrespective 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.

    Products made or sold byJuniper Networks or components thereof might be covered by oneor more of thefollowingpatents that are

    owned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440,6,192,051, 6,333,650, 6,359,479, 6,406,312,

    6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.

    Junos

    OSVPLS FeatureGuide forRoutingDevices13.2

    Copyright 2013, Juniper Networks, Inc.

    All rights reserved.

    The informationin this document is currentas of thedateon thetitlepage.

    YEAR 2000 NOTICE

    Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the

    year 2038. However,the NTPapplicationis known to have some difficulty in theyear2036.

    END USER LICENSE AGREEMENT

    The Juniper Networks product that is thesubject of this technical documentationconsists of (or is intended for usewith)Juniper Networks

    software. Useof such software is subject to theterms and conditions of theEnd User License Agreement (EULA) posted athttp://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to theterms and conditions of

    that EULA.

    Copyright 2013, Juniper Networks, Inc.ii

    http://www.juniper.net/support/eula.htmlhttp://www.juniper.net/support/eula.html
  • 8/21/2019 Config Guide Vpns Vpls

    3/485

    Table of Contents

    About the Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Documentation and Release Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Using the Examples in This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii

    Merging a Full Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv

    Merging a Snippet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiv

    Documentation Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xv

    Documentation Feedback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

    Requesting Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

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

    Opening a Case with JTAC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii

    Part 1 Overview

    Chapter 1 Introduction to VPLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

    Introduction to VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

    VPLS Routing and Virtual Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    VPLS and Aggregated Ethernet Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    BGP Signaling for VPLS PE Routers Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

    BGP Route Reflectors for VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    VPLS Multihoming Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Enabling BGP Path Selection for Layer 2 VPNs and VPLS. . . . . . . . . . . . . . . . . . . 10

    VPLS Path Selection Process for PE Routers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

    BGP and VPLS Path Selection for Multihomed PE Routers . . . . . . . . . . . . . . . . . . 14

    VPLS Multihoming Reactions to Network Failures. . . . . . . . . . . . . . . . . . . . . . . . . 16

    Interoperability between BGP Signaling and LDP Signaling in VPLS . . . . . . . . . . . 17

    LDP-Signaled and BGP-Signaled PE Router Topology. . . . . . . . . . . . . . . . . . 18

    Flooding Unknown Packets Across Mesh Groups. . . . . . . . . . . . . . . . . . . . . .19

    Unicast Packet Forwarding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

    VPLS Label Blocks Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

    Elements of Network Layer Reachability Information . . . . . . . . . . . . . . . . . . . 20

    Requirements for NLRI Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

    How Labels are Used in Label Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Label Block Composition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

    Label Blocks in Junos OS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

    VPLS Label Block Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

    PE Router Mesh Groups for VPLS Routing Instances. . . . . . . . . . . . . . . . . . . . . . .23

    Understanding PIM Snooping for VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

    Chapter 2 Introduction to Configuring VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

    Configuring an Ethernet Switch as the CE Device. . . . . . . . . . . . . . . . . . . . . . . . . . 27

    iiiCopyright 2013, Juniper Networks, Inc.

  • 8/21/2019 Config Guide Vpns Vpls

    4/485

    Part 2 Configuration

    Chapter 3 Configuring VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

    Introduction to Configuring VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

    Configuring VPLS Routing Instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Configuring BGP Signaling for VPLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

    Configuring the VPLS Site Name and Site Identifier . . . . . . . . . . . . . . . .34

    Configuring Automatic Site Identifiers for VPLS . . . . . . . . . . . . . . . . . . . . 35

    Configuring the Site Range. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36

    Configuring the VPLS Site Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . .37

    Configuring the VPLS Site Preference. . . . . . . . . . . . . . . . . . . . . . . . . . . 38

    Configuring LDP Signaling for VPLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

    Configuring LDP Signaling for the VPLS Routing Instance. . . . . . . . . . . 40

    Configuring LDP Signaling on the Router. . . . . . . . . . . . . . . . . . . . . . . . . 41

    Configuring VPLS Routing Instance and VPLS Interface Connectivity . . . . . . 41

    Configuring the VPLS Encapsulation Type. . . . . . . . . . . . . . . . . . . . . . . . . . . 42

    Configuring the VPLS MAC Table Timeout Interval. . . . . . . . . . . . . . . . . . . . . 42Configuring the Size of the VPLS MAC Address Table . . . . . . . . . . . . . . . . . . . 43

    Limiting the Number of MAC Addresses Learned fro

Search related