Network Requirements
- The IRMP operates between Device1 and Device2, establishing the neighbor and interacting the route.
Network Topology
Figure 11–1 Networking of the IRMP basic function
Configuration Steps
Step 1: Configure the IP address of the interfaces. (Omitted)
Step 2: Configure the IRMP.
#Configure Device1.
Device1#configure terminal
Device1(config)#router irmp 100
Device1(config-irmp)#network 1.0.0.0 0.0.0.255
Device1(config-irmp)#network 100.0.0.0 0.0.0.255
Device1(config-irmp)#exit
|
#Configure Device2.
Device2#configure terminal
Device2(config)#router irmp 100
Device2(config-irmp)#network 1.0.0.0 0.0.0.255
Device2(config-irmp)#network 200.0.0.0 0.0.0.255
Device2(config-irmp)#exit
|
Step 3: Check the result.
#View the IRMP neighbor information of Device1.
Device1#show ip irmp neighbor
IP-IRMP neighbors for process 100 Total neighbor 1
Address Interface Hold(s) Uptime SeqNum Srtt(ms) Rto(s)
1.0.0.2 gigabitethernet1 14 00:00:47 7 0 2
#View the IRMP neighbor information of Device2.
Device2#show ip irmp neighbor
IP-IRMP neighbors for process 100 Total neighbor 1
Address Interface Hold(s) Uptime SeqNum Srtt(ms) Rto(s)
1.0.0.1 gigabitethernet0 11 00:00:43 4 3920 4
It can be viewed that the IRMP neighbor is established between Device1 and Device2I
#View the topology table and routing table of Device1.
Device1#show ip irmp topology
IP-IRMP Topology Table for process 100
Codes: P - Passive, A - Active, H - Holddown, D - Hidden
> - FIB route, * - FIB successor
P >1.0.0.0/24, 1 successors, FD is 2816
*via Connected (2816/0), gigabitethernet1
P >200.0.0.0/24, 1 successors, FD is 3072
*via 1.0.0.2 (3072/2816), gigabitethernet1
P >100.0.0.0/24, 1 successors, FD is 2816
*via Connected (2816/0), gigabitethernet0
Device1#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management
D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS
Gateway of last resort is not set
C 1.0.0.0/24 is directly connected, 00:27:02, gigabitethernet1
E 200.0.0.0/24 [90/3072] via 1.0.0.2, 00:15:07, gigabitethernet1
C 100.0.0.0/24 is directly connected, 00:27:14, gigabitethernet0
C 127.0.0.0/8 is directly connected, 137:46:13, lo0
Device1 learns the routing 200.0.0.0/24 advertised by Device2.
#View the IRMP topology table and routing table of Device2.
Device2#show ip irmp topology
IP-IRMP Topology Table for process 100
Codes: P - Passive, A - Active, H - Holddown, D Hidden
> - FIB route, * FIB successor
P >1.0.0.0/24, 1 successors, FD is 2816
*via Connected (2816/0), gigabitethernet0
P >200.0.0.0/24, 1 successors, FD is 2816
*via Connected (2816/0), gigabitethernet1
P >100.0.0.0/24, 1 successors, FD is 3072
*via 1.0.0.1 (3072/2816), gigabitethernet0
Device2#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M Management
D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B BGP, i-ISIS
Gateway of last resort is not set
C 1.0.0.0/24 is directly connected, 00:20:12, gigabitethernet0
C 200.0.0.0/24 is directly connected, 00:19:53, gigabitethernet1
E 100.0.0.0/24 [90/3072] via 1.0.0.1, 00:08:41, gigabitethernet0
C 127.0.0.0/8 is directly connected, 361:04:08, lo0
Device2 learns the routing 100.0.0.0/24 advertised by Device1.