In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Article directory 1: what is IS-IS1.1: Overview 1.2: routing types and functions of Huawei IS-IS 1.3: establishment of neighbor relationship 1.4:NSAP address conversion of 1.4.1:NSAP address 1.5: Huawei IS-IS common commands 2: experimental verification 2.1: environment preparation 2.2: experimental topology figure 2.3: experimental process (if you don't understand, you can talk to me privately. Or comment exchange) 2.3.1:R1 configuration 2.3.2:R2 configuration 2.3.3:R3 configuration 2.3.4:R4 configuration 2.3.5:R5 configuration 2.3.6:R6 configuration 2.4: route redistribution configuration 2.5: route summary configuration preface IS-IS and OSPF are link-state routing protocols. Now operators generally work with the IS-IS protocol: what is IS-IS? IS-IS,Intermediate system to intermediate system (Intermediate system to Intermediate system) is an internal gateway protocol, which is one of the internal gateway protocols commonly used by telecom operators. IS-IS, like OSPF, is a link-state routing protocol. It uses SPF algorithm, uses Hello packets to establish neighbor relationships, and uses LSP to exchange link-state information. Hierarchical Design 1.2: routing types and functions of Huawei IS-IS? At the two router levels, L1 and L2L1 are responsible for propagating link-state information in the same area (similar to type 1 and 2 in OSPF). L2 is responsible for propagating link-state information to each other in different areas (class 3 similar to OSPF). The functions of three types of routers: L1 L2 and L1-2L1 can obtain path information in the area. L2 can obtain inter-area path information L1-2: can obtain intra-area and inter-area paths to connect L2 routers and L1/L2 routers at the same time. The default value of the IS-IS metric interface for backbone area is 10, which can be modified 1.3.The establishment of neighbor relationship in the same area L1 can establish neighbor relationship with L1, but cannot establish neighbor relationship with L2. L2 can establish neighbor relationship with L2. L1-2 can establish neighbor relationship with L1-2 can establish neighbor relationship with L1 and L2 L1 cannot establish neighbor relationship with other routes in different areas L2 can establish neighbor relationship with other routes, except that L1L1-2 can establish neighbor relationship with other routes, except that NSAP in L11.4:NSAP address IS-IS is similar to router-idLSP in OSPF to identify router and establish topology table. Therefore, providing routing for IP requires the NSAP address NSAP address 8-20 bytes, identified by hexadecimal, and contains the following main information: 1. Area code 2. System number (fixed 6 bytes) 3.NSEL bit (fixed 1 byte and reset to 0) for example: 49.0001.0020.0200.2002.00 Analysis: 49.0001 49 is a fixed format, 0001 represents in area1, if the area is 30 It is 49.00300020.0200.2002: 00: fixed format IP address converted from 1.4.1:NSAP address 2.2.2.2. Conversion principle: it is obtained by completing the loop loop 32-bit address to 48-bit, that is, 3 bits. Then 4-bit segmentation example: 12.12.12.12 make up 3 bits: become 012.012.012.0124 bit split: become 0120.1201.2012 so 12.12.12.12 converted to: 49.0001.0120.1201.2012.001.5: Huawei IS-IS common commands view command dis isis peer'/ view isis neighbor relationship 'dis isis 1 brief' / view isis interface clear Thin 'dis isis interface g0 isis isis 1' / / View interface isis details' configuration command [Huawei] 1'/ / process is followed. The default is 1 process'[Huawei-isis-1] network-entity 49.0001.0010.0100.1001.00'/ / make up three digits, then split'[Huawei-isis-1] is-level level-1'/ / configure the IS-IS route type according to the network structure. Here is the router type'[Huawei-isis-1] int g0 isis enable'/ enter interface'[Huawei-g0/0/1] isis enable'/ / start ISIS' route redistribution isis 1import-route rip 1 lever-1'/ / change to L1 message default 'rip 1import-route isis 1 cost 5' / / the metric for rip is hop count 'isis'. 1import-route isis level-2 into level-1'/ / Huawei manual this is called route leak 'route summary isis 1summary 202.0.0.0 255.255.254.0 level-1-2' / / ABR summary: Inter-domain route summary 'isis 1summary 203.0.0.0 255.255.254.0 level-1' / / ASBR summary: route summary between different protocols 2: experimental verification certificate 2.1: environment preparation eNSP software 6 routers IP address customization 2.2: experimental Topology Diagram
2.3: the process of the experiment (you can talk to me in private if you don't understand. Or comment exchange) 2.3.1:R1 configuration sys [Huawei] sysname R1 [R1] int g0Unitabo 0 / enter interface [R1-GigabitEthernet0/0/0] ip add 16.0.0.1 30 / / add IP address [R1-GigabitEthernet0/0/0] un sh / / Save [R1-GigabitEthernet0/0/0] Q / / exit [R1] int g0Action0Unitable1 / / enter interface [R1-GigabitEthernet0/0/1] ip add 12.0.0.1 30 / / add IP address [R1-GigabitEthernet0/0/1] un sh / / Save [R1-GigabitEthernet0/0/1] Q / / exit [R1] ] int loo 0 [R1-LoopBack0] ip add 1.1.1.1 32 [R1-LoopBack0] Q [R1] isis 1 [R1-isis-1] is-level level-1 / / set the isis level of the router L1 [R1-isis-1] network-entity 49.0001.0010.0100.1001.00 / announce the IP address [R1-isis-1] Q [R1] int g0Gre0 / / enter the interface [R1-GigabitEthernet0/0/0] isis enable / / start ISIS [R1] int g0 isis enable 0 [R1-GigabitEthernet0/0/0] isis enable [R1] int loo 0 [R1-LoopBack0] isis enable rip 1 / / enter Enter the rip process undo summary / / close the route summary version 2 / / Select version 2network 16.0.0.0 / / announce the network segment 2.3.2:R2 configuration sys [Huawei] sysname R2 [R2] int g0and0 / / enter the interface [R2-GigabitEthernet0/0/0] ip add 23.0.0.1 30 / / add the IP address [R2-GigabitEthernet0/0/0] un sh / / Save [R2-GigabitEthernet0/0/0] Q / / exit [R2] int g0Charger 0Accord 1 / / enter the interface [R2-GigabitEthernet0/0/1] ip add 12.0.0.2 30 / / add the IP address [R2-GigabitEthernet0/ 0 R2-GigabitEthernet0/0/1 1] un sh / / Save [R2-GigabitEthernet0/0/1] Q / / exit [R2] int loo 0 [R2-LoopBack0] ip add 2.2.2.2 32 [R2-LoopBack0] Q [R2] isis 1 [R2-isis-1] network-entity 49.0001.0020.02002.00 / announce the IP address [R2isis-1] Q [R2] int g0ex0 / 0 / / entry interface [R2-GigabitEthernet0/0/0] isis enable / / enable ISIS [R2] int g0Unix 0 [R2-GigabitEthernet0/0/0] isis enable [R2] int loo 0 [R2-LoopBack0] isis enable 2.3.3 : R3 configure Sys [Huawei] sysname R3 [R3] int g0gamo 0 / enter interface [R3-GigabitEthernet0/0/0] ip add 23.0.0.2 30 / / add IP address [R3-GigabitEthernet0/0/0] un sh / / Save [R3-GigabitEthernet0/0/0] Q / / exit [R3 ] int g0Unibank 1 / / enter interface [R3-GigabitEthernet0/0/1] ip add 34.0.0.1 30 / / add IP address [R3-GigabitEthernet0/0/1] un sh / / Save [R3-GigabitEthernet0/0/1] Q / / exit [R3] int loo 0 [R3-LoopBack0] ip add 3 .3.3.3 32 [R3-LoopBack0] Q [R3] isis 1 [R3-isis-1] is-level level-2 / / set the router isis level L2 [R3-isis-1] network-entity 49.0000.0030.0300.3003.00 / announce the IP address [R3-isis-1] Q [R3] int g0G0Accord 0 / / enter Interface [R3-GigabitEthernet0/0/0] isis enable / / enable iSIS [R3] int g0 isis enable 2.3.4:R4 0 [R3-GigabitEthernet0/0/0] isis enable [R3] int loo 0 [R3-LoopBack0] isis enable 2.3.4:R4 configuration sys [Huawei] sysname R4 [R4] int g0Accord 0 [R4 -GigabitEthernet0/0/0] ip add 45.0.0.1 30 [R4-GigabitEthernet0/0/0] un sh [R4-GigabitEthernet0/0/0] int g0 UniUniverse 1 [R4-GigabitEthernet0/0/1] ip add 34.0.0.2 30 [R4-GigabitEthernet0/0/1] un sh [R4-GigabitEthernet0/0/1] Q [R4] int loo0 [R4-LoopBack0] ip address 4.4.4.4 32 [R4-LoopBack0] Q [R4] isis 1 [R4-isis-1 ] network-entity 49.0002.0040.0400.4004.00'/ announce the IP address'[R4-isis-1] q[ R4] int g0x0x0x0x0x0 / / enter interface [R4-GigabitEthernet0/0/0] isis enable / / enable ISIS [R4] int g0Accord 1 [R4-GigabitEthernet0/0/ 0] isis enable [R4] int loo 0 [R4-LoopBack0] isis enable 2.3.5:R5 configuration sys [Huawei] sysname R5 [R5] int g0 and 0 [R5-GigabitEthernet0/0/0] ip add 45.0.0.2 30 [R5-GigabitEthernet0/0/0] un sh [R5-GigabitEthernet0/0/0] Q [R5] int loo 0 [R5-LoopBack0] ip add 5.5. 5.532 [R5-LoopBack0] Q [R5] int loo 1 [R5-LoopBack1] ip add202.0.0.1 24 [R5-LoopBack1] Q [R5] int loo 2 [R5-LoopBack2] ip add 202.0.1.1 24 [R5-LoopBack2] Q [R5] isis 1 [R5-isis-1] is-level level-1 / / set the router isis level L1 [R5-isis-1] network-entity 49.0002.0050.0500 .5005.00 / announce the IP address [R5-isis-1] Q [R5] int g0and0 / enter the interface [R5-GigabitEthernet0/0/0] isis enable / / enable ISIS [R5] int loo 0 [R5-LoopBack0] isis enable [R5] int loo 1 [R5-LoopBack1] isis enable [R5] int loo 2 [R5-LoopBack2] isis enable2.3.6:R6 configuration sys [Huawei] sysname R6 [R6] Int g0/0/0 [R6-GigabitEthernet0/0/0] ip add 16.0.0.2 30 [R6-GigabitEthernet0/0/0] un sh [R6-GigabitEthernet0/0/0] q [R6] int loo 0 [R6-LoopBack0] ip add 6.6.6.6 32 [R6-LoopBack0] q[R6] int loo 1 [R6-LoopBack1] ip add203.0.0.1 24 [R6-LoopBack1] q[R6] int loo 2 [R6-LoopBack2] ip add 203.0.1. 1 24 [R6-LoopBack2] qrip 1 / / enter the rip process undo summary / / close route summary version 2 / / Select version 2network 16.0.0.0 / / announce network segment network 6.0.0.0network 203.0.0.0network 203.0.1.02.4: route redistribution is configured in R1 [R1] rip 1 [R1-rip-1 ] import-route isis 1 cost 5'/ / inject rip into isis'[R1-rip-1] Q [R1] isis 1 [R1-isis-1] import-route rip 1 level-1'/ / inject isis into rip'[R1-isis-1] import-route rip level-2 [R1-isis-1] import-route rip level-1-2 use R2 to view routing information at this time Discover that routes in isis can learn routing table entries in rip
But at this point, it will be found that R1 and R6 cannot learn the routed network segments in the isis, and R5 cannot learn the network segments outside the area, so how to solve the problem? Reason: because R1 is L1, he can only learn the routing in the area, but the isis routing information in other areas cannot be solved: the route leaked on R2 [R2] isis 1 [R2-isis-1] import-route isis level-2 into level-1 / / leaked isisL2 information into L1 information at this time, you will find that R1 has learned the routing entry.
Similarly, on R4, route information is leaked to R5 [R4] isis [R4-isis-1] import-route isis level-2 into level-1
Route summary configuration We found that the two loopback addresses of R5 and R6 are on the same network segment. When we use other routers to view the routing table, we can find that these loopback addresses are separate.
We can aggregate'[R4] isis [R4-isis-1] summary 202.0.0.0 255.255.254.0 level-1-2 [R1] isis [R1-isis-1] summary 203.0.0.0 255.255.254.0 level-1 on R4 and R1. At this time, we use routing to view the IP address.
Now we are connected to the whole network.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.