SR7750配置步骤一、基本配置1、在config-system视图下,1)起名字标示此设备:nameliaocheng-842-7750-ar1SystemPort有两种模式network和access又都分为输入、输出两个方向ingressegressconfigsystemsecurityprofile默认为none不授权修改默认启动文件,确保下次依然生效vrrp配置时要注意主地址和vrrp地址一定要在同一子网下。掩码要正确。2、在config-router视图下,在router视图下做autonomous-system200AS号,否则bgp邻居无法建立配置习惯为进config—router,,interface,bgp,isis等在此视图下。而不是routerbgp100,这个设备的treeRouterid必配。Familyipv4routerbgp#info----------------------------------------------groupto-h3ctypeexternallocal-as200peer-as100neighbor10.10.10.2exitexitgroupto-3528local-address10.10.20.1typeexternalpeer-as100neighbor10.10.20.2exit端口的典型配置接用户的端口port1/2/5descriptionGE1/2/5ToSDLC-T600-1GE1/0/0-OMC&Signalethernetmodeaccessencap-typedot1qmtu9192noautonegotiateexitnoshutdown接上行设备端口port1/1/1descriptionPOS1/1/1ToSDJN-YXS-N5KE-B1POS12/0/2155MJN-LCS-1N7002(backup)networkegresspoolslope-policyCU-WREDexitexitexitsonet-sdhframingsdhhold-timeup30down1speedoc3pathmtu9180scramblenetworkqueue-policyCU-NetworkEgressQexitnoshutdownexitexitnoshutdown都分为全局配置,具体配置在什么视图下建立的,show的时候就得注意。Showroutermpls,不能跟华为的命令混!!!showrouterinterfaceto-3528detail基于接口转发的协议Protocols:ISISMPLSRSVPLDPBGP不是引入路由用policy7750分为对于port分为network、access两部分协议侧router分为networkside(在config-router视图下配置)和serviceside(全部在config—service视图下配置)引入路由用policy做完后要用commit来提交方能生效。Routerpolicy-optionyinru要想修改必须begin一下Bfd在serviceside里配置!建立MP-BGP邻居noaddress-familyipv4unicastaddress-familyipv4vpnfamilyvpn-ipv4两侧要一致。都设成familyvpn-ipv4Bgp在7750上要先建group各种各样的邻居Info要经常使用.在许多视图下均可使用,类同于华为的dispthis重点来了:配置先客户、后业务create的重要,避免了建错的情况。在service视图下,先建customer-id11createvprn11customer-id11creatVPRN号是唯一的,本地有效。一个客户可以有多个VPRN.很好理解在service里配置接口也需要create。interfaceGE1/2/10.100createdescriptionToSDLC-IGW-XDL2F-7606-CE1GE1/1SSW-IGW-Signaladdress10.215.116.213/30bfd150receive150multiplier3sap1/2/10:100createingressqos102exit端口若配置在service视图,portmode必须为access都不是在port下直接改,ethmode/pathmode7750配置分为上行Network配置,连接CE的service配置。VPRN11里有一些全局配置RD一定要配置,若用bgp连接,则autonomous-system38351BGP用route-distinguisher38351:10010若不配置,则showservieid11int起不来总体配置思路:两台7750info的重要、adminsaveliaocheng.cfg,看那些shutdown着1、起名字config-system-namelc-jinan-AR12、安全、用户名、profilepassword,是否使能telnetserver,在configsystemsecurity3、snmppacket-size9216idle-timeout54、查看cardmda是否正常,增加card1card-type*,在card1视图下mda1mda-type*,然后showport看有没有。5、配置port:必须noshut,描述,port1/2/5,在ethernet视图下修改mode为netword或access封装模式,下联口为access,dot1q,上联口为network,null,做完routerinter直接引用port1/2/56、配置router部分全局配置1、autonomous-system200(AS号)2、router-id1)、interface配置,interfacesystem(loopback),三个命令,描述、地址和端口interfaceto-P1desto-P1add186.10.1.1/30,port1/2/5interfaceto-P2add186.10.1.5/30port1/2/52)、mplsldp配置默认为noshut,将上联接口配上。interfaceto-Pinterfaceto-P2targdisable3)、ISIS配置上联P和互联另一个PE的接口配置ISIS邻居。level-capabilitylevel-2area-id00.0635.0000.0002.00level2wide-metrics-onlyinterfaceto-3528showrouterisisadjacency4)、BGP配置先建groupfamilyvpn-ipv4/MP-BGP/group3528next-hop-selfneighbor186.10.1.2peer-as2005)可能还需要建policy-option以便引入其他协议路由。servie里也要用第二大部分service配置连接CE使用,注意端口port为accessdot1qconfigservice#1)先创建客户customer11create,再创建VPRN11,vprn11customer11create2)vprn2customer1createdescriptionToSDLC-IGW-22Ju2F-7606-CE1GE1/1SSW-IGW-Signalvrf-importSSW_Signal_invrf-exportSSW_Signal_outautonomous-system38351route-distinguisher38351:10010必填项auto-bindldpinterfaceGE1/2/5.100createaddress10.1.73.201/30bfd100receive100multiplier3sap1/2/5:100createbgp(若用此协议的话)groupXDL2F-7606-CE1-IGW-Signal-65008exportroute-to-CEpeer-as65008neighbor10.215.116.214importIGW-SIGNAL-CE_INbfd-enable