Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure EIPS Single Ring in Hierarchical Mode

Network Requirements

  • Four devices in the LAN are within the EIPS Ring 1. Configure the EIPS segment mode and block the secondary port gigabitethernet0/2 on Master to achieve the ring protection.
  • When the link between the transmission node Transit1 and Transit2 is disconnected, unblock the STP blocked status for gigabitethernet0/2 on the Master node to achieve data switchover and ensure the communications in the LAN not affected.

Network Topology

Networking of configuring the EIPS single ring in the hierarchical mode

Figure 3-5 Networking of configuring the EIPS single ring in the hierarchical mode

Configuration Steps

Step 1: Configure the VLAN and port link type.

#Create VLAN2 and VLAN3 on Master and configure the link type of ports gigabitethernet0/1 and gigabitethernet0/2 as Trunk, permitting the services of VLAN2 and VLAN3 to pass. Configure the PVID as 1.

Master#configure terminal
Master(config)#vlan 2-3
Master(config)#interface gigabitethernet 0/1-0/2
Master(config-if-range)#switchport mode trunk
Master(config-if-range)#switchport trunk allowed vlan add 2-3
Master(config-if-range)#switchport trunk pvid vlan 1

#Map VLAN2 and VLAN3 on Master to the STP instance 0. Disable the STP on the ports gigabitethernet0/1 and gigabitethernet0/2.

Master(config-if-range)#no spanning-tree enable
Master(config-if-range)#exit

#Create VLAN2 and VLAN3 on Transit1, and map VLAN2 and VLAN3 to the STP instance 0. Configure the link type of ports gigabitethernet0/1 and gigabitethernet0/2 as Trunk, permitting the services of VLAN2 and VLAN3 to pass. Configure the PVID as 1. Disable the STP on ports gigabitethernet0/1 and gigabitethernet0/2. (Omitted)

#Create VLAN2 and VLAN3 on Transit2, and map VLAN2 and VLAN3 to the STP instance 0. Configure the link type of ports gigabitethernet0/1 and gigabitethernet0/2 as Trunk, permitting the services of VLAN2 and VLAN3 to pass. Configure the PVID as 1. Disable the STP on ports gigabitethernet0/1 and gigabitethernet0/2. (Omitted)

#Create VLAN2 and VLAN3 on Transit3, and map VLAN2 and VLAN3 to the STP instance 0. Configure the link type of ports gigabitethernet0/1 and gigabitethernet0/2 as Trunk, permitting the services of VLAN2 and VLAN3 to pass. Configure the PVID as 1. Disable the STP on ports gigabitethernet0/1 and gigabitethernet0/2. (Omitted)

note


  • VLAN2 is the control VLAN, which is only used to transfer the EIPS protocol packets. VLAN3 is the data VLAN, which is used to transfer services.
  • To enable the EIPS function, the control VLAN and data VLAN of the EIPS must be mapped to the corresponding STP instance and the STP function on the port must be disabled.

Step 2: Configure the EIPS hierarchical mode

#Create the main ring master node Ring1 in the hierarchical mode on Master. Configure the level number of the EIPS ring as 0, segment number as 0, instance as 0, control VLAN as VLAN2, primary port as gigabitethernet0/1, and secondary port as gigabitethernet0/2. Enable the EIPS.

Master(config)#eips ring 1 master segment
Master(config-eips)#control vlan 2
Master(config-eips)#level 0
Master(config-eips)#segment 0
Master(config-eips)#instance 0
Master(config-eips)#primary interface gigabitethernet 0/1
Master(config-eips)#secondary interface gigabitethernet 0/2
Master(config-eips)#eips start
Master(config-eips)#exit

#Create the transmission node Ring1 in the hierarchical mode on Transit1. Configure the level number of the EIPS ring as 0, segment number as 0, instance as 0, control VLAN as VLAN2, primary port as gigabitethernet0/1, and secondary port as gigabitethernet0/2. Enable the EIPS.

Transit1(config)#eips ring 1 transit segment
Transit1(config-eips)#control vlan 2
Transit1(config-eips)#level 0
Transit1(config-eips)#segment 0
Transit1(config-eips)#instance 0
Transit1(config-eips)#primary interface gigabitethernet 0/1
Transit1(config-eips)#secondary interface gigabitethernet 0/2
Transit1(config-eips)#eips start
Transit1(config-eips)#exit

#Create the transmission node Ring1 in the hierarchical mode on Transit2. Configure the level number of the EIPS ring as 0, segment number as 0, instance as 0, control VLAN as VLAN2, primary port as gigabitethernet0/1, and secondary port as gigabitethernet0/2. Enable the EIPS.

Transit2(config)#eips ring 1 transit segment
Transit2(config-eips)#control vlan 2
Transit2(config-eips)#level 0
Transit2(config-eips)#segment 0
Transit2(config-eips)#instance 0
Transit2(config-eips)#primary interface gigabitethernet 0/1
Transit2(config-eips)#secondary interface gigabitethernet 0/2
Transit2(config-eips)#eips start
Transit2(config-eips)#exit

#Create the transmission node Ring3 in the hierarchical mode on Transit3. Configure the level number of the EIPS ring as 0, segment number as 0, instance as 0, control VLAN as VLAN2, primary port as gigabitethernet0/1, and secondary port as gigabitethernet0/2. Enable the EIPS.

Transit3(config)#eips ring 1 transit segment
Transit3(config-eips)#control vlan 2
Transit3(config-eips)#level 0
Transit3(config-eips)#segment 0
Transit3(config-eips)#instance 0
Transit3(config-eips)#primary interface gigabitethernet 0/1
Transit3(config-eips)#secondary interface gigabitethernet 0/2
Transit3(config-eips)#eips start
Transit3(config-eips)#exit

Step 3: Check the result

#Run the show eips topology-summary command on the four devices. We can view that the EIPS ring status is round and the topology information is consistent.

Master#show eips topology-summary 
 ring ID     : 1 
 topo status : round 
 seq host-name    mac            type      interface1   link    interface2   link   isBorder   
 --------------------------------------------------------------------------------------------
 1   Transit3     0000.0000.008b transit   gi0/2        UP      gi0/1        UP     NO         
 2   Transit2	  0001.7a22.2224 transit   gi0/2        UP      gi0/1        UP     YES        
 3   Transit1     0000.0010.0017 transit   gi0/2        UP      gi0/1        UP     YES        
 4   Master       0001.7a54.5d71 master    gi0/1        UP      gi0/2        UP     NO   
 
Transit3#show eips topology-summary  
 ring ID     : 1 
 topo status : round 
 seq host-name    mac             type     interface1   link    interface2  link  isBorder   
 -------------------------------------------------------------------------------------------
 1   Master       0001.7a54.5d71  master   gi0/2        UP      gi0/1       UP    NO         
 2   Transit1     0000.0010.0017  transit  gi0/1        UP      gi0/2       UP    YES        
 3   Transit2	  0001.7a22.2224  transit  gi0/1        UP      gi0/2       UP    YES        
 4   Transit3     0000.0000.008b  transit  gi0/1        UP      gi0/2       UP    NO         
 
Transit1#show eips topology-summary  
 ring ID     : 1 
 topo status : round 
 seq host-name    mac             type     interface1   link    interface2   link  isBorder   
 ------------------------------------------------------------------------------------------- 
 1   Transit2	  0001.7a22.2224  transit  gi0/1        UP      gi0/2        UP    YES        
 2   Transit3     0000.0000.008b  transit  gi0/1        UP      gi0/2        UP    NO         
 3   Master       0001.7a54.5d71  master   gi0/2        UP      gi0/1        UP    NO         
 4   Transit1     0000.0010.0017  transit  gi0/1        UP      gi0/2        UP    YES            
 
Transit2#show eips topology-summary  
 ring ID     : 1 
 topo status : round 
 seq host-name    mac             type     interface1    link    interface    link  isBorder   
 -------------------------------------------------------------------------------------------
 1   Transit3     0000.0000.008b  transit  gi0/1         UP      gi0/2        UP    NO         
 2   Master       0001.7a54.5d71  master   gi0/2         UP      gi0/1        UP    NO         
 3   Transit1     0000.0010.0017  transit  gi0/1         UP      gi0/2        UP    YES        
 4   Transit2	  0001.7a22.2224  transit  gi0/1         UP      gi0/2        UP    YES       

#Run the show eips topology command on the four devices. We can view that the secondary port gigabitethernet0/2 on Master is blocked and other ports are unblocked.

Master#show eips topology 
 ring ID      : 1 
 topo status  : round 
 topo index 1 : 
        host name      : Transit3 
        eips type      : transit 
        eips status    : COMPLETE 
        border         : NO 
        base MAC       : 0000.0000.008b 
        sys oid.........1.3.6.1.4.1.5651.1.102.146 
        interface1     : gi0/2 
          MAC           : 0000.0000.008b 
          role          : second 
          block-status  : unblock 
          link-status   : UP 
        interface2     : gi0/1 
          MAC           : 0000.0000.008b 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
 topo index 2 : 
        host name      : Transit2 
        eips type      : transit 
        eips status    : COMPLETE 
        border         : YES 
        base MAC	   : 0001.7a22.2224 
        sys oid.........1.3.6.1.4.1.5651.1.102.146 
        interface1    : gi0/2 
          MAC	       : 0001.7a22.2224 
          role         : second 
          block-status : unblock 
          link-status  : UP 
        interface2    : gi0/1 
          MAC	       : 0001.7a22.2224 
          role         : primary 
          block-status : unblock 
          link-status  : UP 
 topo index 3 : 
        host name      : Transit1 
        eips type      : transit 
        eips status    : COMPLETE 
        border         : YES 
        base MAC       : 0000.0010.0017 
        sys oid..........1.3.6.1.4.1.5651.1.102.140 
        interface1     : gi0/2 
          MAC           : 0000.0010.0017 
          role          : second 
          block-status  : unblock 
          link-status   : UP 
        interface2     : gi0/1 
          MAC           : 0000.0010.0017 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
 topo index 4 : 
        host name      : Master 
        eips type      : master 
        eips status    : COMPLETE 
        border         : NO 
        base MAC.........0001.7a54.5d71 
        sys oid        : 1.3.6.1.4.1.5651.1.102.145 
        interface1     : gi0/1 
          MAC	        : 0001.7a54.5d71 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
        interface2     : gi0/2 
          MAC	        : 0001.7a54.5d71 
          role          : second 
          block-status  : block 
          link-status   : UP 

#When the link between Transit1 and Transit2 is disconnected, run the show eips topology command again. We can view that the ring status changes to not round, EIPS status is FAULT, and the secondary port gigabitethernet0/2 on Master changes to unblock. Transit1 communicates with Transit2 via Master, which ensures uninterrupted communications between Transit1 and Transit2.

Master#show eips topology 
 ring ID      : 1 
 topo status  : not round 
 topo index 1 : 
        host name      : Transit1 
        eips type      : transit 
        eips status    : FAULT 
        border         : YES 
        base MAC       : 0000.0010.0017 
        sys oid..........1.3.6.1.4.1.5651.1.102.140 
        interface1     : gi0/2 
          MAC           : 0000.0010.0017 
          role          : second 
          block-status  : block 
          link-status   : DOWN 
        interface2     : gi0/1 
          MAC           : 0000.0010.0017 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
 topo index 2 : 
        host name      : Master 
        eips type      : master 
        eips status    : FAULT 
        border         : NO 
        base MAC	   : 0001.7a54.5d71 
        sys oid..........1.3.6.1.4.1.5651.1.102.145 
        interface1     : gi0/1 
          MAC	        : 0001.7a54.5d71 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
        interface2     : gi0/2 
          MAC	        : 0001.7a54.5d71 
          role          : second 
          block-status  : unblock 
          link-status   : UP 
 topo index 3 : 
        host name      : Transit3 
        eips type      : transit 
        eips status    : FAULT 
        border         : NO 
        base MAC       : 0000.0000.008b 
        sys oid..........1.3.6.1.4.1.5651.1.102.146 
        interface1     : gi0/2 
          MAC           : 0000.0000.008b 
          role          : second 
          block-status  : unblock 
          link-status   : UP 
        interface2     : gi0/1 
          MAC           : 0000.0000.008b 
          role          : primary 
          block-status  : unblock 
          link-status   : UP 
 topo index 4 : 
        host name      : Transit2 
        eips type      : transit 
        eips status    : FAULT 
        border         : YES 
        base MAC	   : 0001.7a22.2224 
        sys oid..........1.3.6.1.4.1.5651.1.102.146 
        interface1     : gi0/2 
          MAC	       : 0001.7a22.2224 
          role         : second 
          block-status : unblock 
          link-status  : UP 
        interface2    : gi0/1 
          MAC	       : 0001.7a22.2224 
          role         : primary 
          block-status : block 
          link-status  : DOWN