pi@tuesday:/etc/quagga$ telnet localhost 2606 Trying::1…连接到localhost。转义字符为'^]'。你好,这是Quagga(版本0.99.21)。Kunihiro Ishiguro, et al.版权所有用户访问验证密码:R22ospf6> en密码:R22ospf6# show ipv6 ospf neighbor neighbor ID Pri DeadTime State/IfState Duration I/F[State] 10.10.10.21 0 00:00:39 Twoway/DROther 10:01:04 eth0[DROther] 10.1.1.1 100 00:00:32 Full/DR 00:02:42 eth1[DROther] 10.8.8.8 1 00:00:30 Twoway/DROther 00:02:42 eth1[DROther] 192.168.28.28 1 00:00:34 Full/BDR 00:02:39 eth1[DROther] 10.10.10.21 0 00:00:39Twoway/DROther 00:02:40 eth2[DROther] R22ospf6# show ipv6 ospf route *N E1 2001:db8::4/128 fe80::2e54:2dff:fe4f:5320 eth1 00:03:10 *N E1 2001:db8:: 2e54::2dff:fe4f:5320 eth1 00:03:10 *N IA 2001:db8:::/64::eth1 00:03:10 * N IA 2001: db8:4:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N E1 2001: db8:5:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N E1 2001: db8:6:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N即2001:db8:11:: / 64 fe80:: 2 e54:2dff: fe4f: 56 e0 eth1 00:03:10 * N即2001:db8:12:: / 64 fe80:: 2 e54:2dff: fe4f: 5380 eth1 00:03:10 * N IA 2001: db8:13:: / 64fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N E1 2001: db8:22:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N IA 2001: db8:22:22:: 64:: 2001: 0 00:03:15 * N IA db8:23:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N即2001:db8:28:28:: / 64 fe80:: 2 e54:2dff: fe4f: 5380 eth1 00:03:10 * N IA 2001: db8:43:: / 64 fe80:: 2 e54:2dff: fe4f: 5320 eth1 00:03:10 * N E1 2001:db8:55::/64 fe80::2e54:2dff:fe4f:5320 eth1 00:03:10 *N E1 2001:db8:64::/64 fe80::2e54:2dff:fe4f:5320 eth1 00:03:10 *N E1 2001:db8:66::/64 fe80::2e54:2dff:fe4f:5320 eth1 00:03:10 *N IA 2001:db8:233::/64 ::1 0 00:03:15 *N IA 2001:db8:1111::1111/128 fe80::2e54:2dff:fe4f:56e0 eth1 00:03:10 *N IE 2001:db8:2222::2222/128 fe80::2e54:2dff:fe4f:5380 eth1 00:03:10 *N IA 2001:db8:8888::8888/128 fe80::2e54:2dff:fe4f:5320 eth1 00:03:10 *N IA 2001:db8:101::/64 ::1 0 00:03:15
在斑驴其他有用的OSPFv2的命令是:
显示运行配置显示IPv6的OSPF接口显示的IPv6 OSPF区域展示IPv6的OSPF链路状态显示IPv6的OSPF区域0.0.0.0 SPF树秀IPv6的OSPF边界路由器的IPv6显示OSPF数据库
现在,我们有思科路由器和树莓派配置为双协议路由,我们需要验证的是,控制平面从路由器的角度进行互操作。现在,我们可以查看Cisco IOS路由器之一的地位,看看是否OSPFv2的从OSPFv3已建立邻接关系。
RTRA#显示IP OSPF邻居邻居ID小学州死区时间地址接口10.8.8.8 1 FULL / BDR 00:00:31 192.168.3.2 VLAN3 10.10.10.21 1 FULL / DROTHER 00:00:36 192.168.3.21 VLAN3 10.10.10.22 1FULL / DROTHER〇时00分31秒192.168.3.22 VLAN3 RTRA#节目IP路由代码:C - 连接,S - 静态,R - RIP中,M - 移动,B - BGP d - EIGRP,EX - EIGRP外部,-O - OSPF,IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 192.168.101.1 to network 0.0.0.0 O E1 192.168.29.0/24 [110/21] via 192.168.3.2, 01:34:10, Vlan3 C 192.168.11.0/24 is directly connected, Vlan11 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O 10.8.8.8/32 [110/2] via 192.168.3.2, 01:34:10, Vlan3 O E1 10.0.0.0/8 [110/21] via 192.168.3.2, 01:34:10, Vlan3 C 10.1.1.1/32 is directly connected, Loopback0 O 10.10.10.22/32 [110/11] via 192.168.3.22, 00:05:58, Vlan3 O 10.10.10.21/32 [110/11] via 192.168.3.21, 00:05:58, Vlan3 O 192.168.233.0/24 [110/11] via 192.168.3.22, 00:05:58, Vlan3 [110/11] via 192.168.3.21, 00:05:14, Vlan3 C 192.168.100.0/24 is directly connected, Dot11Radio0 C 192.168.3.0/24 is directly connected, Vlan3 O 192.168.101.0/24 [110/11] via 192.168.3.22, 00:05:58, Vlan3 [110/11] via 192.168.3.21, 00:05:14, Vlan3 S* 0.0.0.0/0 [254/0] via 192.168.101.1 RTRA# show ip ospf route OSPF Router with ID (10.1.1.1) (Process ID 100) Area BACKBONE(0.0.0.0) Intra-area Route List * 192.168.3.0/24, Intra, cost 1, area 0.0.0.0, Connected via 192.168.3.1, Vlan3 *> 192.168.233.0/24, Intra, cost 11, area 0.0.0.0 via 192.168.3.21, Vlan3 via 192.168.3.22, Vlan3 *> 192.168.101.0/24, Intra, cost 11, area 0.0.0.0 via 192.168.3.21, Vlan3 via 192.168.3.22, Vlan3 *> 10.8.8.8/32, Intra, cost 2, area 0.0.0.0 via 192.168.3.2, Vlan3 *> 10.10.10.21/32, Intra, cost 11, area 0.0.0.0 via 192.168.3.21, Vlan3 *> 10.10.10.22/32, Intra, cost 11, area 0.0.0.0 via 192.168.3.22, Vlan3 Intra-area Router Path List i 10.8.8.8 [1] via 192.168.3.2, Vlan3, ASBR, Area 0.0.0.0, SPF 10 Area 0.0.0.11 Intra-area Route List * 192.168.11.0/24, Intra, cost 1, area 0.0.0.11, Connected via 192.168.11.1, Vlan11 * 192.168.100.0/24, Intra, cost 1, area 0.0.0.11, Connected via 192.168.100.1, Dot11Radio0 * 10.1.1.1/32, Intra, cost 1, area 0.0.0.11, Connected via 10.1.1.1, Loopback0 External Route List *> 10.0.0.0/8, Ext1, cost 21, tag 0 via 192.168.3.2, Vlan3 *> 192.168.29.0/24, Ext1, cost 21, tag 0 via 192.168.3.2, Vlan3 RTRA# show ipv6 ospf neigh Neighbor ID Pri State Dead Time Interface ID Interface 10.10.10.22 0 FULL/DROTHER 00:00:39 3 Vlan3 10.10.10.21 0 FULL/DROTHER 00:00:34 3 Vlan3 10.8.8.8 1 FULL/BDR 00:00:36 14 Vlan3 RTRA# show ipv6 ospf 100 Routing Process "ospfv3 100" with ID 10.1.1.1 It is an area border and autonomous system boundary router Originate Default Route with metric 600 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs LSA group pacing timer 240 secs Interface flood pacing timer 15 msecs Retransmission pacing timer 66 msecs Number of external LSA 1. Checksum Sum 0x00AEDC Number of areas in this router is 2. 2 normal 0 stub 0 nssa Reference bandwidth unit is 100 mbps Area BACKBONE(0.0.0.0) Number of interfaces in this area is 2 SPF algorithm executed 8 times Area ranges are 2001:DB8:3::/64 Active(1) Advertise 2001:DB8:1111::1111/128 Active(0) Advertise Number of LSA 15. Checksum Sum 0x08F2DA Number of DCbitless LSA 4 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 Area 0.0.0.11 Number of interfaces in this area is 1 SPF algorithm executed 4 times Area ranges are 2001:DB8:11::/64 Active(1) Advertise Number of LSA 12. Checksum Sum 0x05196D Number of DCbitless LSA 1 Number of indication LSA 1 Number of DoNotAge LSA 0 Flood list length 0 RTRA# show ipv6 route IPv6 Routing Table - Default - 12 entries Codes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP D - EIGRP, EX - EIGRP external O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 C 2001:DB8:3::/64 [0/0] via Vlan3, directly connected L 2001:DB8:3::1/128 [0/0] via Vlan3, receive C 2001:DB8:11::/64 [0/0] via Vlan11, directly connected L 2001:DB8:11::1/128 [0/0] via Vlan11, receive O 2001:DB8:21:21::/64 [110/2] via FE80::FE75:16FF:FECF:5326, Vlan3 O 2001:DB8:22:22::/64 [110/2] via FE80::1E7E:E5FF:FE0F:C954, Vlan3 OE1 2001:DB8:29::/64 [110/21] via FE80::21E:BEFF:FEE3:5EF2, Vlan3 O 2001:DB8:233::/64 [110/2] via FE80::FE75:16FF:FECF:5326, Vlan3 via FE80::1E7E:E5FF:FE0F:C954, Vlan3 LC 2001:DB8:1111::1111/128 [0/0] via Loopback0, receive O 2001:DB8:8888::8888/128 [110/1] via FE80::21E:BEFF:FEE3:5EF2, Vlan3 O 2001:db8:101::/64 [110/2] via FE80::FE75:16FF:FECF:5326, Vlan3 via FE80::1E7E:E5FF:FE0F:C954, Vlan3 L FF00::/8 [0/0] via Null0, receive
简介:
现在你看到它是多么容易建立一个树莓派作为一个简单的路由器。有没有结束一组树莓派电脑创新的可能性。该树莓派就是这样一个低成本的项目,但低成本并不意味着更少的能力。在这样的小尺寸设备可用的能力是不可思议的。该树莓派可以为IT工程师的有用工具。什么你能做的就是根据你的想象力和意愿的唯一限制鼓捣各地得到它的工作。
斯科特