经实验多次验证,配置 IGP 的时候,特别是 OSPF可以在接口下通告就在接口下通告,比较准确,不会因为在 ospf进程下通告的时候,写错了接口的IP地址,而遗漏了那个要通告的接口,导致ospf邻居建立不起来,所以强烈建议,在接口下通告 !!!!
---------------EIGRP 不可以在接口下通告,那就只有在eigrp的进程下通告了,但是要先 show ip interface brief ,先查看一下接口IP地址,在通告,以免通告了错误的ip地址,导致eigrp邻居建立不起来!!!!!!!
-------------------------------------------------------------------
#65001
R1:
router ospf 1
router-id 10.255.1.1
interface range e0/0-3,e1/0,lo0
ip ospf 1 area 0
interface range e0/0-3,e1/0
ip ospf priority 255
R2:
router ospf 1
router-id 10.255.1.2
interface range e0/0-3,e1/0,lo0
ip ospf 1 area 0
interface range e0/0-3,e1/0
ip ospf priority 254
R3:
router ospf 1
router-id 10.255.1.3
interface range e0/0,e0/2,lo0
ip ospf 1 area 0
R4:
router ospf 1
router-id 10.255.1.4
interface range e0/0,e0/2,lo 0
ip ospf 1 area 0
interface e 0/2
ip ospf priority 255
主题: eigrp 排错 lo0 没有运行eigrp进程,通告IP地址错误 的 排错方法,所以建议在接口下通过IGP路由协议,如OSPF的通过方法就可以在接口下通告,就避免了通告是ip地址写错通告错了。
eigrp 排错 lo0 没有运行eigrp进程,通告IP地址错误 的 排错方法,所以建议在接口下通过IGP路由协议,如OSPF的通过方法就可以在接口下通告,就避免了通告是ip地址写错通告错了。
SW04#show ip eigrp inter
SW04#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(34567)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Vl49 1 0/0 0/0 2 0/0 50 0
Vl34 1 0/0 0/0 8 0/0 50 0
Vl411 1 0/0 0/0 5 0/0 50 0
SW04#-------------------------------------------------------------------------------发现 lo0 没有在eigrp进程下,
SW04#
SW04#
SW04#show inter
SW04#show interfaces inte
SW04#show run
SW04#show running-config itner
SW04#show running-config int
SW04#show running-config interface
SW04#show running-config interface loo
SW04#show running-config interface loopback 0
Building configuration...
Current configuration : 136 bytes
!
interface Loopback0
ip address 123.204.4.4 255.255.255.255
ipv6 address 2001:CC1E:BEEF:204:123:4:4:4/128
ospfv3 1 ipv6 area 0
end
SW04#
SW04#show running-config interface vl
SW04#show running-config interface vlan 49
Building configuration...
Current configuration : 64 bytes
!
interface Vlan49
ip address 123.10.2.10 255.255.255.252
end
SW04#
SW04#show run
SW04#show running-config | sec router eigrp
router eigrp 34567
network 123.10.2.10 0.0.0.0
network 123.10.2.14 0.0.0.0
network 123.10.2.21 0.0.0.0
network 123.104.4.4 0.0.0.0--------------------发现 在eigrp进程下通告的 lo 0 的ip地址错了。
SW04#
SW04#conf
SW04#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
SW04(config)#ro
SW04(config)#router
SW04(config)#router ei
SW04(config)#router eigrp 34567
SW04(config-router)#net
SW04(config-router)#network 123.204.4.4 0.0.0.0 ---------通过正确的lo0的IP地址SW04(config-router)#
*Sep 10 01:56:06.965: %AMDP2_FE-6-EXCESSCOLL: Ethernet2/0 TDR=0, TRC=0
SW04(config-router)#no network 123.104.4.4 0.0.0.0 ---------no掉,删除错误通告的lo0ip地址。
SW04(config-router)#end
SW04#wr
Building configuration...
Compressed configuration from 4192 bytes to 1960 bytes[OK]
SW04#
*Sep 10 01:56:21.479: %SYS-5-CONFIG_I: Configured from console by console
SW04#show ip inter
SW04#show ip ei
SW04#show ip eigrp inter
SW04#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(34567)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Vl49 1 0/0 0/0 1 0/0 50 0
Vl34 1 0/0 0/0 6 0/0 50 0
Vl411 1 0/0 0/0 4 0/0 50 0
Lo0 0 0/0 0/0 0 0/0 0 0
SW04#
经Bruce 实验多次验证,配置 IGP 的时候,特别是 OSPF可以在接口下通告就在接口下通告,比较准确,不会因为在 ospf进程下通告的时候,写错了接口的IP地址,而遗漏了那个要通告的接口,导致ospf邻居建立不起来,所以强烈建议,在接口下通告 !!!!
---------------EIGRP 不可以在接口下通告,那就只有在eigrp的进程下通告了,但是要先 show ip interface brief ,先查看一下接口IP地址,在通告,以免通告了错误的ip地址,导致eigrp邻居建立不起来!!!!!!!
-------------------------------------------------------------------
#65001
R1:
router ospf 1
router-id 10.255.1.1
interface range e0/0-3,e1/0,lo0
ip ospf 1 area 0
interface range e0/0-3,e1/0
ip ospf priority 255
R2:
router ospf 1
router-id 10.255.1.2
interface range e0/0-3,e1/0,lo0
ip ospf 1 area 0
interface range e0/0-3,e1/0
ip ospf priority 254
R3:
router ospf 1
router-id 10.255.1.3
interface range e0/0,e0/2,lo0
ip ospf 1 area 0
R4:
router ospf 1
router-id 10.255.1.4
interface range e0/0,e0/2,lo 0
ip ospf 1 area 0
interface e 0/2
ip ospf priority 255
主题: eigrp 排错 lo0 没有运行eigrp进程,通告IP地址错误 的 排错方法,所以建议在接口下通过IGP路由协议,如OSPF的通过方法就可以在接口下通告,就避免了通告是ip地址写错通告错了。
eigrp 排错 lo0 没有运行eigrp进程,通告IP地址错误 的 排错方法,所以建议在接口下通过IGP路由协议,如OSPF的通过方法就可以在接口下通告,就避免了通告是ip地址写错通告错了。
SW04#show ip eigrp inter
SW04#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(34567)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Vl49 1 0/0 0/0 2 0/0 50 0
Vl34 1 0/0 0/0 8 0/0 50 0
Vl411 1 0/0 0/0 5 0/0 50 0
SW04#-------------------------------------------------------------------------------发现 lo0 没有在eigrp进程下,
SW04#
SW04#
SW04#show inter
SW04#show interfaces inte
SW04#show run
SW04#show running-config itner
SW04#show running-config int
SW04#show running-config interface
SW04#show running-config interface loo
SW04#show running-config interface loopback 0
Building configuration...
Current configuration : 136 bytes
!
interface Loopback0
ip address 123.204.4.4 255.255.255.255
ipv6 address 2001:CC1E:BEEF:204:123:4:4:4/128
ospfv3 1 ipv6 area 0
end
SW04#
SW04#show running-config interface vl
SW04#show running-config interface vlan 49
Building configuration...
Current configuration : 64 bytes
!
interface Vlan49
ip address 123.10.2.10 255.255.255.252
end
SW04#
SW04#show run
SW04#show running-config | sec router eigrp
router eigrp 34567
network 123.10.2.10 0.0.0.0
network 123.10.2.14 0.0.0.0
network 123.10.2.21 0.0.0.0
network 123.104.4.4 0.0.0.0--------------------发现 在eigrp进程下通告的 lo 0 的ip地址错了。
SW04#
SW04#conf
SW04#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
SW04(config)#ro
SW04(config)#router
SW04(config)#router ei
SW04(config)#router eigrp 34567
SW04(config-router)#net
SW04(config-router)#network 123.204.4.4 0.0.0.0 ---------通过正确的lo0的IP地址SW04(config-router)#
*Sep 10 01:56:06.965: %AMDP2_FE-6-EXCESSCOLL: Ethernet2/0 TDR=0, TRC=0
SW04(config-router)#no network 123.104.4.4 0.0.0.0 ---------no掉,删除错误通告的lo0ip地址。
SW04(config-router)#end
SW04#wr
Building configuration...
Compressed configuration from 4192 bytes to 1960 bytes[OK]
SW04#
*Sep 10 01:56:21.479: %SYS-5-CONFIG_I: Configured from console by console
SW04#show ip inter
SW04#show ip ei
SW04#show ip eigrp inter
SW04#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(34567)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Vl49 1 0/0 0/0 1 0/0 50 0
Vl34 1 0/0 0/0 6 0/0 50 0
Vl411 1 0/0 0/0 4 0/0 50 0
Lo0 0 0/0 0/0 0 0/0 0 0
SW04#