- Created by Jean-luc KRIKER, last modified on Jan 18, 2019
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Current »
show ospf neighbor and show ospf interface |
ospf basic config Expand source
{master:0} root@ACX5048-R103> show configuration protocols ospf traffic-engineering; area 0.0.0.0 { interface ge-0/0/0.0; interface lo0.0; }
show ospf neighbor Expand source
root@ACX5048-R103> show ospf neighbor Address Interface State ID Pri Dead 10.99.70.177 ge-0/0/0.0 Full 10.99.92.177 128 37 {master:0} root@ACX5048-R103> show ospf neighbor detail Address Interface State ID Pri Dead 10.99.70.177 ge-0/0/0.0 Full 10.99.92.177 128 35 Area 0.0.0.0, opt 0x52, DR 10.99.70.95, BDR 10.99.70.177 Up 21:24:53, adjacent 21:24:53 {master:0} root@ACX5048-R103> show ospf neighbor extensive Address Interface State ID Pri Dead 10.99.70.177 ge-0/0/0.0 Full 10.99.92.177 128 37 Area 0.0.0.0, opt 0x52, DR 10.99.70.95, BDR 10.99.70.177 Up 21:24:58, adjacent 21:24:58 Topology default (ID 0) -> Bidirectional {master:0}
show ospf interface Expand source
root@ACX5048-R103> show ospf interface Interface State Area DR ID BDR ID Nbrs ge-0/0/0.0 DR 0.0.0.0 10.99.92.95 10.99.92.177 1 lo0.0 DR 0.0.0.0 10.99.92.95 0.0.0.0 0 {master:0} root@ACX5048-R103> show ospf interface extensive Interface State Area DR ID BDR ID Nbrs ge-0/0/0.0 DR 0.0.0.0 10.99.92.95 10.99.92.177 1 Type: LAN, Address: 10.99.70.95, Mask: 255.255.255.0, MTU: 1500, Cost: 1 DR addr: 10.99.70.95, BDR addr: 10.99.70.177, Priority: 128 Adj count: 1 Hello: 10, Dead: 40, ReXmit: 5, Not Stub Auth type: None Protection type: None Topology default (ID 0) -> Cost: 1 lo0.0 DR 0.0.0.0 10.99.92.95 0.0.0.0 0 Type: LAN, Address: 10.99.92.95, Mask: 255.255.255.255, MTU: 65535, Cost: 0 DR addr: 10.99.92.95, Priority: 128 Adj count: 0 Hello: 10, Dead: 40, ReXmit: 5, Not Stub Auth type: None Protection type: None Topology default (ID 0) -> Cost: 0 |
ACX5048 18.4R1.8 show ospf database |
show ospf database Expand source
root@ACX5048-R103> show ospf database OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router *10.99.92.95 10.99.92.95 0x8000001f 2091 0x22 0xc59d 48 Router 10.99.92.177 10.99.92.177 0x8000001e 2007 0x22 0x36b 60 Network *10.99.70.95 10.99.92.95 0x8000001b 1091 0x22 0x231c 32 OpaqArea*1.0.0.1 10.99.92.95 0x8000001b 91 0x22 0x1aa8 28 {master:0} root@ACX5048-R103> show ospf database extensive OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router *10.99.92.95 10.99.92.95 0x8000001f 2099 0x22 0xc59d 48 bits 0x0, link count 2 id 10.99.70.95, data 10.99.70.95, Type Transit (2) Topology count: 0, Default metric: 1 id 10.99.92.95, data 255.255.255.255, Type Stub (3) Topology count: 0, Default metric: 0 Topology default (ID 0) Type: Transit, Node ID: 10.99.70.95 Metric: 1, Bidirectional Gen timer 00:15:01 Aging timer 00:25:01 Installed 00:34:59 ago, expires in 00:25:01, sent 00:34:57 ago Last changed 21:25:39 ago, Change count: 5, Ours Router 10.99.92.177 10.99.92.177 0x8000001e 2015 0x22 0x36b 60 bits 0x0, link count 3 id 10.99.70.95, data 10.99.70.177, Type Transit (2) Topology count: 0, Default metric: 1 id 10.99.92.177, data 255.255.255.255, Type Stub (3) Topology count: 0, Default metric: 0 id 192.168.255.51, data 255.255.255.255, Type Stub (3) Topology count: 0, Default metric: 0 Topology default (ID 0) Type: Transit, Node ID: 10.99.70.95 Metric: 1, Bidirectional Aging timer 00:26:25 Installed 00:33:32 ago, expires in 00:26:25 Last changed 21:24:14 ago, Change count: 3 Network *10.99.70.95 10.99.92.95 0x8000001b 1099 0x22 0x231c 32 mask 255.255.255.0 attached router 10.99.92.95 attached router 10.99.92.177 Topology default (ID 0) Type: Transit, Node ID: 10.99.92.177 Metric: 0, Bidirectional Type: Transit, Node ID: 10.99.92.95 Metric: 0, Bidirectional Gen timer 00:31:41 Aging timer 00:41:41 Installed 00:18:19 ago, expires in 00:41:41, sent 00:18:17 ago Last changed 21:27:09 ago, Change count: 1, Ours OpaqArea*1.0.0.1 10.99.92.95 0x8000001b 99 0x22 0x1aa8 28 Opaque LSA RtrAddr (1), length 4: 10.99.92.95 Gen timer 00:48:21 Aging timer 00:58:21 Installed 00:01:39 ago, expires in 00:58:21, sent 00:01:37 ago Last changed 21:27:58 ago, Change count: 1, Ours
show adv routes Expand source
root@ACX5048-R103> show ospf database router advertising-router self extensive OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len Router *10.99.92.95 10.99.92.95 0x8000001f 1521 0x22 0xc59d 48 bits 0x0, link count 2 id 10.99.70.95, data 10.99.70.95, Type Transit (2) Topology count: 0, Default metric: 1 id 10.99.92.95, data 255.255.255.255, Type Stub (3) Topology count: 0, Default metric: 0 Topology default (ID 0) Type: Transit, Node ID: 10.99.70.95 Metric: 1, Bidirectional Gen timer 00:24:38 Aging timer 00:34:38 Installed 00:25:21 ago, expires in 00:34:39, sent 00:25:19 ago Last changed 21:16:01 ago, Change count: 5, Ours |
show route protocol ospf |
show ospf routes Expand source
root@ACX5048-R103> show route protocol ospf inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.99.92.177/32 *[OSPF/10] 21:26:31, metric 1 > to 10.99.70.177 via ge-0/0/0.0 192.168.255.51/32 *[OSPF/10] 21:26:31, metric 1 > to 10.99.70.177 via ge-0/0/0.0 224.0.0.5/32 *[OSPF/10] 1w0d 23:00:13, metric 1 MultiRecv inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) vrouter1.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) VPLS1.l2vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
show ospf Expand source
root@ACX5048-R103> show route protocol ospf extensive inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) 10.99.92.177/32 (1 entry, 1 announced) State: <FlashAll> TSI: KRT in-kernel 10.99.92.177/32 -> {10.99.70.177} *OSPF Preference: 10 Next hop type: Router, Next hop index: 1727 Address: 0xca32350 Next-hop reference count: 4 Next hop: 10.99.70.177 via ge-0/0/0.0, selected Session Id: 0x140 State: <Active Int> Local AS: 65100 Age: 21:27:33 Metric: 1 Validation State: unverified Area: 0.0.0.0 Task: OSPF Announcement bits (3): 0-KRT 4-LDP 6-Resolve tree 3 AS path: I 192.168.255.51/32 (1 entry, 1 announced) State: <FlashAll> TSI: KRT in-kernel 192.168.255.51/32 -> {10.99.70.177} *OSPF Preference: 10 Next hop type: Router, Next hop index: 1727 Address: 0xca32350 Next-hop reference count: 4 Next hop: 10.99.70.177 via ge-0/0/0.0, selected Session Id: 0x140 State: <Active Int> Local AS: 65100 Age: 21:27:33 Metric: 1 Validation State: unverified Area: 0.0.0.0 Task: OSPF Announcement bits (3): 0-KRT 4-LDP 6-Resolve tree 3 AS path: I 224.0.0.5/32 (1 entry, 1 announced) State: <FlashAll> TSI: KRT in-kernel 224.0.0.5/32 -> {} *OSPF Preference: 10 Next hop type: MultiRecv, Next hop index: 0 Address: 0xca307f0 Next-hop reference count: 9 State: <Active NoReadvrt Int> Local AS: 65100 Age: 1w0d 23:01:15 Metric: 1 Validation State: unverified Task: OSPF I/O./var/run/ppmd_control Announcement bits (3): 0-KRT 4-LDP 6-Resolve tree 3 AS path: I inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) vrouter1.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) VPLS1.l2vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) |
- No labels