Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

match a port up with a given ip address

Status
Not open for further replies.

bopritchard

Programmer
Jan 27, 2003
199
US
got a 6000 switch...how can i match a port up with a given ip address
 
Console> ping w.x.y.z

w.x.y.z at 00-b0-d0-c4-34-44 port 3/14 on vlan 101

It's that what you want?
 
sh arp

or

if an ios based switch

show arp | include xxx.xxx.xxx.xxx


x being ip address


then

show mac-address-table address xxxx.xxxx.xxxx

x being the mac address from the arp result

this will give you the port number on ios switch




Lui3
CCNP,CCDA,A+/Net+
Cisco Wireless Specialization
 
on cat os switch just use ping and then issue

show arp

and it will give you the port to ip mapping




Lui3
CCNP,CCDA,A+/Net+
Cisco Wireless Specialization
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top