Configuration On Pe1 (Local Pe Router) - Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - BGP AND MPLS CONFIGURATION GUIDE 2010-10-12 Configuration Manual

Software for e series broadband services routers bgp and mpls configuration guide
Hide thumbs Also See for JUNOSE SOFTWARE FOR E SERIES 11.3.X - BGP AND MPLS CONFIGURATION GUIDE 2010-10-12:
Table of Contents

Advertisement

JunosE 11.3.x BGP and MPLS Configuration Guide

Configuration on PE1 (Local PE Router)

554
! Configure a virtual router CE1.
host1(config)#virtual-router ce1
!
! Specify the interface for the LAG bundle lag 1 that groups all Ethernet physical
! interfaces between CE1 and PE1.
host1:ce1(config)#interface lag 1
!
! Add the Gigabit Ethernet physical interfaces to the LAG bundle named lag 1.
host1:ce1(config-if)#member-interface gigabitEthernet 2/1/0
host1:ce1(config-if)#member-interface gigabitEthernet 2/1/3
!
! Specify VLAN as the encapsulation method for the Ethernet interface.
host1:ce1(config-if)#encapsulation vlan
!
! Specify another subinterface in the LAG bundle lag 1.1.
host1:ce1(config-if)#interface lag 1.1
!
! Assign an S-VLAN ID and a VLAN ID for the subinterface, and assign an IP
! address and mask to the interface.
host1:ce1(config-subif)#svlan id 1 1
host1:ce1(config-subif)#ip address 7.7.7.7 255.255.255.0
Use the following commands on the local PE router (PE1) to configure the MPLS L2VPN
tunnel shown inFigure 122 on page 553.
! Configure a virtual router PE1.
host1(config)#virtual-router pe1
!
! Enable MPLS on a virtual router in Global Configuration mode.
host1:pe1(config)#mpls .
!
! Configure the LSR to create topology-driven LSPs. Enabling LDP automatically
! creates topology-driven LSPs.
host1:pe1(config)#mpls topology-driven-lsp
!
! On PE1, configure a loopback interface, and assign an IP address and mask to
! the interface.
host1:pe1(config)#interface loopback 0
host1:pe1(config-if)#ip address 11.11.11.11 255.255.255.255
!
! Assign the router ID using the IP address you configured for the loopback
! interface.
host1:pe1(config)#ip router-id 11.11.11.11
!
! Create an IEEE 802.3ad LAG bundle, lag2, and add the Gigabit Ethernet physical
! interfaces to lag2. Specify VLAN as the encapsulation method for the member
! interfaces.
host1:pe1(config)#interface lag 2
host1:pe1(config-if)#member-interface gigabitEthernet 2/1/1
host1:pe1(config-if)#member-interface gigabitEthernet 2/1/2
host1:pe1(config-if)#encapsulation vlan
!
! Specify a subinterface by adding a unique subinterface number to the LAG bundle
! name. Assign an S-VLAN ID and a VLAN ID for the subinterface. Also, configure
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents