Header Only - DO NOT REMOVE - Extreme Networks

How to view IP address with known MAC address in EXOS


what should i do ? if i know the MAC address of the user and i want to get his ip . If its possible then please give me command for extreme switches.

25 replies

Show iparp | include "Mac" You will need to run that command on the router Hope that helps
show iparp provide me all the MAC and users ip which are connected that time but I just need some limited users MAC ip until i need to create a big data .
Correct, that is why I added the filter "| include " Mac you are interested in " " Show iparp | include "Mac"
Userlevel 7
You can also leave off the "| include" and just do 'show iparp '. This will be faster, as it only checks the ARP table for the specified MAC, instead of dumping the entire table and filtering the output.

-Brandon
thanks a lot Brandon and David.
fuck off extreme switches!! None of those commands works!!
Userlevel 7
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

With that attitude, there aren't many things that are likely to work for you. If you have trouble figuring out a command, provide us with some useful information and ask a proper question instead of spouting off profanity to others for helping someone else in a nearly 3 year old thread.

Edit: You can come back and try again on Monday.
Userlevel 7
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

With that attitude, there aren't many things that are likely to work for you.

Another job maybe 🙂
Userlevel 4
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

Wow, perhaps you should rather herd sheep or sth.
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

I'm wonder if he has XOS switches? If he can fix his attitude and provide a bit of information maybe we can get him on the right track.
Userlevel 7
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

He'll get a chance to ask us a proper question when I un-suspend him on Monday.
Userlevel 7
wagner rocha wrote:

fuck off extreme switches!! None of those commands works!!

Ok, Wagner. You can try this again if you'd like.
Hi folks,

Let my hook up to this topic.
I've tried above commands but those will only show MAC's for VLAN where the switch is.

If I issue show iparp | include "MAC" it shows nothing. When I issue just show iparp it gives me MAC's of other switches which are in the same mgmt VLAN.
The question is: How can I get IP of device in another VLAN (directly connected to this specific switch).
Userlevel 4
Mateusz Haba wrote:

Hi folks,

Let my hook up to this topic.
I've tried above commands but those will only show MAC's for VLAN where the switch is.

If I issue show iparp | include "MAC" it shows nothing. When I issue just show iparp it gives me MAC's of other switches which are in the same mgmt VLAN.
The question is: How can I get IP of device in another VLAN (directly connected to this specific switch).

Hi Mateusz,

If you have EXOS device with version that has "enable nodealias port all" you should try this for L2 (non-routing) switch. It will bind MAC, IP and port in single table you can display.

Hope that helps,
Tomasz
Userlevel 1
Hi Mateusz
To get IP and corresponding MAC reflected in the output of show iparp; you need to make that (another vlan) as L3 on switch; Or else you will be able to see the MAC addresses only (using show fdb).

Regards,
Harkanwaljeet Singh
Thanks for quick reply.

@Tomasz - I just enabled nodealias on my switch and tried to display table as follow:
show nodealias. Here's output:

* X440-19 # show nodealias

Max Entries: 422 Active Entries: 422

Purge Time: 10-26-2018 14:28:52 State: 2

Protocols Enabled: ip, ipv6, ospf, bgp, bootps, bootpc, vrrp, dhcps, dhcpc, bpdu, udp, mdns, llmnr, ssdp,

Ports Enabled:

1:1(0/157) 1:2(1/157) 1:3(1/157) 1:4(0/157) 1:5(0/157) 1:6(0/157)

1:7(1/157) 1:8(0/157) 1:9(2/157) 1:10(2/157) 1:11(2/157) 1:12(0/157)

1:13(0/157) 1:14(8/157) 1:15(0/157) 1:16(0/157) 1:17(1/157) 1:18(1/157)

1:19(2/157) 1:20(0/157) 1:21(0/157) 1:22(0/157) 1:23(2/157) 1:24(0/157)

1:25(2/157) 1:26(0/157) 1:27(0/157) 1:28(0/157) 1:29(0/157) 1:30(0/157)

1:31(0/157) 1:32(0/157) 1:33(0/157) 1:34(0/157) 1:35(0/157) 1:36(0/157)

1:37(0/157) 1:38(0/157) 1:39(0/157) 1:40(0/157) 1:41(0/157) 1:42(0/157)

1:43(0/157) 1:44(0/157) 1:45(0/157) 1:46(17/157) 1:47(0/157) 1:48(150/157)

1:49(0/157) 1:50(0/157) 1:51(0/157) 1:52(0/157) 2:1(1/157) 2:2(0/157)

2:3(2/157) 2:4(0/157) 2:5(4/157) 2:6(0/157) 2:7(1/157) 2:8(4/157)

2:9(3/157) 2:10(0/157) 2:11(1/157) 2:12(1/157) 2:13(0/157) 2:14(1/157)

2:15(0/157) 2:16(0/157) 2:17(2/157) 2:18(1/157) 2:19(7/157) 2:20(0/157)

2:21(7/157) 2:22(1/157) 2:23(9/157) 2:24(0/157) 2:25(2/157) 2:26(0/157)

2:27(0/157) 2:28(0/157) 2:29(2/157) 2:30(0/157) 2:31(1/157) 2:32(3/157)

2:33(2/157) 2:34(0/157) 2:35(1/157) 2:36(0/157) 2:37(0/157) 2:38(0/157)

2:39(5/157) 2:40(1/157) 2:41(0/157) 2:42(5/157) 2:43(2/157) 2:44(1/157)

2:45(0/157) 2:46(3/157) 2:47(0/157) 2:48(157/157) 2:49(0/157) 2:50(0/157)

2:51(0/157) 2:52(0/157)



I'm interested in port 1:39 which shows no aliases. Anything missing?
Userlevel 7
"show nodealias" shows the config for nodealias.

If you'd like to check port details use "show nodealias ports all" or for one port "show nodealias ports 1:39"
Userlevel 4
You can also try "show nodealias mac ".
@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39
Userlevel 7
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

please do a "show ports 1:39 no" and post the output.

You'd see in the "show nodealias" output that you've posted that the port 1:39 has no entry for nodealias = 1:39(0/157) = the 0 = no entry, other ports are fine
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

Port Summary
Port Display VLAN Name Port Link Speed Duplex
# String (or # VLANs) State State Actual Actual
========================================================================
1:39 (0002) E A 1000 FULL
========================================================================
Port State: D-Disabled, E-Enabled, F-Disabled by link-flap detection,
L-Disabled due to licensing
Link State: A-Active, R-Ready, NP-Port not present, L-Loopback,
D-ELSM enabled but not up
d-Ethernet OAM enabled but not up[/code]
Userlevel 7
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

"sh sharing" please
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

Load Sharing Monitor
Config Current Agg Min Ld Share Dist Ld Share Agg Link Link Up
Master Master Control Active Algorithm Flags Group Mbr State Transitions
================================================================================
1:48 1:48 LACP 1 L3_L4 A 1:48 Y A 0
L3_L4 2:48 Y A 0
================================================================================
Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback
Minimum Active: (<) Group is down. # active links less than configured minimum
Load Sharing Algorithm: (L2) Layer 2 address based, (L3) Layer 3 address based
(L3_L4) Layer 3 address and Layer 4 port based
(custom) User-selected address-based configuration
Custom Algorithm Configuration: ipv4 L3-and-L4, xor
Distribution Flags:
A - All: Distribute to all members,
L - Local Slot: Distribute to members local to ingress slot,
P - Port Lists: Distribute to per-slot configurable subset of members,
R - Resilient Hashing enabled.
Number of load sharing trunks: 1

Port 1:39 is a DMZ port (if this would help)
Userlevel 7
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

and "show fdb ports 1:39"
Mateusz Haba wrote:

@Ronald - that clarifies much but still can't see any IP/MAC while giving:

show nodealias port 1:39

Mac Vlan Age Flags Port / Virtual Port List
--------------------------------------------------------------------------------
d8:9e:f3:05:04:2d DMZ(100) 0055 nd m v 1:39

Flags : d - Dynamic, s - Static, p - Permanent, n - NetLogin, m - MAC, i - IP,
x - IPX, l - lockdown MAC, L - lockdown-timeout MAC, M- Mirror, B - Egress Blackhole,
b - Ingress Blackhole, v - MAC-Based VLAN, P - Private VLAN, T - VLAN translation,
D - drop packet, h - Hardware Aging, o - IEEE 802.1ah Backbone MAC,
S - Software Controlled Deletion, r - MSRP,
X - VXLAN, Z - OpenFlow

Total: 133 Static: 0 Perm: 0 Dyn: 133 Dropped: 0 Locked: 0 Locked with Timeout: 0
FDB Aging time: 300

* X440-19 # show nodealias mac d8:9e:f3:05:04:2d
Port MAC Address Alias ID Time Last Learned VID Protocol Source IP
----- ----------------- ---------- ------------------- ---- -------- ---------------

Reply