JuniperSE800.docx
《JuniperSE800.docx》由会员分享,可在线阅读,更多相关《JuniperSE800.docx(11页珍藏版)》请在冰豆网上搜索。
JuniperSE800
Juniper/RedbackmartiniL2VPNconfigsample
Olive本地路由器-P0-P1-P2-P3-SE800
L2-Circuit配置在本地的路由器上
P0,P1,P2,P3配置在LogicalRouter中
SE800是redback的BRAS,作为L2-circuilt的另一端
在Olive本地路由器与SE800之间建立L2-Circuit
root@olive#runshowl2circuitconnections
Layer-2CircuitConnections:
Legendforconnectionstatus(St)
EI--encapsulationinvalid NP--interfaceh/wnotpresent
MM--mtumismatch Dn--down
EM--encapsulationmismatch VC-Dn--VirtualcircuitDown
CM--control-wordmismatch Up--operational
VM--vlanidmismatch CF--Calladmissioncontrolfailure
OL--nooutgoinglabel XX--unknown
NC--intfencapsnotCCC/TCC
CB--rcvdcell-bundlesizebad
Legendforinterfacestatus
Up--operational
Dn--down
Neighbor:
6.6.6.6
Interface Type St Timelastup #Uptrans
fxp2.0(vc100) rmt Up Jun 710:
09:
192005 1
Localinterface:
fxp2.0,Status:
Up,Encapsulation:
VLAN
RemotePE:
6.6.6.6,Negotiatedcontrol-word:
No
Incominglabel:
100000,Outgoinglabel:
131072
[edit]
root@olive#
[local]SE1#showl2vpnxcdetail
LDPL2VPNCircuit11/1vlan-id100
L2State :
Up Peer :
5.5.5.5
VCID :
100 XCstate :
Up
LocalLabel :
131072 AccessCircuit:
11/1:
1023:
63/1/2/57342
RemoteLabel :
100000 L2VPNCircuit :
255/12:
1023:
63/0/1/1
EXPbits :
0 LocalEncap :
dot1q
RemoteGroupID:
0 RemoteEncap :
dot1q
LocalVCType :
VLAN RemoteVCType:
VLAN
LocalVCMTU :
1500 RemoteVCMTU :
1500
Flags0x0000b9e9:
in-rib,in-lblmap,up,in-ldp,from-ldp,from-cfg
:
ism-up,peer-up,remote-encap,remote-cbit
root@olive#show
version7.1R1.3;
groups{
mpls{
logical-routers{
{
interfaces{
{
unit<*>{
familympls;
}
}
}
}
}
}
}
apply-groupsmpls;
system{
host-nameolive;
saved-core-context;
login{
userjuniper{
uid2002;
classsuperuser;
authentication{
encrypted-password"$1$fTE4aVvP$u8euyzJMcJdVZ/AlBCNoj1";##SECRET-DATA
}
}
uservcmux{
uid2000;
classsuperuser;
authentication{
encrypted-password"$1$meU83Z82$1NOIBKB7kMYmkUu78z.bj/";##SECRET-DATA
}
}
}
services{
ftp;
telnet;
}
syslog{
user*{
anyerror;
}
filemessages{
anynotice;
authorizationinfo;
}
}
compress-configuration-files;
}
logical-routers{
p0{
interfaces{
fxp1{
unit1{
vlan-id10;
familyinet{
address10.0.10.1/24;
}
}
}
fxp2{
unit4{
vlan-id40;
familyinet{
address10.0.40.2/24;
}
}
}
lo0{
unit1{
familyinet{
address1.1.1.1/32;
}
}
}
}
protocols{
mpls{
interfaceall;
}
ospf{
area0.0.0.0{
interfaceall;
}
}
ldp{
interfaceall;
}
}
routing-options{
router-id1.1.1.1;
}
}
p1{
interfaces{
fxp1{
unit2{
vlan-id20;
familyinet{
address10.0.20.1/24;
}
}
}
fxp2{
unit1{
vlan-id10;
familyinet{
address10.0.10.2/24;
}
}
}
lo0{
unit2{
familyinet{
address2.2.2.2/32;
}
}
}
}
protocols{
mpls{
interfaceall;
}
ospf{
area0.0.0.0{
interfaceall;
}
}
ldp{
interfaceall;
}
}
routing-options{
router-id2.2.2.2;
}
}
p2{
interfaces{
fxp1{
unit3{
vlan-id30;
familyinet{
address10.0.30.1/24;
}
}
}
fxp2{
unit2{
vlan-id20;
familyinet{
address10.0.20.2/24;
}
}
}
lo0{
unit3{
familyinet{
address3.3.3.3/32;
}
}
}
}
protocols{
mpls{
interfaceall;
}
ospf{
area0.0.0.0{
interfaceall;
}
}
ldp{
interfaceall;
}
}
routing-options{
router-id3.3.3.3;
}
}
p3{
interfaces{
fxp1{
unit5{
vlan-id50;
familyinet{
address10.0.50.1/24;
}
}
}
fxp2{
unit3{
vlan-id30;
familyinet{
address10.0.30.2/24;
}
}
}
lo0{
unit4{
familyinet{
address4.4.4.4/32;
}
}
}
}
protocols{
mpls{
interfaceall;
}
ospf{
area0.0.0.0{
interfaceall;
}
}
ldp{
interfaceall;
}
}
routing-options{
router-id4.4.4.4;
}
}
}
interfaces{
fxp0{
unit0{
familyinet{
address10.192.220.50/24;
}
}
}
fxp1{
vlan-tagging;
unit4{
vlan-id40;
familyinet{
address10.0.40.1/24;
}
familympls;
}
}
fxp2{
vlan-tagging;
unit0{
encapsulationvlan-ccc;
vlan-id100;
}
}
lo0{
unit5{
familyinet{
address5.5.5.5/32;
}
}
}
}
routing-options{
static{
route0.0.0.0/0next-hop10.192.220.1;
}
}
protocols{
mpls{
interfacefxp1.4;
interfacelo0.5;
}
ospf{
area0.0.0.0{
interfacefxp1.4;
interfacelo0.5;
}
}
ldp{
interfacefxp1.4;
interfacelo0.5;
session6.6.6.6{
authentication-key"$9$b.wgJji.m5F";##SECRET-DATA
}
}
l2circuit{
neighbor6.6.6.6{
interfacefxp2.0{
virtual-circuit-id100;
mtu1500;
}
}
}
}
[edit]
root@olive#
SE800的配置
[local]SE1#showconfig
Buildingconfiguration...
Currentconfiguration:
!
Configurationlastchangedbyuser'admin'atWedJun2314:
07:
282004
servicemultiple-contexts
!
serviceinter-contextrouting
!
contextlocal
!
noipdomain-lookup
!
interfacefxp2.5
ipaddress10.0.50.2/24
ipmtu1496
!
interfacelo1loopback
ipaddress6.6.6.6/32
!
interfacemgmt
ipaddress100.100.100.1/24
loggingconsole
!
routerospf10
area0.0.0.0
interfacefxp2.5
interfacelo1
!
routermpls
interfacefxp2.5
interfacelo1
!
routerldp
neighbor5.5.5.5targeted
neighbor5.5.5.5passwordencrypted7BDBD216D4E15C91
interfacefxp2.5
interfacelo1
!
enableencrypted1$1$........$4qhlVuh2HDOCu/EbYfbM6.
administratoradminencrypted1$1$........$4qhlVuh2HDOCu/EbYfbM6.
subscriberdefault
ipaddresspool
serviceftpclient
servicetelnet
!
l2vpn
l2vpn-cct-bindingsldp
xc11/1vlan-id100vc-id100peer5.5.5.5remote-encapdot1q
!
!
**EndContext**
loggingtdmconsole
loggingactive
loggingstandbyshort
!
Bridgeglobalconfiguration
!
systemclocktimezoneBeiJing80local
!
portethernet7/1
!
XCRPmanagementportsonslot7and8areconfiguredthrough7/1
noshutdown
bindinterfacemgmtlocal
!
cardether-12-port11
!
portethernet11/1
noshutdown
encapsulationdot1q
dot1qpvc50
bindinterfac