cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
382
Views
0
Helpful
1
Replies

usage of command - sh config | s ospf

Vignesh M
Level 1
Level 1

Can someone explain the usage of the below command in brief.

sh config | s ospf

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

all that is doing is saying show the running configuration but just the sections that have ospf

when the pipe is there you have options on the cli  to pull just some of the config rather than all as below

CORE#  show configuration | ?
  append    Append redirected output to URL (URLs supporting append operation only)
  begin     Begin with the line that matches
  count     Count number of lines which match regexp
  exclude   Exclude lines that match
  format    Format the output using the specified spec file
  include   Include lines that match
  redirect  Redirect output to URL
  section   Filter a section of output
  tee       Copy output to URL

CORE#  show configuration | i eigrp
router eigrp 1
 eigrp router-id 172.21.229.65
CORE#

 

Review Cisco Networking for a $25 gift card