Find Access Points plugged into Extreme switch

  • 0
  • 1
  • Question
  • Updated 4 years ago
A Cisco switch can utilize CDP (with a probe/mib) to identify Cisco APs and the switch port they are plugged into. How can I accomplish that with Extreme?
Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Doug Hyde

Doug Hyde, Technical Support Manager

  • 20,192 Points 20k badge 2x thumb
Which Extreme products are you using?

-Doug
Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Big variety. I'll probably miss one or two, but...
670's & 450's as AGG switches, but most of the edge are Summitt 460, 440, 250... various code versions. (working on getting them consistent) Some PoE, most not. Some stacked, some not.
For the sake of simplicity, Let's pick one. X250e-48t 12.6.3.2 patch1-9, stack of two.

Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Other AP's, like Aruba, would also be sought.
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
You can write UPM script to detect the AP on Extreme device. Below is small example.

IF (($MATCH($(EVENT.NAME) , DEVICE-DETECT) ==0 )) &&  (($MATCH ($(EVENT.DEVICE_MODEL) , AP8132) == 0) || ($MATCH ($(EVENT.DEVICE_MODEL) , AP7131) == 0) || ($MATCH ($(EVENT.DEVICE_MODEL) , AP6511) == 0))

 Configure vlan vl-wifi-cntrl add port $EVENT.USER_PORT

Configure vlan vl-wifi-01 add port $EVENT.USER_PORT tagged 

Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Oh goody! A term I don't know and something new to learn!
Googled "UPM script", not much help. Can you point me in the right direction?
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
http://extrcdn.extremenetworks.com/wp-content/uploads/2014/01/EXOS_Concepts_Guide_15_4.pdf

Please refer the above document for more information about the UPM script.
Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Blank. Logged in and still blank. Not a bad link, just nothing. Turned out to be a FireFox issue. Came up fine in Chrome. Thank you. Off to studying....
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
Configure the device detect trigger(UPM) on port where you gone connect the AP or any device. Once you connect any device on that port, it will trigger the UPM device-detect event and check the script. You would specify the device model name in script to match it and take the action accordingly. You have to write script depending upon your convenience, as shown below,

IF (($MATCH($(EVENT.NAME) , DEVICE-DETECT) ==0 )) &&  (($MATCH ($(EVENT.DEVICE_MODEL) , AP8132) == 0) || ($MATCH ($(EVENT.DEVICE_MODEL) , AP7131) == 0) || ($MATCH ($(EVENT.DEVICE_MODEL) , AP6511) == 0))

 Configure vlan vl-wifi-cntrl add port $EVENT.USER_PORT

Configure vlan vl-wifi-01 add port $EVENT.USER_PORT tagged



 

Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Other than the fact that I need UPM-101, how is the device name determined? Does it probe the device or does the device broadcast an ID? How would I determine the device name?
Example: Cisco 1142N, Cisco 1602i, Aruba 105, Aruba 125 (all access points)
Since I have no idea what ports the devices are plugged into (hence the original need) how would I trigger testing all existing ports? Reboot the switch?

Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
UPM will use  LLDP TLV's to detect the device. 

You should know what information Cisco AP would send in LLDP packets and match that information in UPM script to detect the device.

You could apply the UPM script on all the ports, if you are not aware on which port the AP has been connected.
Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
Just so much more complicated than it seems it should be. For the most part, I like Extreme, but there are some commands that are either too cumbersome or just downright missing (compared to competition). Or, it could be, of course, that I simply don't know what I am doing.
Is there no equivalent to "sh cdp neighbor"? "sh edp" simply gives a list of ports. I would have at least expected to see the other Extreme switch it is connected to.
[Okay, a little off topic, but related.]

Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
It's very simple to detect or dynamically modify the configuration if you are familiar with UPM script.

CDP is propriety protocol by Cisco which can detect the neighbouring devices that can supports the CDP. In EXOS 15.4, we got the license for CDP protocol (Version 1) and therefore you can run below command on extreme device to search other device that supports CDP.

SW3.5 # show cdp neighbor detail


However, all EXOS software does supports EDP protocol to find the neighbouring Extreme device as shown below,

SW3.6 # show edp port all
Port   Neighbor                       Neighbor-ID         Remote  Age    Num
                                                           Port         Vlans
=============================================================================
2      SW2                       00:00:00:04:96:8b:ef:73   1:2    2      2
10     X440-24t                  00:00:00:04:96:8b:f0:26   1:10   16     2
=============================================================================
SW3.7 #




Photo of Randy Middleton

Randy Middleton

  • 406 Points 250 badge 2x thumb
So I have to upgrade to 15.4 for this to work. (Noticed that was the 'doc' you sent, but didn't realize it was a minimum requirement.) Regardless, you are saying the UPM should work on the code version originally listed? or not?  X250e-48t 12.6.3.2 patch1-9
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
Yes, UPM should work on EXOS 12.6. 

As I have mentioned above we are started supporting CDP from EXOS 15.4.

However, the X250/X350/X450 doesn't support 15.4 software version as they are lower end switches.