JNCIE Command Reference文档格式.docx

上传人:b****6 文档编号:8390139 上传时间:2023-05-11 格式:DOCX 页数:35 大小:192.02KB
下载 相关 举报
JNCIE Command Reference文档格式.docx_第1页
第1页 / 共35页
JNCIE Command Reference文档格式.docx_第2页
第2页 / 共35页
JNCIE Command Reference文档格式.docx_第3页
第3页 / 共35页
JNCIE Command Reference文档格式.docx_第4页
第4页 / 共35页
JNCIE Command Reference文档格式.docx_第5页
第5页 / 共35页
JNCIE Command Reference文档格式.docx_第6页
第6页 / 共35页
JNCIE Command Reference文档格式.docx_第7页
第7页 / 共35页
JNCIE Command Reference文档格式.docx_第8页
第8页 / 共35页
JNCIE Command Reference文档格式.docx_第9页
第9页 / 共35页
JNCIE Command Reference文档格式.docx_第10页
第10页 / 共35页
JNCIE Command Reference文档格式.docx_第11页
第11页 / 共35页
JNCIE Command Reference文档格式.docx_第12页
第12页 / 共35页
JNCIE Command Reference文档格式.docx_第13页
第13页 / 共35页
JNCIE Command Reference文档格式.docx_第14页
第14页 / 共35页
JNCIE Command Reference文档格式.docx_第15页
第15页 / 共35页
JNCIE Command Reference文档格式.docx_第16页
第16页 / 共35页
JNCIE Command Reference文档格式.docx_第17页
第17页 / 共35页
JNCIE Command Reference文档格式.docx_第18页
第18页 / 共35页
JNCIE Command Reference文档格式.docx_第19页
第19页 / 共35页
JNCIE Command Reference文档格式.docx_第20页
第20页 / 共35页
亲,该文档总共35页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

JNCIE Command Reference文档格式.docx

《JNCIE Command Reference文档格式.docx》由会员分享,可在线阅读,更多相关《JNCIE Command Reference文档格式.docx(35页珍藏版)》请在冰点文库上搜索。

JNCIE Command Reference文档格式.docx

showldptraffic-statistics(noconfig)|showlogr7/ldp-stats

showldpinterface

showldpneighbor

showldpsession

showroutetableinet.3---egressrouter’sloopbackaddress

showroutetablempls.0

---left:

inlabel,right:

swaplabel/pop

showldpdatabase(Label-FEC)

Notes:

Ø

AutomaticallyestablishLSPsbetweentheloopbackaddressesofallLDP-enabledrouters(canbemodifiedwiththeuseofthetransport-addresskeywordintheldpstanza).

Bydefault,theJUNOSsoftwareimplementationofLDPadvertisesaFECfor/32interfaceroutesonly.

LDPisrelianceontheIGPtopreventloopsmeansthereisnoneedtoimplementsomeformofsplithorizon.

LDPsignaledLSPsarenotdisplayedintheoutputoftheshowmplslspcommand(onlyRSVPlisted)

onlythetrafficassociatedwithBGPnexthopsthatresolvethroughinet.3willbetransportedoveranLSP(showrouteresolution)

[editlogical-routersr7protocolsldp]---defaultmetricis1ininet.3

root@JNCIE#settrack-igp-metric

2.RSVPSignaledLSPs

[editinterfaces]

lab@r1#setfe-0/0/0.0familympls

[editprotocolsmpls]

lab@r1#setinterfaceall

[editprotocolsrsvp]---EnableRSVPSignaling

lab@r3#setinterfaceall---recommenddisablingfxp0

showrsvpinterface

showrsvpneighbor---RSVPneighborsaredetectedonly

whenLSPsareactuallysignaled

[editprotocolsrsvp]

lab@r1#setinterfacefe-0/0/1authentication-keyjnx

[editprotocolsmpls]

lab@r1#setlabel-switched-pathr1-r7to10.0.9.7bandwidth10m

[editprotocolsmpls]---withmultipleTEDdomains

lab@r1#setlabel-switched-pathr1-r7no-cspf

showrsvpsession

showmplslsp

showroutetablempls.0

label-switched-path

Troubleshoot:

traceoptions{

filersvp;

flagerrordetail;

flagpathdetail;

flagpathteardetail;

}

[editlogical-routersr7protocolsmplslabel-switched-pathr7-r3]

root@JNCIE#setmetric30---defaultisIGP’sbestroutemetricininet.3

3.EROConstraints

lab@r2#setlabel-switched-pathr2-r6primaryvisit-r7-r5

[editprotocolsmpls]---EROsareconsideredstrictbydefault

lab@r2#setpathvisit-r7-r510.0.4.9

10.0.9.7loose

loopbackaddressesshouldnotbeusedinconjunctionwithstricthops,becausebydefinitionastricthopshouldbedirectlyconnected.

youcanuseastricthopEROpointingtoaneighbor’sloopbackinterfacewhenCSPFisusedtocomputetheLSP’spath.

4.LinkColoring

[editprotocolsmpls]---color-to-numericmappings

lab@r3#setadmin-groupsblue4(bitposition).

lab@r3#setinterfaceso-0/2/0.100admin-groupblue

[editprotocolsmplslabel-switched-pathr4-r3]

lab@r4#setadmin-groupinclude-anyredexcludeblue

showmplslspextensive(CSPFinformation)

showteddatabaseextensive|match"

nodeid|to|color"

filecspf;

flagcspf;

flagcspf-link;

flagcspf-node;

aboutCSPF

Can’tuseCSPF(coulduseEROs)whenthenetwordhavemultipleroutingdomains(protocols)orMulti-LevelIS-ISorMulti-AreaOSPF,becauseTEinformationisn’tleakedbetweenIS-ISlevelsorOSPFareas

JUNOSdoesoffersupportforLSPstitching

CSPFincludethecomputationofFastReroutedetours,linkbypass,LSPre-optimization,andtheuseoflinkcoloring

5.InstallingPrefixes(precisecontrol)

[editprotocolsmplslabel-switched-pathr6-r1]---putininet.3

lab@r6#setinstall10.0.5.254

[editprotocolsmplslabel-switched-pathr6-r1]---moveintoinet.0

lab@r6#setinstall10.0.5/24active

withmultipleequal-costLSPsexisttothesamedestination,defaultrandomlybalancetrafficonaper-prefixbasis

bydefaut,onlyLSPegress/32prefixisinstalledintheinet.3

6.TEShortcuts

label-switched-pathr6-r3to10.0.3.3---mustinasinglerouting-domain

[editprotocolsisis]---automaticinstallationofallprefixesthat

areconsidereddownstreamoftheLSPegressputintotheinet.3orinet.0

⏹lab@r6#settraffic-engineeringshortcuts

[editprotocolsmpls]---moveallintoinet.0

●lab@r6#settraffic-engineeringbgp-igp

variousotherdestinationsalsobeingmappedtother6–r3LSP,thiscanbeproblematic(makingtheuseofinstallgenerallypreferred).

theLDPsignaledLSPhasalsobeenmovedintotheinet.0

[editprotocolsmpls]---keepLDP/RSVP/32prefixininet.3

●lab@r6#settraffic-engineeringbgp-igp-both-ribs

[editprotocolsmpls]---@=RoutingUseOnly,#=ForwardingUseOnly

keepIGProutesbeingactiveforroutingpolicyuse

✓lab@r6#settraffic-engineeringmpls-forwarding

7.Prefix-to-LSPMapping

a)forwardingtablepolicyattheLSPingressnode

[editlogical-routersr7policy-optionspolicy-statementlsp-map]

term1{

from{

protocolbgp;

neighbor10.0.3.3;

route-filter0.0.0.0/0upto/24;

}

then{

install-nexthoplspr7-r3;

accept;

term2{

install-nexthoplspr7-r3-prime;

}

lab@r7#setforwarding-tableexportlsp-map

b)BGPnexthopmanipulationattheLSPegressnode

listingr3’slo0interfaceunderitsarea0definition,whichresultsintheadvertisementofboththeprimaryandsecondarylo0addresses.

asecondarylo0addresswillnotbeadvertisedintotheTED,sodisablecspf

IBGPexportpolicywillbeusedattheLSPegressnodetoselectivelysettheBGPnexthoptothedesiredLSPegressaddress

8.SecondaryPaths

[editprotocolsmplslabel-switched-pathr1-r7]---establishthesecondarypathbeforetheprimarypathfailed

lab@r1#setsecondaryr1-r7-primestandby

[editprotocolsmplslabel-switched-pathr1-r7]---changetheRSVPreservationstylefromthedefaultFixedFilter(FF)toaSharedExplicit(SE)style

lab@r1#setadaptive

candefinemanysecondarypaths,butonlyoneestablishedatime

defineonlysecondarypathstopreventrevertingbacktoprimary(notswitchamongsecondarypaths)

9.FastRerouteandLinkProtection

[editprotocolsmplslabel-switched-pathr6-r4]---protecttheentireLSP,useTEDtolocatedetourpathswhileregardlessofCSPF

lab@r6#setfast-reroute

--------------------------------------------------------

[editprotocolsmplslabel-switched-pathr6-r4]---protectaspecificinterface,makesuseofaTEDandtheCSPF

lab@r6#setlink-protection

[editprotocolsrsvp]

lab@r3#setinterfaceso-0/2/0.100link-protection(path---ERO)

showrsvpsessioningressdetail(onfailedrouter)

AkeypointtoconsiderwhendealingwithbothFastRerouteandlinkprotectionistheneedforaTEDwithsufficientinformationtoallowasuccessfulCSPFcalculation

10.Preemption(setupandholdpriority)

[editprotocolsmplslabel-switched-pathr5-r1]

lab@r5#setpriorityxx---default7(weak)0(strong)

10.Control-TTL

[editprotocolsmplslabel-switched-pathr2-r6]---onlyatingress

lab@r2#setno-decrement-ttl

[editprotocolsmpls]---atallnodesalongtheLSP,supportmulti-vendors

lab@r2#setno-propagate-ttl

11.Validatethedataplanewithoutusingexternalprefixesormodifyingdefaultroutingtableintegration.

[editinterfaces]---theMPLSpingmechanismalwaystargetsadestinationaddressof127.0.0.1

lab@r1#setlo0.0familyinetaddress127.0.0.1

pingmplsrsvpr5-r1

12.Ultimatehoppopping

[editprotocolsldp/mpls]---why?

patibility2.CoS

lab@r6#setexplicit-null

13.Automaticabandwidthreservation

lab@r4#setstatisticsfilempls-stats

setstatisticsauto-bandwidth

[editprotocolsmplslabel-switched-pathr4-r3]–--default86400s

lab@r4#setauto-bandwidthminimum-bandwidth1madjust-interval300

14.RSVP-basedLDPtunneling

[editprotocolsmplslabel-switched-pathr1-r7]---

lab@r1#setldp-tunneling

[editprotocolsldp]---

lab@r1#setinterfacelo0.0

Layer3VPNs(2547bis)

1.StaticandBGProutingforPE-CEconnection

[editrouting-instancesc2]

lab@r6#setinstance-typevrf

[editrouting-instancesc2]---connecttoce

lab@r6#setinterfacefe-0/1/3

[editrouting-instancesc2]---defaultVRFpolicy:

automaticllyadvertiseandreceive;

theroutesfromCEaswellasthevrf’sstaticanddirectroutes;

localroutescan’tbeexported;

lab@r6#setvrf-targettarget:

65412:

420

[editrouting-options]---automatic

lab@r6#setroute-distinguisher-id10.0.9.6

[editrouting-instancesc2]---manual

lab@r6#setroute-distinguisheras:

nnorip:

nn

[editrouting-instancesc2routing-options]

lab@r6#setstaticroute220.220/16next-hop172.16.0.10

ping220.220.0.1routing-instancec2

[editrouting-instancesc2protocolbgpgroupc1]

lab@r4#settypeexternalpeer-as65010neighbor172.16.0.6

showbgpsummary[instancec1]

showroutetablec1

[editrouting-instancesc2]---performend-to-endpingandtraceroute

lab@r6#setvrf-table-label

2.MP-BGPamongPE-PE

[editprotocolsbgpgroupintneighbor10.0.9.6]---bothaddressfamilyenabled

lab@r4#show

familyinet{

unicast;

familyinet-vpn{

showroutetablebgp.l3vpn.0

showrout

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2