/api/v1/anycastDiagnostics - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v4.x.x

Retrieve diagnostic information about the Anycast service configured on the Service Point v4 instance.

Request: GET http://<spv4_ip_address>:8083/api/v1/anycastDiagnostics

Successful response with BGP Anycast configured

200 OK
Content-Type: text/plain

AnycastStatus: enabled
RoutingProtocol: bgp
 
running: vtysh -d bgpd -c show ip bgp summary

IPv4 Unicast Summary:
BGP router identifier 10.10.10.92, local AS number 64555 vrf-id 0
BGP table version 0
RIB entries 1, using 192 bytes of memory
Peers 1, using 21 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt
10.10.10.95     4      65500         0         0        0    0    0    never       Active        0

Total number of neighbors 1
 
running: vtysh -d bgpd -c show ip bgp
BGP table version is 0, local router ID is 10.10.10.92, vrf id 0
Default local pref 100, local AS 64555
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
   192.168.0.88/32  0.0.0.0                  0         32768 i

Displayed  1 routes and 1 total paths
 
running: vtysh -d bgpd -c show ip bgp neighbor
BGP neighbor is 10.10.10.95, remote AS 65500, local AS 64555, external link
  BGP version 4, remote router ID 0.0.0.0, local router ID 10.10.10.92
  BGP state = Active
  Last read 04:35:21, Last write never
  Hold time is 16, keepalive interval is 4 seconds
  Configured hold time is 16, keepalive interval is 4 seconds
  Graceful restart information:
    Local GR Mode: Helper*
    Remote GR Mode: NotApplicable
    R bit: False
    Timers:
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 0
  Message statistics:
    Inq depth is 0
    Outq depth is 0
                         Sent       Rcvd
    Opens:                  0          0
    Notifications:          0          0
    Updates:                0          0
    Keepalives:             0          0
    Route Refresh:          0          0
    Capability:             0          0
    Total:                  0          0
  Minimum time between advertisement runs is 0 seconds

 For address family: IPv4 Unicast
  Not part of any update group
  NEXT_HOP is always this router
  Community attribute sent to this neighbor(all)
  Inbound path policy configured
  Outbound path policy configured
  Incoming update prefix filter list is *DEFAULT
  Outgoing update prefix filter list is *ANYCAST
  0 accepted prefixes

  Connections established 0; dropped 0
  Last reset 04:35:21,  Waiting for peer OPEN
BGP Connect Retry Timer in Seconds: 120
Next connect timer due in 95 seconds
Read thread: off  Write thread: off  FD used: -1


 
running: vtysh -c show zebra client summary
Name      Connect Time    Last Read  Last Write  IPv4 Routes       IPv6 Routes    
--------------------------------------------------------------------------------
bgp           04:35:21     04:35:20    04:33:21       0/0              0/0       
vnc           04:35:21     04:35:21    04:33:21       0/0              0/0       
ospf          04:35:21     04:35:21    04:33:21       0/0              0/0       
static        04:35:21     04:35:21    04:33:21       0/0              0/0       
Routes column shows (added+updated)/deleted
 
running: vtysh -c show interface eth0
Interface eth0 is up, line protocol is up
  Link ups:       0    last: (never)
  Link downs:     0    last: (never)
  vrf: default
  index 2 metric 0 mtu 1500 speed 1000 
  flags: <UP,BROADCAST,RUNNING,MULTICAST>
  Type: Ethernet
  HWaddr: 00:11:22:33:44:55
  inet 10.10.10.92/24
  inet6 fda5:574d:2:1::92/64
  inet6 fe80::250:56ff:fe9b:e4ae/64
  Interface Type Other
  Interface Slave Type None
 
running: vtysh -c show interface lo:1
% Can't find interface lo:1
 
running: vtysh -c show interface lo:2
% Can't find interface lo:2
 
running: vtysh -c show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup

K>* 0.0.0.0/0 [0/0] via 10.10.10.1, eth0 onlink, 04:35:21
C>* 10.10.10.0/24 is directly connected, eth0, 04:35:21
C>* 169.254.1.1/32 is directly connected, sdp, 04:35:21
C>* 172.172.1.0/24 is directly connected, docker0, 04:35:21
C>* 172.26.64.0/20 is directly connected, nomad, 04:33:58

Successful response with OSPF Anycast configured

200 OK
Content-Type: text/plain

AnycastStatus: enabled
RoutingProtocol: ospf
 
running: vtysh -d ospfd -c show ip ospf
 OSPF Routing Process, Router ID: 10.10.10.91
 Supports only single TOS (TOS0) routes
 This implementation conforms to RFC2328
 RFC1583Compatibility flag is disabled
 OpaqueCapability flag is disabled
 Initial SPF scheduling delay 0 millisec(s)
 Minimum hold time between consecutive SPFs 50 millisec(s)
 Maximum hold time between consecutive SPFs 5000 millisec(s)
 Hold time multiplier is currently 1
 SPF algorithm last executed 2m39s ago
 Last SPF duration 45 usecs
 SPF timer is inactive
 LSA minimum interval 5000 msecs
 LSA minimum arrival 1000 msecs
 Write Multiplier set to 20 
 Refresh timer 10 secs
 This router is an ABR, ABR type is: Alternative Cisco
 This router is an ASBR (injecting external routing information)
 Number of external LSA 0. Checksum Sum 0x00000000
 Number of opaque AS LSA 0. Checksum Sum 0x00000000
 Number of areas attached to this router: 2
 Adjacency changes are logged
 Area ID: 0.0.0.0 (Backbone)
   Number of interfaces in this area: Total: 1, Active: 1
   Number of fully adjacent neighbors in this area: 0
   Area has no authentication
   SPF algorithm executed 35 times
   Number of LSA 4
   Number of router LSA 1. Checksum Sum 0x0000a5cd
   Number of network LSA 0. Checksum Sum 0x00000000
   Number of summary LSA 2. Checksum Sum 0x0001453e
   Number of ASBR summary LSA 1. Checksum Sum 0x00005855
   Number of NSSA LSA 0. Checksum Sum 0x00000000
   Number of opaque link LSA 0. Checksum Sum 0x00000000
   Number of opaque area LSA 0. Checksum Sum 0x00000000

 Area ID: 0.0.0.1
   Shortcutting mode: Default, S-bit consensus: no
   Number of interfaces in this area: Total: 2, Active: 2
   Number of fully adjacent neighbors in this area: 1
   Area has no authentication
   Number of full virtual adjacencies going through this area: 0
   SPF algorithm executed 36 times
   Number of LSA 6
   Number of router LSA 3. Checksum Sum 0x00016496
   Number of network LSA 1. Checksum Sum 0x0000dfed
   Number of summary LSA 2. Checksum Sum 0x0000df0c
   Number of ASBR summary LSA 0. Checksum Sum 0x00000000
   Number of NSSA LSA 0. Checksum Sum 0x00000000
   Number of opaque link LSA 0. Checksum Sum 0x00000000
   Number of opaque area LSA 0. Checksum Sum 0x00000000


 
running: vtysh -d ospfd -c show ip ospf database

       OSPF Router with ID (10.10.10.91)

                Router Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.10.10.91   10.10.10.91    508 0x80000031 0xa5cd 1

                Summary Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum  Route
10.10.10.0      10.10.10.91      608 0x8000002f 0x52f3 10.10.10.0/24
10.10.10.98     10.10.10.91      768 0x8000002f 0xf24b 10.10.10.98/32

                ASBR-Summary Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum
10.10.10.151    10.10.10.91     568 0x8000002f 0x5855

                Router Link States (Area 0.0.0.1)

Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.10.10.91     10.10.10.91      160 0x8000036e 0x79f5 2
10.10.10.102    10.10.10.102     322 0x8000000a 0x1aac 1
10.10.10.151    10.10.10.151     161 0x80000275 0xcff5 1

                Net Link States (Area 0.0.0.1)

Link ID         ADV Router      Age  Seq#       CkSum
10.10.10.151    10.10.10.151     161 0x80000217 0xdfed

                Summary Link States (Area 0.0.0.1)

Link ID         ADV Router      Age  Seq#       CkSum  Route
192.168.0.90    10.10.10.151    1452 0x80000229 0x350e 192.168.0.90/32
192.168.0.99    10.10.10.91      588 0x800001f7 0xa9fe 192.168.0.99/32


 
running: vtysh -d ospfd -c show ip ospf neighbor

Neighbor ID     Pri State           Dead Time Address         Interface                        RXmtL RqstL DBsmL
10.10.10.151      1 Full/DR           37.897s 10.10.10.151    eth0:10.10.10.91                     0     0     0

 
running: vtysh -c show ip ospf route
============ OSPF network routing table ============
N    10.10.10.0/24         [100] area: 0.0.0.1
                           directly attached to eth0
N    10.10.10.98/32        [10] area: 0.0.0.1
                           directly attached to dsr0
N IA 192.168.0.90/32       [100] area: 0.0.0.1
                           via 10.10.10.151, eth0
N    192.168.0.99/32       [0] area: 0.0.0.0
                           directly attached to lo

============ OSPF router routing table =============
R    10.10.10.151          [100] area: 0.0.0.1, ABR, ASBR
                           via 10.10.10.151, eth0

============ OSPF external routing table ===========


 
running: vtysh -c show zebra client summary
Name      Connect Time    Last Read  Last Write  IPv4 Routes       IPv6 Routes    
--------------------------------------------------------------------------------
bgp           01w2d23h     01w2d23h    6d21h38m       0/0              0/0       
vnc           01w2d23h     01w2d23h    6d21h38m       0/0              0/0       
static        01w2d23h     01w2d23h    6d21h38m       0/0              0/0       
ospf          22:05:00     00:05:29    22:05:00      12/0              0/0       
Routes column shows (added+updated)/deleted
 
running: vtysh -c show interface eth0
Interface eth0 is up, line protocol is up
  Link ups:       0    last: (never)
  Link downs:     0    last: (never)
  vrf: default
  index 2 metric 0 mtu 1500 speed 1000 
  flags: <UP,BROADCAST,RUNNING,MULTICAST>
  Type: Ethernet
  HWaddr: 00:11:22:33:44:55
  inet 10.10.10.91/24
  inet6 fda5:574d:2:1::91/64
  inet6 fe80::250:56ff:fe9b:bc96/64
  Interface Type Other
  Interface Slave Type None
 
running: vtysh -c show interface lo:1
Interface lo:1 is down
  Link ups:       0    last: (never)
  Link downs:     0    last: (never)
  vrf: default
  pseudo interface
 
running: vtysh -c show interface lo:2
% Can't find interface lo:2
 
running: vtysh -c show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup

K>* 0.0.0.0/0 [0/0] via 10.10.10.1, eth0 onlink, 01w2d23h
O   10.10.10.0/24 [110/100] is directly connected, eth0, weight 1, 22:05:01
C>* 10.10.10.0/24 is directly connected, eth0, 01w2d23h
O   10.10.10.98/32 [110/10] via 0.0.0.0, dsr0 onlink, weight 1, 22:05:01
C>* 10.10.10.98/32 is directly connected, dsr0, 6d21h38m
C>* 169.254.1.1/32 is directly connected, sdp, 01w2d23h
C>* 172.172.1.0/24 is directly connected, docker0, 01w2d23h
C>* 172.26.64.0/20 is directly connected, nomad, 01w2d23h
O>* 192.10.0.90/32 [110/100] via 10.10.10.151, eth0, weight 1, 00:12:52
O   192.10.0.99/32 [110/0] is directly connected, lo, weight 1, 22:05:01
C>* 192.10.0.99/32 is directly connected, lo, 01w2d23h

Successful response with Anycast disabled

200 OK
Content-Type: text/plain

AnycastStatus: disabled