Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Jakob-AHHG
Contributor II

How do I get a list of BSSID's pr. Access Point?

Hi All,

I would like to get a list of all the BSSID's on a FortiGate, with the name of the AP it's assosiated with, so in essens a list like:

AP1,BSSID1

AP1,BSSID2

AP1,BSSIDn

AP2,BSSID1

AP2,BSSID2

AP2,BSSIDn

etc..

 

Is there a way to do that, seems like CLI is needed, or do I look in the wrong place in GUI?

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
8 REPLIES 8
Jakob-AHHG
Contributor II

Seems like the diagnose command can give some of it, but it then has to be merged from several commands.. 

NYB-HX-FG01 # diagnose wireless-controller wlac -d wtp
vf=0 mpId=0 wtp=11 id=NYB-AP-BaghusUdlejere base=00:0c:e6:df:b2:70 10.11.7.11:35506(63)<->10.11.7.1:5247 use=7 10.11.7.11:5246
vf=0 mpId=0 wtp=14 id=NYB-AP-ITKontor base=84:39:8f:15:c2:48 10.11.7.12:52817(63)<->10.11.7.1:5247 use=10 10.11.7.12:5246
vf=0 mpId=0 wtp=43 id=NYB-AP-02 base=74:78:a6:b8:e6:30 10.11.7.24:38028(63)<->10.11.7.1:5247 use=11 10.11.7.24:5246

And:

NYB-HX-FG01 # diagnose wireless-controller wlac -d vap
vf=0 mpId=0 wtp=43 wlan=N/A bssid=74:78:a6:b8:e6:40 tun=00 in_kern=0 lan=0 vlan_id=0 monitor=1 igmp_snooping=0 mcgrp_num4=0 mc_discard4=0 mcgrp_num6=0 mc_discard6=0 idx=0 use=3
vf=0 mpId=0 wtp=43 wlan=flexAHHG bssid=74:78:a6:b8:e6:38 tun=01 in_kern=1 lan=0 vlan_id=11 monitor=0 igmp_snooping=0 mcgrp_num4=0 mc_discard4=0 mcgrp_num6=0 mc_discard6=0 idx=0 use=9
vf=0 mpId=0 wtp=43 wlan=flexAHHG bssid=74:78:a6:b8:e6:30 tun=01 in_kern=1 lan=0 vlan_id=11 monitor=0 igmp_snooping=0 mcgrp_num4=0 mc_discard4=0 mcgrp_num6=0 mc_discard6=0 idx=0 use=7

wlan=N/A seems to be Hidden SSID's.. why does the CLI hide it.. I wonder..  

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
AEK
SuperUser
SuperUser

Hi Jacob

Additionally to the above, you can try one of these if they suit you.

diagnose wireless-controller wlac_hlp -c wlan
diagnose wireless-controller wlac -c vap

 

AEK
AEK
Jakob-AHHG

Ohhhh... 

diagnose wireless-controller wlac -c vap

is sooooooo close, but list the FortiAp Serialnumber, not the Name of the unit.. but that could be remedied in an Excel sheet.. 

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob-AHHG
Contributor II

Getting the AP Name along with the serialnumber, can be done via:

config wireless-controller wtp
show | grep 'edit\|set name\|next'

It can propably be done in a nicer output, and then merge it with 

dagnose wireless-controller wlac -c vap

but it's a start..

 

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob-AHHG
Contributor II

For those wondering why, I need that data, it's to show the Names of the AP's in wireless site surveys, making it much easier to see what AP's are covering what areas:

 

NetSpot Survey with AP Names.png

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
AEK

Nice job!

AEK
AEK
Toshi_Esumi

Wouldn't it accomplish the same thing if you assign an unique SSID to each AP? I know, of course, it requires more config.

Toshi

Jakob-AHHG

Nope.
Each AP has a BSSID pr. radio pr. SSID, so that would not help.
So, if you have 3 SSID's on two radios, you have 6 BSSID's pr. AP.
I can ignore all-but-one SSID in the survay map, as they will all have the same radio profile  set, unless one is 2.4GHz and another is 5GHz-only.. but you will still have a BSSID pr. radio pr. AP.

Jakob Peterhänsel,
IT System Admin,
Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Jakob Peterhänsel,IT System Admin,Arp-Hansen Hotrel Group A/S, Copenhagen, DK
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors