Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Access


Config filego into the config mode


from the linux shell:

vtysh

configure

show configuration candidateĀ [ ospfd or bgpd or any other optionĀ ]


Code Block
titleconfig
lr202007009846(config)# show configuration candidate
  bgpd           For the bgp daemon
  changes        Show changes applied in the candidate configuration
  fabricd        For the fabricd daemon
  isisd          For the isis daemon
  json           Change output format to JSON
  ldpd           For the ldpd daemon
  ospf6d         For the ospfv6 daemon
  ospfd          For the ospf daemon
  pbrd           For the pbr daemon
  pimd           For the pim daemon
  ripd           For the rip daemon
  ripngd         For the ripng daemon
  sharpd         For the sharpd daemon
  staticd        For the static daemon
  vrrpd          For the vrrpd daemon
  with-defaults  Show default values
  xml            Change output format to XML
  zebra          For the zebra daemon
lr202007009846(config)# 


OSPF config

show configuration candidate ospfd


Code Block
titleOSPF
lr202007009846(config)# show configuration candidate ospfd
Configuration:
!
frr version 7.5.1
frr defaults traditional
ip prefix-list only_static_routes seq 1 permit 1.0.0.1/32
!
interface g26
!
interface loopback0
!
interface loopback21
route-map allow_prefix_1001 permit 1
 match ip address prefix-list only_static_routes
!
end


BGP config


Code Block
titleBGP config
lr202007009846(config)# show configuration candidate bgpd
Configuration:
!
frr version 7.5.1
frr defaults traditional
ip prefix-list only_static_routes seq 1 permit 1.0.0.1/32
route-map allow_prefix_1001 permit 1
 match ip address prefix-list only_static_routes
!
end


show interface

show interface brief

Code Block
titleinterfaces
lr202007009846# show interface brief
Interface       Status  VRF             Addresses
---------       ------  ---             ---------
g4              up      default         169.254.128.130/31
g5              up      default         192.168.0.176/24
g6              up      default         192.168.126.1/24
g7              up      default         169.254.130.1/32
g9              up      default         169.254.130.2/32
g10             up      default         192.168.124.1/24
g15             up      default         192.168.193.1/30
g16             up      default         10.100.11.1/24
g22             up      default         192.168.128.1/24
g23             up      default         169.254.130.3/32
g26             up      default         10.200.21.1/2
g4294967294     up      default         169.254.127.126/31
lo              up      default
loopback0       up      default         192.168.111.1/32
loopback21      up      default         10.100.210.22/32

lr202007009846#




Sow OSPF


Code Block
titleOSPF interfaces
lr202007009846# show ip ospf interface
g26 is up
  ifindex 14, MTU 1500 bytes, BW 10 Mbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address 10.200.21.1/2, Broadcast 63.255.255.255, Area 0.0.0.0
  MTU mismatch detection: enabled
  Router ID 10.200.210.22, Network Type POINTOPOINT, Cost: 10
  Transmit Delay is 1 sec, State PointToPoint, Priority 1
  No backup designated router on this network
  Multicast group memberships: OSPFAllRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 5.704s
  Neighbor Count is 1, Adjacent neighbor count is 0
loopback21 is up
  ifindex 15, MTU 1500 bytes, BW 10 Mbit <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
  This interface is UNNUMBERED, Area 0.0.0.0
  MTU mismatch detection: enabled
  Router ID 10.200.210.22, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  No backup designated router on this network
  Multicast group memberships: <None>
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    No Hellos (Passive interface)
  Neighbor Count is 0, Adjacent neighbor count is 0



show ip ospf

Code Block
titleshow ospf
lr202007009846# show ip ospf
 OSPF Routing Process, Router ID: 10.200.210.22
 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 58m53s ago
 Last SPF duration 31 usecs
 SPF timer is inactive
 LSA minimum interval 5000 msecs
 LSA minimum arrival 1000 msecs
 Write Multiplier set to 20
 Refresh timer 10 secs
 Number of external LSA 0. Checksum Sum 0x00000000
 Number of opaque AS LSA 0. Checksum Sum 0x00000000
 Number of areas attached to this router: 1
 Area ID: 0.0.0.0 (Backbone)
   Number of interfaces in this area: Total: 2, Active: 2
   Number of fully adjacent neighbors in this area: 0
   Area has no authentication
   SPF algorithm executed 9 times
   Number of LSA 1
   Number of router LSA 1. Checksum Sum 0x00005141
   Number of network LSA 0. Checksum Sum 0x00000000
   Number of summary LSA 0. Checksum Sum 0x00000000
   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