cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
458
Views
0
Helpful
7
Replies

Show command help

welcomeccie
Level 1
Level 1

when i try to find specific item in the sh run i should use more parameters like the following

show run | include (interface | 10.1.1.1)

Is there any DOCs on cisco explain the show command with detailed parameters?

7 Replies 7

glen.grant
VIP Alumni
VIP Alumni

Learn to use the "pipe" command , it comes in very handy when looking for particular things in a config . You can pipe almost any parameter from show ip route to just about any "show command. . If you have say a large config and you want to look for something in particular say like snmp parameters instead of going theu the whole config use like " show runn | begin snmp and that will take you to the snmp area in the config directly. Pipe is your friend to save some time.

How can i display interafec vl 25 and it ip 1.1.1.1 only . I tried to use

show run | inc (interface | 1.1.1.1) but it gives me all the interfaces too

How about show ip interface vlan 25 | i Internet

Suppose that i know the ip address but i don't know the vlan number

show runn | begin .

show ip interface brief | i [ip address]

Review Cisco Networking for a $25 gift card