シスコサポートコミュニティ
キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

NGWC (IOS-XE)での無線クライアント基本トレース

AireOSでの無線クライアント接続に関する基本 debugは debug client <Client MAC Address> ですが、5760等の NGWC(Next Generation Wireless Controller)は IOS-XEベースですので debugよりも traceを用いたログ取得が中心になります。

 

無線クライアント接続に関する基本 traceをセットにしたものが group-wireless-secure で、以下が代表的な使用例です。問題解析の際は、必要に応じて他の traceや debugを追加取得します。

 

WLC5760#
WLC5760#set trace control sys-filtered-traces clear    (system-filtered-tracesバッファをクリア)
WLC5760#set trace control sys-filtered-traces buffer-size 4000000 (バッファ・サイズを 4MBに設定)
WLC5760#set trace group-wireless-secure filter mac 0040.96b3.1675 (フィルタ対象クライアントの MACアドレスを指定)
WLC5760#set trace group-wireless-secure level debug  (トレース・レベルを debugに設定)
WLC5760#
WLC5760#
WLC5760#show trace settings group-wireless-secure (Levelが debugであることを確認)
Buffer Properties:

Feature-Name (group-wireless-secureに含まれる trace種別)                          Size        Level       
--------------------------------------------------------------------------------------------------------
aaa                                                                               32768       debug       
access-session/core/sm/client/dot11                                               0           debug       
access-session/core/sm/client/spi                                                 0           debug       
access-session/core/sm/sync                                                       0           debug       
access-session/method/dot1x                                                       0           debug       
dhcp/events                                                                       0           debug       
dot11/mobile                                                                      0           debug       
dot11/state                                                                       0           debug       
iosd-wcdb/wcdb                                                                    0           debug       
pem/event                                                                         0           debug       
pem/state                                                                         0           debug       
security/dhcpsn                                                                   0           debug       
wcm-dot1x/aaa                                                                     0           debug       
wcm-dot1x/event                                                                   0           debug       

<以下、コマンド出力省略>

WLC5760#
WLC5760#!!!! クライアント接続実行
WLC5760#
WLC5760#
WLC5760#show trace sys-filtered-traces (フィルタされたトレースの表示)
[10/23/14 21:19:28.308 JST 1 8170] 0040.96b3.1675 Adding mobile on LWAPP AP  34a8.4eba.0cf0 (0) 
[10/23/14 21:19:28.308 JST 2 8170] 0040.96b3.1675 Association received from mobile on AP  34a8.4eba.0cf0 
[10/23/14 21:19:28.308 JST 3 8170] 0040.96b3.1675 qos upstream policy is unknown and downstream policy is unknown
[10/23/14 21:19:28.308 JST 4 8170] 0040.96b3.1675 apChanged 0 wlanChanged 0 mscb ipAddr 0.0.0.0, apf RadiusOverride 0x0, numIPv6Addr=0
[10/23/14 21:19:28.308 JST 5 8170] 0040.96b3.1675 Applying WLAN policy on MSCB.
[10/23/14 21:19:28.308 JST 6 8170] 0040.96b3.1675 Applying WLAN ACL policies to client
[10/23/14 21:19:28.308 JST 7 8170] 0040.96b3.1675 No Interface ACL used for Wireless client in WCM(NGWC)
[10/23/14 21:19:28.308 JST 8 8170] 0040.96b3.1675 Applying site-specific IPv6 override for station  0040.96b3.1675  - vapId 1, site 'default-group', interface 'VLAN2422'
[10/23/14 21:19:28.308 JST 9 8170] 0040.96b3.1675 Applying local bridging Interface Policy for station  0040.96b3.1675  - vlan 2422, interface 'VLAN2422'
[10/23/14 21:19:28.308 JST a 8170] 0040.96b3.1675 STA - rates (8): 2 4 11 12 18 22 24 36 0 0 0 0 0 0 0 0
[10/23/14 21:19:28.308 JST b 8170] 0040.96b3.1675 STA - rates (12): 2 4 11 12 18 22 24 36 48 72 96 108 0 0 0 0
[10/23/14 21:19:28.308 JST c 8170] 0040.96b3.1675 Processing RSN IE type 48, length 38 for mobile  0040.96b3.1675 
[10/23/14 21:19:28.308 JST d 8170] 0040.96b3.1675 new capwap_wtp_iif_id 463cc00000000a, sm capwap_wtp_iif_id 0
[10/23/14 21:19:28.308 JST e 8170] 0040.96b3.1675 WCDB_ADD: Platform ID allocated successfully ID:11
[10/23/14 21:19:28.308 JST f 8170] 0040.96b3.1675 WCDB_ADD: Adding opt82 len 0
[10/23/14 21:19:28.308 JST 10 8170] 0040.96b3.1675 WCDB_ADD: ssid ngwc-test bssid 34a8.4eba.0cf0 vlan 2422 auth=ASSOCIATION(0) wlan(ap-group/global) 1/1 client 0 assoc 1 mob=Unassoc(0) radio 0 m_vlan 2422 ip 0.0.0.0 src 0x463cc00000000a dst 0x0 cid 0x68388000000018 glob rsc id 11dhcpsrv  0.
[10/23/14 21:19:28.308 JST 11 8170] 0040.96b3.1675 Change state to AUTHCHECK (2) last state START (0)

[10/23/14 21:19:28.308 JST 12 8170] 0040.96b3.1675 Change state to 8021X_REQD (3) last state AUTHCHECK (2)

[10/23/14 21:19:28.308 JST 13 8170] 0040.96b3.1675 Not Using WMM Compliance code qosCap 00
[10/23/14 21:19:28.309 JST 14 8170] 0040.96b3.1675 apfMsAssoStateInc
[10/23/14 21:19:28.309 JST 15 8170] 0040.96b3.1675 apfPemAddUser2 (apf_policy.c:204) Changing state for mobile  0040.96b3.1675  on AP  34a8.4eba.0cf0  from Idle to Associated

<以下、トレース出力省略>


WLC5760#
WLC5760#show trace sys-filtered-traces | redirect ftp://ftp-user:password@172.17.122.1/wlan-client-trace.txt
Writing wlan-client-trace.txt  (showコマンドの出力結果を TFTP/FTPサーバへ直接アップロードできます)
WLC5760#
WLC5760#!!!!! ログ取得完了後はトレース設定を元に戻します。
WLC5760#
WLC5760#set trace group-wireless-secure level default  (トレース・レベルをデフォルトに)
WLC5760#set trace group-wireless-secure filter none    (フィルタを解除)
WLC5760#set trace control sys-filtered-traces buffer-size default (バッファ・サイズをデフォルトに)
WLC5760#
WLC5760#show trace settings group-wireless-secure  (トレース・レベルがデフォルトの warningになっていることを確認)
Buffer Properties:


Feature-Name                                                                      Size        Level       
--------------------------------------------------------------------------------------------------------
aaa                                                                               32768       warning     
access-session/core/sm/client/dot11                                               0           warning     
access-session/core/sm/client/spi                                                 0           warning     
access-session/core/sm/sync                                                       0           warning     
access-session/method/dot1x                                                       0           warning     
dhcp/events                                                                       0           warning     
dot11/mobile                                                                      0           warning     
dot11/state                                                                       0           warning     
iosd-wcdb/wcdb                                                                    0           warning     
pem/event                                                                         0           warning     
pem/state                                                                         0           warning     
security/dhcpsn                                                                   0           warning     
wcm-dot1x/aaa                                                                     0           warning     
wcm-dot1x/event                                                                   0           warning     


 

 

IOS-XEでの debug clientの取得例は以下で情報量は traceより少なくなります。参考情報として traceと共に取得します。

WLC5760#
WLC5760#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
WLC5760(config)#no logging console
WLC5760(config)#end
WLC5760#
*Oct 23 13:11:25.965: %SYS-5-CONFIG_I: Configured from console by vty0 (172.17.122.1)
WLC5760#
WLC5760#terminal monitor
WLC5760#
WLC5760# 
WLC5760#
WLC5760#debug client mac-address 0040.96b3.1675
WLC5760#show debug

Nova Platform:
	dot11/state debugging is on 
	pem/events debugging is on 
	ft/events debugging is on 
	client/mac-addr debugging is on 
	dot11/detail debugging is on 
	mac/ filters[string 0040.96b3.1675] debugging is on 
	dot11/error debugging is on 
	dot11/mobile debugging is on 
	pem/state debugging is on 


WLC5760#
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: Processing assoc-req station: 0040.96b3.1675  AP: 34a8.4eba.0cf0 -01 thread:-111853960
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Adding mobile on LWAPP AP  34a8.4eba.0cf0 (1) 
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675  Creating WL station entry for client -  rc 0
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Association received from mobile on AP  34a8.4eba.0cf0 
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 qos upstream policy is unknown and downstream policy is unknown
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 apChanged 0 wlanChanged 0 mscb ipAddr 0.0.0.0, apf RadiusOverride 0x0, numIPv6Addr=0
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Applying WLAN policy on MSCB.
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Applying WLAN ACL policies to client
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 No Interface ACL used for Wireless client in WCM(NGWC)
*Oct 23 12:52:22.176: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Applying site-specific IPv6 override for station  0040.96b3.1675  - vapId 1, site 'default-group', interface 'VLAN2422'
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 WCDB_IP_BIND: w/ IPv4 172.17.122.18 ip_learn_type ARP add_delete 1,options_length 0
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 WcdbClientUpdate: IP Binding from WCDB ip_learn_type 2, add_or_delete 1
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 IPv4 Addr: 172:17:122:18 
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 MS got the IP, resetting the Reassociatishow wireless client summaryon Count 0 for client
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Session start(Session Push) for dot1x/open client. iifid: 77d24000000008 capwap id: 53c90000000002 old capwap id:0 
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 Change state to RUN (20) last state DHCP_REQD (7) 
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 WCDB_CHANGE: Client 1 vlan 2422 m_vlan 2422 Radio iif id 0x72dc8000000004 bssid iif id 0x62c10000000005, bssid 34a8.4eba.0cf0
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 WCDB_AUTH: Adding opt82 len 0
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 WCDB_LLM: prev Mob state 1 curr Mob State 1 llReq flag 0
*Oct 23 12:52:30.905: %IOSXE-7-PLATFORM: 1 process wcm: 0040.96b3.1675 auth state 4 mob state 1 setWme 0 wme 1 roam_sent 0 
WLC5760#
WLC5760#
WLC5760#undebug all
All possible debugging has been turned off
WLC5760#

 

 

 

462
閲覧回数
0
いいね!
0
コメント