cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9224
Views
0
Helpful
4
Replies

sh ip arp command syntax ?

Kuldeep singh
Level 1
Level 1

Hi Experts,

I want to know correct syntax of "sh ip arp" command.

there are two command below so plz tell me which is

correct ?

1. show ip arp 172.25.162.3

   (i am using this one and works fine)

               OR

2. show ip arp | include 172.25.162.3

  ( i did not use this and tell me how

    to press "|" symbol, my keyboard do not

    have such kind of symbol)

KS

2 Accepted Solutions

Accepted Solutions

Mark Player
Level 1
Level 1

I don't think it matters which one you use they both give the same output:

MyRtr01#sh ip arp | i 10.96.0.98
Internet  10.96.0.98              1   100b.a9cc.fc78  ARPA   Vlan200
MyRtr01#sh ip arp 10.96.0.98
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.96.0.98              1   100b.a9cc.fc78  ARPA   Vlan200

To get the | sign you shift click the back slash key directly above enter.  Well atleast thats how I do it on my Dell keyboard.

Otherwise if you are using windows you could always find the same symbol in the character map software that comes with all windows versions

View solution in original post

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Kuldeep,

Mark is right, both command will give the same output:

sh ip arp | inc 172.25.162.3

for pipe you have to press shift and then backslash key(\)

see this pic:

Regards

View solution in original post

4 Replies 4

Rolf Fischer
Level 9
Level 9

The second one (pipe include {regular expresion}) is more or less similar to grep in UNIX and can be used with every show-command.
A simple example:
show ip arp | include 192.168.1.3[1-9]
showes 192.168.1.31 - .39
A very powerfull weapon :-)


Sent from Cisco Technical Support Android App

Mark Player
Level 1
Level 1

I don't think it matters which one you use they both give the same output:

MyRtr01#sh ip arp | i 10.96.0.98
Internet  10.96.0.98              1   100b.a9cc.fc78  ARPA   Vlan200
MyRtr01#sh ip arp 10.96.0.98
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.96.0.98              1   100b.a9cc.fc78  ARPA   Vlan200

To get the | sign you shift click the back slash key directly above enter.  Well atleast thats how I do it on my Dell keyboard.

Otherwise if you are using windows you could always find the same symbol in the character map software that comes with all windows versions

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Kuldeep,

Mark is right, both command will give the same output:

sh ip arp | inc 172.25.162.3

for pipe you have to press shift and then backslash key(\)

see this pic:

Regards

Thanks Mark and Sandeep......