Print Download PDF Send Feedback

Previous

Next

OSPFv2 (IPv4) commands summary

SET commands:

Note - Enter set ospf [Esc][Esc].

set ospf area VALUE nssa default-cost VALUE

set ospf area VALUE nssa default-metric-type VALUE

set ospf area VALUE nssa import-summary-routes off

set ospf area VALUE nssa import-summary-routes on

set ospf area VALUE nssa off

set ospf area VALUE nssa on

set ospf area VALUE nssa range VALUE off

set ospf area VALUE nssa range VALUE on

set ospf area VALUE nssa range VALUE restrict off

set ospf area VALUE nssa range VALUE restrict on

set ospf area VALUE nssa redistribution off

set ospf area VALUE nssa redistribution on

set ospf area VALUE nssa translator-role always

set ospf area VALUE nssa translator-role candidate

set ospf area VALUE nssa translator-stability-interval VALUE

set ospf area VALUE off

set ospf area VALUE on

set ospf area VALUE range VALUE off

set ospf area VALUE range VALUE on

set ospf area VALUE range VALUE restrict off

set ospf area VALUE range VALUE restrict on

set ospf area VALUE stub default-cost VALUE

set ospf area VALUE stub off

set ospf area VALUE stub on

set ospf area VALUE stub summary off

set ospf area VALUE stub summary on

set ospf area VALUE stub-network VALUE off

set ospf area VALUE stub-network VALUE on

set ospf area VALUE stub-network VALUE stub-network-cost VALUE

set ospf area VALUE virtual-link VALUE transit-area VALUE authtype cryptographic key VALUE algorithm VALUE secret VALUE

set ospf area VALUE virtual-link VALUE transit-area VALUE authtype cryptographic key VALUE off

set ospf area VALUE virtual-link VALUE transit-area VALUE authtype none

set ospf area VALUE virtual-link VALUE transit-area VALUE authtype simple VALUE

set ospf area VALUE virtual-link VALUE transit-area VALUE dead-interval VALUE

set ospf area VALUE virtual-link VALUE transit-area VALUE hello-interval VALUE

set ospf area VALUE virtual-link VALUE transit-area VALUE off

set ospf area VALUE virtual-link VALUE transit-area VALUE on

set ospf area VALUE virtual-link VALUE transit-area VALUE retransmit-interval VALUE

 

set ospf default-ase-cost VALUE

set ospf default-ase-type VALUE

 

set ospf export-routemap VALUE off

set ospf export-routemap VALUE preference VALUE on

 

set ospf force-hellos off

set ospf force-hellos on

set ospf force-hellos timer VALUE

 

set ospf graceful-restart grace-period VALUE

set ospf graceful-restart off

set ospf graceful-restart on

set ospf graceful-restart-helper off

set ospf graceful-restart-helper on

 

set ospf import-routemap VALUE off

set ospf import-routemap VALUE preference VALUE on

 

set ospf instance VALUE area VALUE nssa default-cost VALUE

set ospf instance VALUE area VALUE nssa default-metric-type VALUE

set ospf instance VALUE area VALUE nssa import-summary-routes off

set ospf instance VALUE area VALUE nssa import-summary-routes on

set ospf instance VALUE area VALUE nssa off

set ospf instance VALUE area VALUE nssa on

set ospf instance VALUE area VALUE nssa range VALUE off

set ospf instance VALUE area VALUE nssa range VALUE on

set ospf instance VALUE area VALUE nssa range VALUE restrict off

set ospf instance VALUE area VALUE nssa range VALUE restrict on

set ospf instance VALUE area VALUE nssa redistribution off

set ospf instance VALUE area VALUE nssa redistribution on

set ospf instance VALUE area VALUE nssa translator-role always

set ospf instance VALUE area VALUE nssa translator-role candidate

set ospf instance VALUE area VALUE nssa translator-stability-interval VALUE

set ospf instance VALUE area VALUE off

set ospf instance VALUE area VALUE on

set ospf instance VALUE area VALUE range VALUE off

set ospf instance VALUE area VALUE range VALUE on

set ospf instance VALUE area VALUE range VALUE restrict off

set ospf instance VALUE area VALUE range VALUE restrict on

set ospf instance VALUE area VALUE stub default-cost VALUE

set ospf instance VALUE area VALUE stub off

set ospf instance VALUE area VALUE stub on

set ospf instance VALUE area VALUE stub summary off

set ospf instance VALUE area VALUE stub summary on

set ospf instance VALUE area VALUE stub-network VALUE off

set ospf instance VALUE area VALUE stub-network VALUE on

set ospf instance VALUE area VALUE stub-network VALUE stub-network-cost VALUE

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE authtype cryptographic key VALUE algorithm VALUE secret VALUE

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE authtype cryptographic key VALUE off

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE authtype none

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE authtype simple VALUE

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE dead-interval VALUE

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE hello-interval VALUE

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE off

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE on

set ospf instance VALUE area VALUE virtual-link VALUE transit-area VALUE retransmit-interval VALUE

set ospf instance VALUE default-ase-cost VALUE

set ospf instance VALUE default-ase-type VALUE

set ospf instance VALUE export-routemap VALUE off

set ospf instance VALUE export-routemap VALUE preference VALUE on

set ospf instance VALUE force-hellos off

set ospf instance VALUE force-hellos on

set ospf instance VALUE force-hellos timer VALUE

set ospf instance VALUE graceful-restart grace-period VALUE

set ospf instance VALUE graceful-restart off

set ospf instance VALUE graceful-restart on

set ospf instance VALUE graceful-restart-helper off

set ospf instance VALUE graceful-restart-helper on

set ospf instance VALUE import-routemap VALUE off

set ospf instance VALUE import-routemap VALUE preference VALUE on

set ospf instance VALUE interface VALUE area VALUE off

set ospf instance VALUE interface VALUE area VALUE on

set ospf instance VALUE interface VALUE authtype cryptographic key VALUE algorithm VALUE secret VALUE

set ospf instance VALUE interface VALUE authtype cryptographic key VALUE off

set ospf instance VALUE interface VALUE authtype none

set ospf instance VALUE interface VALUE authtype simple VALUE

set ospf instance VALUE interface VALUE cost VALUE

set ospf instance VALUE interface VALUE dead-interval VALUE

set ospf instance VALUE interface VALUE hello-interval VALUE

set ospf instance VALUE interface VALUE ip-reachability-detection VALUE

set ospf instance VALUE interface VALUE passive off

set ospf instance VALUE interface VALUE passive on

set ospf instance VALUE interface VALUE priority VALUE

set ospf instance VALUE interface VALUE retransmit-interval VALUE

set ospf instance VALUE interface VALUE subtract-authlen VALUE

set ospf instance VALUE interface VALUE virtual-address off

set ospf instance VALUE interface VALUE virtual-address on

set ospf instance VALUE off

set ospf instance VALUE on

set ospf instance VALUE rfc1583-compatibility off

set ospf instance VALUE router-id VALUE

set ospf instance VALUE spf-delay VALUE

set ospf instance VALUE spf-holdtime VALUE

 

set ospf interface VALUE area VALUE off

set ospf interface VALUE area VALUE on

set ospf interface VALUE authtype cryptographic key VALUE algorithm VALUE secret VALUE

set ospf interface VALUE authtype cryptographic key VALUE off

set ospf interface VALUE authtype none

set ospf interface VALUE authtype simple VALUE

set ospf interface VALUE cost VALUE

set ospf interface VALUE dead-interval VALUE

set ospf interface VALUE hello-interval VALUE

set ospf interface VALUE ip-reachability-detection VALUE

set ospf interface VALUE passive off

set ospf interface VALUE passive on

set ospf interface VALUE priority VALUE

set ospf interface VALUE retransmit-interval VALUE

set ospf interface VALUE subtract-authlen VALUE

set ospf interface VALUE virtual-address off

set ospf interface VALUE virtual-address on

 

set ospf rfc1583-compatibility off

set ospf rfc1583-compatibility on

 

set ospf spf-delay VALUE

 

set ospf spf-holdtime VALUE

SHOW commands:

Note - Enter show ospf [Esc][Esc].

show ospf border-routers

show ospf database [ detailed ]

show ospf database area VALUE [ detailed ]

show ospf database areas [ detailed ]

show ospf database asbr-summary-lsa [ detailed ]

show ospf database checksum

show ospf database database-summary

show ospf database external-lsa [ detailed ]

show ospf database network-lsa [ detailed ]

show ospf database nssa-external-lsa [ detailed ]

show ospf database opaque-lsa [ detailed ]

show ospf database router-lsa [ detailed ]

show ospf database summary-lsa [ detailed ]

show ospf database type VALUE [ detailed ]

show ospf errors

show ospf errors dd

show ospf errors hello

show ospf errors ip

show ospf errors lsack

show ospf errors lsr

show ospf errors lsu

show ospf errors protocol

show ospf events

show ospf instance VALUE

show ospf instance VALUE border-routers

show ospf instance VALUE database [ detailed ]

show ospf instance VALUE database area VALUE [ detailed ]

show ospf instance VALUE database areas [ detailed ]

show ospf instance VALUE database asbr-summary-lsa [ detailed ]

show ospf instance VALUE database checksum

show ospf instance VALUE database database-summary

show ospf instance VALUE database external-lsa [ detailed ]

show ospf instance VALUE database network-lsa [ detailed ]

show ospf instance VALUE database nssa-external-lsa [ detailed ]

show ospf instance VALUE database router-lsa [ detailed ]

show ospf instance VALUE database summary-lsa [ detailed ]

show ospf instance VALUE database type VALUE [ detailed ]

show ospf instance VALUE errors

show ospf instance VALUE errors dd

show ospf instance VALUE errors hello

show ospf instance VALUE errors lsack

show ospf instance VALUE errors lsr

show ospf instance VALUE errors lsu

show ospf instance VALUE errors protocol

show ospf instance VALUE events

show ospf instance VALUE interface VALUE [ detailed ]

show ospf instance VALUE interface VALUE stats

show ospf instance VALUE interfaces [ detailed ]

show ospf instance VALUE interfaces stats

show ospf instance VALUE neighbor VALUE [ detailed ]

show ospf instance VALUE neighbors [ detailed ]

show ospf instance VALUE packets

show ospf instance VALUE routemap

show ospf instance VALUE router-id

show ospf instance VALUE summary

show ospf interface VALUE [ detailed ]

show ospf interface VALUE stats

show ospf interfaces [ detailed ]

show ospf interfaces stats

show ospf neighbor VALUE [ detailed ]

show ospf neighbors [ detailed ]

show ospf packets

show ospf routemap

show ospf router-id

show ospf summary