Router-id选择规则: 手工分配最优先; 选loopback口IP地址最大的; 选物理口IP地址最大的; 建议用loopback接口地址作为router-id,因为loopback一直是up状态,稳定性好。 物理口、loopback口都有IP且处于up状态,但手工设置了router-id 22.22.22.22,show ip ospf 发现是手工设置的最优。 在物理
OSPF Router with ID (0.0.0.4) (Process ID 1) Base Topology (MTID 0) Internal Router Routing Table Codes: i - Intra-area route, I - Inter-area route i 0.0.0.3 [10] via 192.168.34.3, Ethernet0/0, ABR, Area 99, SPF 10 i0.0.0.2 [20] via 192.168.34.3, Ethernet0/0, ABR/ASBR,...
router ospf 110 network 172.16.1.2 0.0.0.0 area 0 network 192.168.30.0 0.0.0.255 area 0 俩边动态路由邻居起来,loading full JS-WX(config-router)# *Jan 13 22:54:58.115: %OSPF-5-ADJCHG: Process 110, Nbr 192.168.30.1 on Tunnel0 from LOADING to FULL, Loading Done WH(config-router)# *Jan...
--- the Cisco IOS still acts as the default—redistributing internal routes only.R4#show run | include redistribute ospfredistribute ospf 1 R4#configure terminalR4(config)#router bgp 100R4(config-router)#no redistribute ospf 1!--- Always use the previous command in order to completely disable...
1.明文认证Router(config)#int e0/0 Router(config-if)# ip ospf authentication # 启用链路接口明文认证 Router(config-if)# ip ospf authentication-key cisco # 定义明文密钥2.密文认证Router(config)#int e0/0 Router(config-if)# ip ospf authentication message-digest # 启用链路接口密文认证 Router(...
R3(config-router)#area 1authentication message-digest 检查各个路由器ospf学习到的路由信息,ospf的邻居信息,ospf的数据库。测试全网互通性。 Show ip route ospf Show ip ospf nei Show ip ospf database debug ip ospfevents 总结该模式的特点: 1、通过点到点子接口的部分全互连逻辑拓扑或星型拓扑。 2、不需...
%LINEPROTO-5-UPDOWN: Line protocol on InterfaceVlan10, changed state to up Switch(config-if)#interface fa0/24 //进入接口配置模式 Router(config-if)#no shutdown //启用/打开 接口 Switch(config-if)#no switchport//交换模式改为路由模式
INTERNET (PUBLIC IP: X.X.X.X) --->| GigabitEthernet0/0/0 Router1 GigabitEthernet0/0/1 | ---> OSPF (R2) TUNNEL (GRE TUNNEL 10.255.255.0/24) --->| Tunnel01 Router1 | Scenario: ALL ACCESS FROM 10.255.255.0/24 to Local IP on the OSPF network need to be translate...
但新版本无论metric大小,都会优先N1,特别的是Cisco设备默认兼容RFC1583,所以实际上还是参考metric来决定N1还是E1 关闭兼容1583的命令:no compatible rfc1583,关闭后就始终优先N1了 调高外部路由的metric(相当于关闭R6),此时R1访问外部路由优先走R4(E1) R11(config-router)#redistribute connected metric-type 1 subnets...
→第一类外部路由:OE1/ON1 →第二类外部路由:OE2/ON2 选择顺序:O>O/A>OE1/ON1>OE2/ON2 2)路由类型相同时,选择开销(cost)较小的路由。 4.LSA报文头格式 →LS age:LSA生存时间 →Options:用于通知对端是否具有处理按需拨号链路的能力 →LS type:标识LSA类型(Type1-Type11),即Router Links类型 ...