JNCIE Command Reference文档格式.docx
- 文档编号:8390139
- 上传时间:2023-05-11
- 格式:DOCX
- 页数:35
- 大小:192.02KB
JNCIE Command Reference文档格式.docx
《JNCIE Command Reference文档格式.docx》由会员分享,可在线阅读,更多相关《JNCIE Command Reference文档格式.docx(35页珍藏版)》请在冰点文库上搜索。
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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JNCIE Command Reference
![提示](https://static.bingdoc.com/images/bang_tan.gif)