Command
Network
Use
Specifies which interfaces will participate in the EIGRP process.
Syntax
Router(config-router)#network <ip address>
OR
Router(config-router)#network <ip address> <wildcard>
Example
In this example, we will configure EIGRP 100 on all routers in the topology.
R1(config)#router eigrp 100 R1(config-router)#do sh run | sec eigrp |
Notice that EIGRP also stripes the network statements back to its classful network boundary.
3(config)#router eigrp 100 |
If we configure the network statement with a wildcard, we can control what interfaces are put into EIGRP.
R2(config)#router eigrp 100 *Mar 1 00:31:25.231: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.1 (FastEthernet0/0) is up: new adjacency *Mar 1 00:35:35.423: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.2.2.3 (FastEthernet1/0) is up: new adjacency R2(config-router)#do sh run | sec eigrp |
Notice that we have all of R1’s loopbacks in R2’s routing table.
R2(config-router)#do show ip route eigrp |
Here, the running config is shown for R2. Note that the router strips the ip to the classful boundary.
R2(config)#do show run | sec router |