




免费预览已结束,剩余453页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1,培训内容,1、硬件基本组成及介绍2、软件体系的基本介绍3、硬件基本操作,SE800基本结构,4,CHASSIC机框介绍,SE800硬件组件,a.Slots1thru6:TrafficCardSlots,b.Slots7and8ControllerCardSlots,c.Slots9thru14:TrafficCardSlots,e.Fan/AlarmUnit,d.Cableguides,f.SystemLEDs,Slotnumber,1、具有全冗余电源和风扇系统的机箱2、全规格高速和低速I/O线卡3、热备份路由处理板(xcrp)。每个都有一个专门的处理器用于运行系统软件,而另一个专门的处理器用于监视I/O4、从主路由处理板(xcrp)切换到备份路由板完全不会中断数据包转发5、ActiveComponentUpgrade技术允许单个路由协议单独进行升级,且完全不会中断数据包转发。6、采用全分布式转发,每块板卡上都有高性能的PacketProcessingASIC(PPA)包处理芯片。7、所有板卡支持热插拔。,5,CHASSIC机框介绍,机框尺寸,W:17.50”(44.5cm),TotalSlots:14,TrafficCardSlots:1.61)System2)Context3)Interface4)Profile5)Port6)Circuit7)Binding,READY,5,portethernet7/1Noshutdown,Letsdiscussbindingtypeapplied(bindinterface=staticbinding),SystemConfigurationGuideChapter4/5/6/7,97,基本配置及操作,1、基本命令行操作结构图2、基本命令图解3、context配置4、Interface配置5、port配置6、bind配置7、subscriber配置8、系统配置,98,CommandLineInterfaceMap,Exec,GlobalConfig,Port,Context,Interface,Access-lists,Channel,Route-Map,BGP,OSPF,IS-IS,OSPFSub-modes,BGPSub-modes,QoS,User,99,Prompt,localRedback(config-ctx)#,100,配置context,1、首先全局配置模式下启用multiple-contextslocalredback(config)#servicemultiple-contexts2、全局配置模式下配置新的contextlocalredback(config)#contextctx-namevprn-rdASN:nnnn|A.B.C.D:nn3、如何配置非local间context静态路由全局配置模式下执行命令:localredback(config)#serviceinter-contextrouting在某context前执行no则删除该context,慎重操作。,101,配置interface,1、context下创建interfacelocalRedback(config)#context比如在PPPoEcontext配置localredback(config)#contextPPPoE2、创建interfacelocalRedback(config-ctx)#interfaceloopback3、分配ipaddresslocalRedback(config-if)#ipaddress/4、对interface作用进行描述(可选项)localRedback(config-if)#description,102,简单INTERFACE配置,contextlocalinterfacepurpleipaddress172.16.38.1/24interfacegreenipaddress10.1.1.1/24interfaceblueipaddress192.168.4.1/27interfacegreyipaddress201.42.51.9/30,103,Route路由配置,在context下配置静态路由localRedback(config-ctx)#iproute/,104,Port(Ethernet)配置,1、指定具体某接口localRedback(config)#portethernet/2、激活接口localRedback(config-port)#noshutdown3、其他相关属性的配置localRedback(config-port)#noauto-negotiate4、和interfacebind(没有使用vlan)localRedback(config-port)#bindinterface5、如果使用vlan,封装802.1q相当于启用TrunklocalRedback(config-port)#encapsulationdot1q6、配置vlan的cricuitlocalRedback(config-port)#dot1qpvc,105,Port(Ethernet)配置,7、bind到interfacelocalRedback(config-port)#bindinterface,106,POS口配置,1、指定具体某接口localRedback(config)#portpos/2、指定frame格式localRedback(config-port)#framingsonet|sdh3、指定封装类型localRedback(config-port)#encapsulationcisco-hdlc|frame-relay|ppp4、激活接口使其生效localRedback(config-port)#noshutdown5、如果不使用帧中继则直接bindinterfacelocalRedback(config-port)#bindinterface,107,POS口配置,6、如果使用帧中继则需要设置LMI类型localRedback(config-port)#frame-relaylmi-typeansi|group-of-4|itu7、配置帧中继pvc及封装类型localRedback(config-port)#frame-relaypvcencapsroute14908、bindpvc到interfacelocalRedback(config-pvc)#bindinterface,108,ATM口配置,1、创建atmprofilelocalRedback(config)#atmprofile2、配置atmprofile流量整形类型localRedback(config-atmpro)#shapingvbr-nrt|vbr-rtpcrcdvtscrbtlocalRedback(config-atmpro)#shapingcbrratecdvlocalRedback(config-atmpro)#shapingubr3、指定具体的某atm接口localRedback(config)#portatm/4、激活atm接口localRedback(config-port)#noshutdown,109,ATM口配置,5、配置atmpvclocalRedback(config-port)#atmpvcprofileencapsulation6、bindatm接口到interfacelocalRedback(config-pvc)#bindinterface,110,BINDING配置,1、静态binding方法Binding命令需要在port或者pvc下执行,是在port和interface间的一种bindlocalredback(config-port)#bindinterfaceif-namectx-namelocalredback(config-dot1q-pvc)#bindinterfaceif-namectx-name2、动态binding方法在封装了pppoe的模式下应用动态binding,pppoe为动态绑定,而动态绑定则用于通过动态协商后接口与线路的绑定,如拨号线路,动态binding只有当subscriber用户存在时,该circuit链路就存在。localRedback(config-port)#dot1qpvcvlan-idencapsulationpppoebindauthenticationpapchapmaxnumber,111,Subscriber配置,1、subscriber配置需要在context执行localRedback(config-ctx)#subscribername2、配置subscriberpasswordlocalRedback(config-sub)#password3、配置subscriberipaddresslocalRedback(config-sub)#ipaddressip-addrnetmask|/prefix-length4、静态bindsubscriber在portcircuit下localRedBack(config-dot1q-pvc)#bindsubscriber,112,Subscriber配置,5、动态subscriber配置方法在SE800中配置用户帐号,并配置subscriber需要获取地址的地址池然后在进行动态binding即可。本节需要在后面本地认证业务配置中讲解。,113,System配置,1、配置主机名localRedback(config)#systemhostname2、配置设备所在位置localRedback(config)#systemlocation3、配置联系方式localRedback(config)#systemcontact4、时区以及时钟配置localRedback(config)#systemclocktimezoneGMT+880locallocalRedback#clockset5、启用多context开关localRedback(config)#servicemultiple-contexts,114,System配置,6、配置管理员帐号localRedback(config-ctx)#administratorpassword7、配置enablepasswordlocalRedback(config-ctx)#enablepassword,115,管理帐号命令权限配置,1、在administrator模式下配置localRedback(config-administrator)#privilegestartlocalRedback(config-administrator)#privilegemax,116,基本操作(Context),1、查看context类型localRedback#showcontextall显示所有已配置的context信息2、查看某context详细配置信息localRedback#showconfigurationcontext,117,基本操作(Interface),1、查看interface信息localRedback#showipinterfaceword|brief|all-contextword表示具体的某一个interface名称brief表示显示当前context中interface的详细信息all-context表示显示所有context中的interface信息2、查看interface的配置信息localRedback#showconfigurationif-name3、查看interface的binding信息localSE800#showbindingCircuitStateEncapsBindTypeBindName1/1UppppinterfaceTO-DALI-SE1local1/2UppppinterfaceTO-SIMAO-SE1local1/3UppppinterfaceTO-ZHAOTONG-SE1local1/4UppppinterfaceTO-YUXI-SE1local10/1Upethernet10/1vlan-id702Upethdot1qpppoechappap10/1vlan-id703Upethdot1qpppoechappap10/1vlan-id701pppoe1345Upethdot1qpppoechappaphcst100310/1vlan-id701pppoe1325Upethdot1qpppoechappaphcst100410/1vlan-id701pppoe1361Upethdot1qpppoechappaphcst101110/1vlan-id200pppoe1352Upethdot1qpppoechappapyckdxhfcl050714/1:1vpi-vci245352pppoe846Upatmpppoepppcopapszaf3352514/1:1vpi-vci245355pppoe508Upatmpppoepppcopapszaf3800314/1:1vpi-vci245356pppoe2264Upatmpppoepppcopapszaf33715,118,基本操作(Port),1、查看port状态localRedback#showportslot/port|alldetail查看经过配置的接口信息即在接口下执行操作的接口,localRedback#showportSlot/Port:Ch:SubChTypeState1/1posUp1/2posUp3/2ethernetUp3/3ethernetUp3/4ethernetUp7/1ethernetDown14/1atmDown,119,基本操作(Port),查看所有port信息localRedback#showportall,localRedBack#showportallSlot/Port:Ch.SubChTypeState2/1oc12Up2/1:5ds3Up2/1:5:18ds1Up2/2oc12Unconfigured2/3oc12Unconfigured2/4oc12Unconfigured4/1ethernetUp4/2ethernetUp4/3ethernetUp4/4ethernetUp7/1ethernetDown,120,基本操作(Port),查看port详细信息localRedback#showportslot/portdetailethernet1/1stateisUpDescription:to_trk_218crs_0/4/0/0Linestate:UpAdminstate:UpLinkDampening:disabledUndampenedlinestate:UpDampeningCount:0Encapsulation:dot1qMTUsize:1600BytesNASPortType:MACaddress:00:30:88:14:79:9eMediatype:1000Base-ZXAuto-negotiation:offstate:offFlowcontrol:rxstate:rxSpeed:1GbpsDuplexmode:fullLinkDistance:N/ALoopback:offSFPTransceiverStatusWavelength:1550.00nmDiagMonitor:YesTxFault:NoFaultRxFault:NoFaultTxPwrmeasureddbm:-0.11RxPwrmeasureddbm:-17.52Temperature:38CVccMeasured:3.28VActiveAlarms:NONE,121,基本操作(Port),查看port流量localRedback#showportcounters,localRedBackshowportcounters6/1PortTypePkts/BytesSentPkts/BytesReceived6/1pos242321122024,localRedBackshowportcounters9/1detailCountersforportethernet9/1-Interval:07:56:10PPAPortCounterspacketssent:0bytessent:0packetsrecvd:476bytesrecvd:193732PPAInputErrorCountersidcothererrors:0crcporterrors:0idcoverrunerrors:0idcaborterrors:0nocctpackets:0nocctbytes:0cctdownpkts:476cctdownbytes:193732unknownencappkts:0unknownencapbyte:0unreachpkts:0unreachbytes:0mediafilterpkts:0mediafilterbytes:0,122,基本操作(Port),1、查看port配置信息localRedback#showconfigportslot/port2、清空指定接口流量计数器刷新所有port流量刷新指定port流量,localRedback#clearportcounters,localRedback#clearportcounters/O-R-S(-T)客户端广播初始化分组I(Initiation),其中可能以tag形式包含客户端希望连接的BRAS或服务等;BRAS收到后以分组O(Offer)单播相应,其中同样也可能以tag形式包含设置的字串标志自身的信息(如域名)。客户端以分组R(Request)对第一个到达客户端的分组O做响应,请求SessionID等资源,BRAS以分组S(Session)给出所要资源。至此PPPoED(Discovery)过程结束,常规PPP过程接续。,141,PPPOE(PADI),Client广播发向所有的base:Frame519(36bytesonwire,36bytescaptured)EthernetII,Src:Xircom_97:be:b4(00:10:a4:97:be:b4),Dst:Broadcast(ff:ff:ff:ff:ff:ff)PPP-over-EthernetDiscovery0001.=Version:1.0001=Type:1Code:ActiveDiscoveryInitiation(PADI)(0 x09)SessionID:0 x0000PayloadLength:16PPPoETagsService-Name:Host-Uniq:1000000018000000,142,PPPOE(PADO),BASE发往Client:Frame520(62bytesonwire,62bytescaptured)EthernetII,Src:Siara_00:18:33(00:30:88:00:18:33),Dst:Xircom_97:be:b4(00:10:a4:97:be:b4)PPP-over-EthernetDiscovery0001.=Version:1.0001=Type:1Code:ActiveDiscoveryOffer(PADO)(0 x07)SessionID:0 x0000PayloadLength:42PPPoETagsHost-Uniq:1000000018000000AC-Name:Redback-0A0K4090300058Service-Name:,143,PPPOE(PADR),Client单播发往00:30:88:00:18:33base:Frame521(36bytesonwire,36bytescaptured)EthernetII,Src:Xircom_97:be:b4(00:10:a4:97:be:b4),Dst:Siara_00:18:33(00:30:88:00:18:33)PPP-over-EthernetDiscovery0001.=Version:1.0001=Type:1Code:ActiveDiscoveryRequest(PADR)(0 x19)SessionID:0 x0000PayloadLength:16PPPoETagsService-Name:Host-Uniq:1000000019000000,144,PPPOE(PADS),Base发向client:Frame522(62bytesonwire,62bytescaptured)EthernetII,Src:Siara_00:18:33(00:30:88:00:18:33),Dst:Xircom_97:be:b4(00:10:a4:97:be:b4)PPP-over-EthernetDiscovery0001.=Version:1.0001=Type:1Code:ActiveDiscoverySession-confirmation(PADS)(0 x65)SessionID:0 x0009PayloadLength:42PPPoETagsService-Name:Host-Uniq:1000000019000000AC-Name:Redback-0A0K4090300058,145,PPPOE(PADT),Client发向base:Frame1065(20bytesonwire,20bytescaptured)EthernetII,Src:Xircom_97:be:b4(00:10:a4:97:be:b4),Dst:Siara_00:18:33(00:30:88:00:18:33)PPP-over-EthernetDiscovery0001.=Version:1.0001=Type:1Code:ActiveDiscoveryTerminate(PADT)(0 xa7)SessionID:0 x0009PayloadLength:0,146,PPPOE发现阶段,PPPoe过程即PPP发现阶段,PPPoE客户端,BAS,BAS在PADS阶段分配session-id,147,PPPOE发现阶段,PADT报文可能在会话进行开始之后的任意时间内被发送,主要是用来终止一个PPPOE会话可以由PPPoE客户端或BAS发送,目的地址填充为对端的以太网的MAC地址当收到PADT的时候,不允许再使用当前这个进程发送PPP数据流量,甚至PPP的终止报文,已无任何tag标记,148,PPPOE会话阶段,当Discovery阶段结束时,用户主机和接入设备之间都获得了可供以太网上建立PPP连接的全部信息形成了点到点的逻辑通道,就可以进行PPP的协议交互了进入PPPoE会话阶段PPP协商数据传输,149,PPPsession,必须在完成了PPPOE发现过程后,则才进入到了ppp会话阶段。,PPPoE客户端,BAS,LCP配置Request,PAP认证请求,PAP认证Ack,IPCP配置Request,LCP配置Ack,LCP完成的协商,比如PAP/CHAP,压缩,多链路等,Radius,radius认证请求,radius认证Ack,计费start,计费Ack,IPCP配置Nak,IPCP配置Request,IPCP配置Ack,IPCP过程完成IP地址,掩码和DNS等协商工作,完成之后是不是没事干了?,150,拨号配置(本地认证),1、增加PPPOEcontextlocalredback(config)#contextPPPoE2、配置domainlocalredback(config-ctx)#domain3、配置ippoollocalredback(config-ct)#interfacemultibindlocalredback(config-if)#ipaddressa.b.c.d/mastlocalredback(config-if)#ippool4、配置用户帐号localredback(config-ctx)#Subscriberuernamelocalredback(config-sub)#password,151,拨号配置(本地认证),5、subscriber下应用ippool及dns、限速等localredback(config-sub)#ipaddresspoollocalredback(config-sub)#dnsprimarylocalredback(config-sub)#dnssecondary6、配置本地认证localredback(config-ctx)#aaaauthenticationsubscriberlocal7、配置context和其它设备间互联三层ip地址localredback(config-ctx)#interfacelocalredback(config-if)#ipaddressa.b.c.d/mask8、配置路由或路由协议在contextPPPOE中启用ospf或者配置静态路由9、动态绑定localredback(config-port)#dot1qpvcencapsulationpppoelocalredback(config-port)#bindauthenticationpapmax,152,拨号配置(不认证),1、增加PPPOEcontextlocalredback(config)#contextPPPoE2、配置domainlocalredback(config-ct)#domain3、配置ippoollocalredback(config-ct)#interfacemultibindlocalredback(config-if)#ipaddressa.b.c.d/mastlocalredback(config-if)#ippool4、subscriber下应用ippool及dns、限速等localredback(config-sub)#ippoollocalredback(config-sub)#dnsprimarylocalredback(config-sub)#dnssecondary,153,拨号配置(不认证),5、subscriber不进行任何认证localredback(config-ctx)#aaaauthenticationsubscribernone6、配置context和其它设备间互联三层ip地址localredback(config-ctx)#interfacelocalredback(config-if)#ipaddressa.b.c.d/mask7、配置路由或路由协议在contextPPPOE中启用ospf或者配置静态路由8、动态绑定localredback(config-port)#dot1qpvcencapsulationpppoelocalredback(config-port)#bindauthenticationpapmax,154,拨号用户查询,1、showpppoesubscriberslotsummary2、showcircuitslotsummary3、showsubscribersummaryall4、showsubscriberactiverusernamexx5、showpppoe|includesub-name6、showsubscriberacitve|beginbefore9ip7、showsubscriber|include“vlan-id”|counts8、showippool9、showsubscriberaddressusername10、showpppoesummaryall,155,Usecommandtooperate,11、clearsubscriberusename12、showradiusserver/counters13、showpppoecounters14、showpppoecountersdetail|includethr,156,修改拨号用户地址池,1、首先修改地址池网关Ippool原始配置interfacePPPOE-POOL-08multibindipaddress218.56.192.1/21ippool218.56.192.0/21修改ippool网关localredback(config-ctx)#interfacePPPOE-POOL-08multibindlocalredback(config-if)#ipaddress218.56.192.1/20commit2、删除原始地址池网关localredback(config-ctx)#noippool218.56.192.1/21commit,157,修改拨号用户地址池,3、添加修改后的地址池localredback(config-ctx)#ippool218.56.192.0/20commit4、修改指向null0的静态路由配置添加修改后的路由localredback(config-ctx)#iproute218.56.192.0/20null0删除原来的路由localredback(config-ctx)#noiproute218.56.192.0/21null0地址池的操作和修改必须在地址池所在的context中进行,158,L2TP配置,1、L2TP概念LAC概念LNS概念静态L2TP动态L2TP2、配置L2TP须准备的数据3、配置静态L2TP4、配置动态L2TP5、L2TP操作,159,LAC及LNS概念,LAC为L2TP用户的接入设备,并提供AAA服务,发起隧道和会话链接功能。LNS完成对用户的最终授权和验证,接收来自LAC的隧道和连接请求,并建立连接LNS和用户的PPP通道,LNS是隧道和会话的逻辑终结点。,160,静态L2TP概念,1、静态l2tp隧道事先通过domain域已经建立好的,LNS对subscriber认证,LAC不认证为sub接入点。L2tp是在电信行业中应用比较常见的一类VPDN,用户通过pppoe软件拨入LAC,LAC通过用户名中的后缀即domain域发起l2tp遂道连接,LAC与LNS建立遂道后由LNS对用户进行认证和IP地址分配。总之静态L2TP由LAC侧根据用户名域名来指定隧道参数建立隧道。,161,静态L2TP概念,2、静态L2TP由LAC侧根据用户名域名来指定隧道参数,隧道参数在SE800指定,静态方式下用户只能拨入特定的LAC侧,此方式适用于拨号地点相对固定的客户;3、LAC与LNS建立遂道后由LNS对用户进行认证和IP地址分配。4、LNS终结用户的PPP。5、用户根据tunneldomain选定l2tppeer即隧道6、静态L2TP是一次认证,在LAC端不认证,用户在LNS端进行认证。l2tppeer是静态设置好的,不通过radius下发隧道属性来建立,162,静态L2TP配置(必要条件),配置L2TP必要条件:1、LAC名称和IP地址(IP由我们提供给LNS侧网管)2、LNS名称和IP地址3、L2TP隧道认证字符串4、拨号用户的domain,163,静态L2TP配置,1、增加VPDNcontextlocalredback(config)#context2、配置domain域localredback(config-ctx)#domain3、配置ip地址和LNS连接localredback(config-ctx)#interfaceloopback4、配置ospf保证和LSN路由可达,164,静态L2TP配置(LAC侧),5、配置L2TPPEER静态隧道即lac和lns隧道localredback(config-ctx)#l2tp-peernamemediaudp-ipremoteiplocal6、隧道模式下指定domainlocalredback(config-l2tp)#domain7、配置隧道其他参数localredback(config-l2tp)#local-namelocalredback(config-l2tp)#functionlac-onlylocalredback(config-l2tp)#tunnel-auth,165,静态L2TP配置(LAC侧),8、缺省subscriber配置localredback(config-ctx)#subscriberdefaultlocalredback(config-sub)#tunneldomain9、配置不认证项localredback(config-ctx)#aaaauthenticationsubscribernone,166,静态L2TP配置(LNS侧),1、增加VPDNcontextlocalredback(config)#context2、配置domain域localredback(config-ctx)#domain3、配置ip地址和LAC连接localredback(config-ctx)#interfaceloopback4、配置地址池localredback(config-ct)#interfacemultibindlocalredback(config-if)#ipaddressa.b.c.d/mastlocalredback(config-if)#ippool5、配置LNS认证方式localredback(config-ctx)#aaaauthenticationsubscriberlocal,167,静态L2TP配置(LNS侧),5、配置L2TP帐号localredback(config-ctx)#Subscriberuernamelocalredback(config-sub)#passwordlocalredback(config-sub)#ipaddresspoollocalredback(config-sub)#tunneldomain6、配置隧道localredback(config-ctx)#l2tp-peernamemediaudp-ipremoteiplocal7、隧道模式下配置domainlocalredback(config-l2tp)#domain8、配置隧道相关参数localredback(config-l2tp)#local-namelocalredback(config-l2tp)#functionlNS-onlylocalredback(config-l2tp)#tunnel-auth,168,动态L2TP概念,动态L2TP1、所有隧道参数由radius下发,Se800作为LAC,将用户名发送给radius服务器,radius服务器返回L2TP属性值给LAC,然后se800根据这些参数来为用户建立到LNS的L2TPtunnel连接,根据域建立相应的通道。,169,动态L2TP配置,1、增加VPDNcontextlocalredback(config)#context2、配置不同的domainlocalredback(config-ctx)#domain3、配置loopback地址localredback(config-ctx)#interfaceloopbacklocalredback(config-if)#ipsource-addressradius4、配置radius属性其配置和PPPOE处配置相同。,170,动态L2TP配置,5、配置radius授权tunnle隧道建立localredback(config-ctx)#aaaauthorizationtunnelradius6、配置缺省的l2tppeer和本地localredback(config-ctx)#l2tp-peerdefaultlocallocalredback(config-l2tp)#functionlac-only7、配置动态l2tpcontext路由方法有两种配置静态路由:localredback(config-ctx)#iproute0.0.0.0/0contextlocal配置ospf以及互联地址等。,171,L2TP操作,1、查看vpdn用户信息localredback(config-ctx)#showsub2、查看隧道信息localredback(config-ctx)#Showl2tppeer3、查看l2tp用户localredback(config-ctx)#Showsubscriberactiveusernamexx4、查看特定隧道信息localredback(config-ctx)#Showl2tppeer,172,MPLSBGPVPN配置,1、MPLS协议配置2、LDP协议配置3、BGP配置4、MBGPVPN操作,173,MPLS概念,MPLSMpls是一个标签交换协议,为2.5层协议,mpls面向连接的一种虚连接。MPLS总长度为32个比特,其中标签占用了20个比特。exp占用3个比特,通常用作QOS。s占用一个比特,用来表示标签是否为栈底。TTL为8个比特,防止网络形成环。MPLS通常位于二层和三层之间,被称作2.5层协议。MPLS可以承载的报文为IP、以太网包、ATM的AAL5包,甚至是ATM信元。MPLS可以承载的二层协议为以太网、ppp、atm和帧中继。对于ATM或帧中继,MPLS则直接采用VPI/VCI或DLCI做为转发的标签。,174,LDP概念,LDPLDP主要完成生成分配标签(即分发标签)并且建立标签交换路径的作用,LDP建立到某目的或者目的子网的lsp,是根据ip路由建立的,也就是说,LDP建立的LSP标签交换路径的每一条是根据ip路由表确定的,所以必须保证全网路由可达。LDP对本地路由表中的每个路由条目生成一个本地的标签,LDP利用路由转发表中的路由信息,建立lsp注意的是:LDP只对IGP协议中获得的路由分发标签。LDP标签只具有局部意义,即标签不会被传递的,某个接口的标签绝对不会被迁移到另外一个接口上。,175,MPLS配置,1、context模式下配置mplslocalRedback(config-ctx)#routermpls2、配置标签交换接口localRedback(config-mpls)#interface,176,MPLS操作,1、查看MPLS配置localRedback#showconfigurationmpls2、查看标签表localRedback#showmplslabel-mapping3、查看mpls三层接口信息localRedback#showinterface4、查看标签交换路径localRedback#showmplslsp5、查看PE间标签信息localRedback#showmplslspaddress,177,LDP配置,1、context模式下配置ldplocalRedback(config-ctx)#routerldp2、配置标签生成接口localRedback(config-ldp)#interface,178,LDP操作,1、查看LDP配置信息localRedback#showconfigurationldp2、查看interface接口上ldp配置信息localRedback#showldpinterface3、查看ldpneighbor是否正常localRedback#showldpneighbor4、查看ldp总体情况localRedback#showldpsummary5、查看ldp标签转发等价表localRedback#showldpbinding,179,MBGPVPN配置,1、进入contextlocallocalredback(config)#contextlocal2、启用BGPlocalRedback(config-ctx)#routerbgpas-number3、配置BGP邻居localRedback(config-bgp)#neighborip-addr|ipv6-addrexternal|internal4、指定bgp邻居建立的源地址localRedback(config-bgp-neighbor)#update-sourceif-name5、配置BGP下一跳为本身localRedback(config-bgp-neighbor)#next-hop-self,180,MBGPVPN配置,6、取消BGPIPV4地址族localRedback(config-bgp-neighbor)#noaddress-familyipv4multicast|unicast7、配置VPNV4地址族localRedback(config-bgp-neighbor)#address-familyipv4vpn如果BGP邻居间的配置信息如果相同,则利用对等体组就能简化配置,下张介绍关于对等体组配置信息。,181,MBGPVPN配置,1、BGP邻居对等体组配置localRedback(config-bgp)#peer-groupgroup-nameexternal|internal2、配置对等体组内容localRedback(config-bgp-peer-group)#update-sourceif-namelocalRedback(config-bgp-peer-group)#next-hop-selflocalRedback(config-bgp-peer-group)#noaddress-familyipv4multicast|unicastlocalRedback(config-bgp-peer-group)#address-familyipv4vpn3、BGP邻居建立localRedback(config-bgp)#neighborip-addr|ipv6-addrexternal|internal4、BGP邻居模式下应用对等体组localRedback
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论