# /usr/local/sbin/ospfd -d
# /usr/local/sbin/zebra -d
# vtysh
Hello, this is Quagga (version 0.99.17).
Copyright 1996-2005 Kunihiro Ishiguro, etal.
test.xiaomi.com# show running-config
Building configuration...
Current configuration:
hostname Router
hostname ospfd
log stdout
password zebra
enable password zebra
enable password please-set-at-here
interface eth0
ipv6nd suppress-ra
interface lo
router ospf
network 10.235.117.0/24 area 0.0.0.0
line vty
end
test.xiaomi.com# show ip ospf database
OSPF Router with ID (10.235.117.22)
Router Link States (Area0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
10.235.117.22 10.235.117.22 3 0x80000003 0x0735 1
10.235.117.27 10.235.117.27 9 0x80000005 0xf832 1
10.235.117.28 10.235.117.28 10 0x80000005 0xf631 1
Net Link States (Area0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.235.117.28 10.235.117.28 10 0x80000003 0xe5cf