您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > H3C-15.0-IS-IS基础配置
ISIS基本配置实验人:高r实验名称:isis基本配置实验拓扑:[R1]isis?INTEGER1-65535ProcessIDvpn-instanceVPNRouting/ForwardingInstancecr[R1]isis//开启isis功能,默认开启进程1[R1-isis-1]network-entity?XX.XXXX.....XXXX.XXNetworkentitytitle(NET)//网络实体名称的格式[R1-isis-1]network-entity01.0000.0000.0001.00[R1-isis-1]is-level?//三种路由级别配置level-1SettheroutertooperateasaLevel-1(intra-area)routerlevel-1-2SettheroutertooperateasbothaLevel-1(intra-area)andLevel-2(inter-area)routerlevel-2SettheroutertooperateasaLevel-2(inter-area)router[R1-isis-1]is-levellevel-1//配置R1路由级别为level-1[R1-isis-1]q[R1]intlo0//开启接口isis功能[R1-LoopBack0]isis?circuit-levelSetISISlevelfortheinterface配置接口level等级costSettheinterfacecostforISIS配置isiscost值默认10enableEnableISISprocessing开启接口isis功能ipv6ConfigureIPv6CommandsforISIS开启接口ipv6的isis功能[R1-LoopBack0]isisenable?INTEGER1-65535ProcessIDtoattachtheinterfacetocr[R1-LoopBack0]isisenable1[R1]ints0/2/0[R1-Serial0/2/0]isisenable1配置R2的isis[R2]isis[R2-isis-1]network-entity01.0000.0000.0002.00[R2-isis-1]is-levellevel-1[R2]intlo0[R2-LoopBack0]isisenable1[R2-LoopBack0]q[R2]ints0/2/0[R2-Serial0/2/0]isisenable[R2-Serial0/2/0]q查看命令查看开启isis的接口[R1]displayisisinterfaceInterfaceinformationforISIS(1)---------------------------------Interface:LoopBack0IdIPV4.StateIPV6.StateMTUTypeDIS001UpDown1536L1/L2--Interface:Serial0/2/0IdIPV4.StateIPV6.StateMTUTypeDIS002UpDown1500L1/L2--上面可以看出,IPv4的端口是开启的,还有链路类型。有个问题:为什么我们在接口上应用的是leve1而此处显示的是默认的leve-1-2?答案:怎样变为leve-1呢?请看下面[R1]ints0/2/0[R1-Serial0/2/0]isiscircuit-level?level-1Establishlevel-1adjacencyonlylevel-1-2Establishlevel-1-2adjacencylevel-2Establishlevel-2adjacencyonlycr[R1-Serial0/2/0]isiscircuit-levellevel-1[R1-Serial0/2/0]q[R1]displayisisinterfaceInterfaceinformationforISIS(1)---------------------------------Interface:LoopBack0IdIPV4.StateIPV6.StateMTUTypeDIS001UpDown1536L1/L2--Interface:Serial0/2/0IdIPV4.StateIPV6.StateMTUTypeDIS002UpDown1500L1--查看路由表信息[R1]displayiprouting-tableRoutingTables:PublicDestinations:7Routes:7Destination/MaskProtoPreCostNextHopInterface1.1.1.1/32Direct00127.0.0.1InLoop02.2.2.2/32ISIS1510192.168.1.2S0/2/0127.0.0.0/8Direct00127.0.0.1InLoop0127.0.0.1/32Direct00127.0.0.1InLoop0192.168.1.0/24Direct00192.168.1.1S0/2/0192.168.1.1/32Direct00127.0.0.1InLoop0192.168.1.2/32Direct00192.168.1.2S0/2/0显示IS-IS的IPv4路由信息。[R1]displayisisrouteRouteinformationforISIS(1)-----------------------------ISIS(1)IPv4Level-1ForwardingTable-------------------------------------IPV4DestinationIntCostExtCostExitInterfaceNextHopFlags--------------------------------------------------------------------------------192.168.1.0/2410NULLS0/2/0DirectD/L/-1.1.1.1/320NULLLoop0DirectD/L/-2.2.2.2/3210NULLS0/2/0192.168.1.2R/-/-Flags:D-Direct,R-AddedtoRM,L-AdvertisedinLSPs,U-Up/DownBitSetIPV4Destination:IPV4目的地址IntCost:内部路由CostExtCost:外部路由CostExitInterface:出接口NextHop:下一跳Flags:路由状态标志D:直连路由R:该路由是否已放到路由表中L:是否已经广播U:路由渗透状态标显示IS-IS的链路状态数据库[R1]displayisislsdbDatabaseinformationforISIS(1)--------------------------------Level-1LinkStateDatabaseLSPIDSeqNumChecksumHoldtimeLengthATT/P/OL-------------------------------------------------------------------------------0000.0000.0001.00-00*0x0000000c0xb4511076580/0/00000.0000.0001.00-01*0x000000080x11d01076530/0/00000.0000.0002.00-000x0000001f0xad3e1132580/0/00000.0000.0002.00-010x000000120x1bb71132530/0/0*-SelfLSP,+-SelfLSP(Extended),ATT-Attached,P-Partition,OL-OverloadLSPID链路状态报文IDSeqNumLSP序列号ChecksumLSP校验和HoldtimeLSP保持时间LengthLSP长度ATT/P/OLAttachbit(ATT):连接位;Partitionbit(P):分区位;Overloadbit(OL):过载位。显示IS-IS当前的基本配置参数[R1]displayisisbriefISIS(1)ProtocolBriefInformation:network-entity:01.0000.0000.0001.00is-level:level-1cost-style:narrowpreference:15Lsp-lengthreceive:1497Lsp-lengthoriginate:level-11497level-21497Timers:lsp-max-age:1200lsp-refresh:900IntervalbetweenSPFs:10
本文标题:H3C-15.0-IS-IS基础配置
链接地址:https://www.777doc.com/doc-6148477 .html