Versions Compared

Key

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

Run the command The run graceful-restart prepare ospf  to display information about layer 3 interfaces participating in OSPF process. The command output displays information such as interface name, IP address, the area this interfaces belongs to, neighbor adjacency count, multicast group memberships and OSPF timers etc.

To display the interface traffic related to OSPF, add the argument traffic to the command. This will display information such as OSPF hello messages sent and received on the interface, database description messages sent and received etc. You can also specify a particular interface to show information related to that L3 interface.

If OSPF is running in the default VRF then no need to specify the VRF but if OSPF is running in a user defined VRF then you need to specify the VRF by using the vrf parameter.

Command Syntax

Example

...

run show command initiates a graceful restart for all OSPF instances configured with the “set protocols ospf [instance-id <instance-id> | vrf<] [vrf<vrf-name>] interface [traffic | an-interface <vlan-interface>]

Parameters

...

interface<traffic>

...

graceful-restart enable true” command. The ospfd daemon should be restarted during the instance-specific grace period, otherwise the graceful restart will fail.

To perform a graceful shutdown, this operational command needs to be issued before restarting the ospfd daemon.


Command Syntax

run graceful-restart prepare ospf

Parameters

None.


Example

  •  Initiate a graceful restart for all OSPF instances.
Code Block
admin@Xorplus# run show ospf instance-id 1 interface
OSPF Instance: 1

vlan111 is up
  ifindex 257, MTU 1500 bytes, BW 0 Mbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address 192.168.1.11/24, Broadcast 192.168.1.255, Area 1.1.1.1
  MTU mismatch detection: enabled
  Router ID 41.41.41.41, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  No backup designated router on this network
  Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 8.646s
  Neighbor Count is 1, Adjacent neighbor count is 0
vlan1111 is up
  ifindex 265, MTU 1500 bytes, BW 0 Mbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address 192.168.11.2/24, Broadcast 192.168.11.255, Area 0.0.0.0
  MTU mismatch detection: enabled
  Router ID 41.41.41.41, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  No backup designated router on this network
  Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 3.016s
  Neighbor Count is 1, Adjacent neighbor count is 0graceful-restart prepare ospf