キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
926
閲覧回数
10
いいね!
0
コメント
Namiko Anzai
Cisco Employee
Cisco Employee

 

 

はじめに

本ドキュメントでは、Cisco Digital Network Architecture Center (DNA Center) 上で AireOS Wireless LAN Controller (WLC) を Provision する際の注意点とトラブルシューティングを紹介します。
DNA Center 側のログから確認できる、WLC Provision 時に出力されるログメッセージも記載していますので、WLC の Provision に失敗する際のトラブルシューティング資料として使用ください。

 

 

Provision の実行

DNA Center の Inventory にある WLC デバイスを Provision することによって、デバイスが物理的に設置されている場所 (Site) に割り当てられます。
その際、ネットワークの設定 (AAA, DHCP, DNS サーバ, SSID, 管理サイトのグローバル設定) がデバイスにプッシュされ、Site に割り当てられた WLAN (WLAN ID は 17 より大きい) が作成されます。


DNA Center > PROVISION > Inventory でデバイスを選択し、Actions から Provision を実行します。
Provision が成功すると、Provision Status が Success となります。

Screen Shot 2019-12-27 at 17.30.51.png

 

 

Provision が失敗する

Provision が失敗すると、Provision Status が Failed となります。

Screen Shot 2019-12-27 at 17.26.58.png

 

i アイコンにカーソルを合わせると、以下のようにエラー内容が確認できます。

Screen Shot 2019-12-27 at 17.30.27.png

 

上記ページで See Details をクリックすると、以下のような履歴が確認できます。

Screen Shot 2019-12-27 at 17.33.33.png

 

上記ページで Failed の See Details をクリックすると、以下のようにどこで Provision が失敗しているか分かります。

Screen Shot 2019-12-27 at 17.33.54.png

 

更に上記で Failed の View Details をクリックすると、以下のように詳細情報が確認できます。

Screen Shot 2019-12-27 at 17.36.04.png

 

Provision が失敗した場合は、まず上記全てのエラー内容を確認します。
それでも問題が特定できない場合は、下記「Provision 時に出力されるログ」を確認してください。

 

 

Provision 時に出力されるログ

Provision 時に問題が発生したときは、以下のログを確認します。

  • apic-em-network-programmer-service
  • apic-em-inventory-manager-service
  • collector-agent
  • collector-snmp
  • collector-cli
  • wirelesscollector
  • network-validation-service
  • network-programmer-service

以下、Inventory に追加 → Provision のフローにおける、それぞれのログ出力例と、キーワードを赤字でマークして紹介しています。
(※ このログは DNA Center version 1.2.12.2 で取得しており、version によって動作が変わる可能性があります。)


WLC 情報補足:

  • Device Type: Cisco 5520 Series Wireless Controllers
  • Software version: 8.9.100.0
  • IP Address: 192.168.3.9

Discovery については、ドキュメント: DNA Center で AireOS WLC を Discovery する際の注意点とトラブルシューティング を確認ください。

 

ポイント:

 


apic-em-network-programmer-service
:

{"log":"[2019-12-25 07:51:38,200] [SimpleAsyncTaskExecutor-6] [ProvisionFeatureMessageHelper] [INFO ] - Am I the owner of deviceId 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc Device IP 192.168.3.9 - true\n","stream":"stdout","time":"2019-12-25T07:51:38.200803993Z"}
{"log":"[2019-12-25 07:51:38,202] [SimpleAsyncTaskExecutor-11] [ShardOwnerValidator] [INFO ] - Device: 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc is owned by this instance of Network Programmer service\n","stream":"stdout","time":"2019-12-25T07:51:38.202475904Z"}

{"log":"[2019-12-25 07:51:49,234] [SimpleAsyncTaskExecutor-5] [NPUtil] [INFO ] - Successfully acquired lock for device: 192.168.3.9\n","stream":"stdout","time":"2019-12-25T07:51:49.234596523Z"}

{"log":"[2019-12-25 07:51:49,235] [SimpleAsyncTaskExecutor-5] [ProvisioningNotificationPublisher] [INFO ] - Sending ProvisioningStartNotification for deviceUUID 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc ,deviceIp 192.168.3.9 , featureName

{"log":"[2019-12-25 07:51:53,140] [SimpleAsyncTaskExecutor-5] [NPUtil] [INFO ] - Lock for device: 192.168.3.9 was successfully released\n","stream":"stdout","time":"2019-12-25T07:51:53.14028424Z"}

WLC の IP Address: 192.168.3.9 から検索して、WLC デバイスの uuid が 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc であることが分かります。 



apic-em-inventory-manager-service:

{"log":"[2019-12-25 07:51:49,238] [SimpleAsyncTaskExecutor-5] [ProvisioningStartNotificationHandler] [INFO ] - Provisioning started on device 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature radiusAuthenticationServer,radiusAccountingServer,wlaninterface,wlaninterface\n","stream":"stdout","time":"2019-12-25T07:51:49.238750177Z"}

{"log":"[2019-12-25 07:51:53,331] [SimpleAsyncTaskExecutor-1] [ProvisioningCompleteNotificationHandler] [INFO ] - Provisioning complete on device 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature radiusAuthenticationServer,radiusAccountingServer,wlaninterface,wlaninterface with status SUCCESS\n","stream":"stdout","time":"2019-12-25T07:51:53.331659003Z"}



collector-agent:

{"log":"{\"level\":\"info\",\"msg\":\"New config ADD received. Name: collector-snmp, Namespace: com.cisco.tesseract, Version: 0.7.0, ReqId: f0804e39-3e09-47f2-a464-b0448f27ab30:0, CfgID: f0804e39-3e09-47f2-a464-b0448f27ab30, Dev: 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc\",\"packagename\":\"agent-config\",\"time\":\"2019-12-25T07:52:16Z\"}\n","stream":"stdout","time":"2019-12-25T07:52:16.082968159Z"}
{"log":"{\"level\":\"info\",\"msg\":\"Received Config ADD. Name: wirelesscollector, Namespace: com.cisco.tesseract, Version: 0.7.0, ReqId: 99bd9c55-0071-45f6-a459-7e81360e78a8:0, CfgID: 99bd9c55-0071-45f6-a459-7e81360e78a8, DevId: 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc\",\"packagename\":\"agent-config\",\"time\":\"2019-12-25T07:52:16Z\"}\n","stream":"stdout","time":"2019-12-25T07:52:16.084019402Z"}
{"log":"{\"level\":\"info\",\"msg\":\"Received Config ADD. Name: collector-cli, Namespace: com.cisco.tesseract, Version: 0.7.0, ReqId: 714fb4c2-f717-46b5-aa07-bb6524d664cc:0, CfgID: 714fb4c2-f717-46b5-aa07-bb6524d664cc, DevId: 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc\",\"packagename\":\"agent-config\",\"time\":\"2019-12-25T07:52:16Z\"}\n","stream":"stdout","time":"2019-12-25T07:52:16.084917776Z"}

collector-agent (Assurance のサービス) が collector-snmp, wirelesscollector, collector-cli に対して Config Add を検知していることが分かります。
そのため、collector-snmp, wirelesscollector, collector-cli のサービスログ内でも Provision が検知されていますが、各ログ内のメッセージについてはここでは省略します。



network-validation-service:

{"log":"2019-12-25 07:51:54,406 |   INFO | work-validation-service-1 |  | c.c.e.v.vs.controller.SDAValidation | Validation called for device 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc, bindinguuid f32bb8ba-26b2-4bd9-bfee-06195045191a, validationResultUuid 19d1c747-a698-4aff-9fe4-1fc0c333f1f2 | \n","stream":"stdout","time":"2019-12-25T07:51:54.406709083Z"}

{"log":"2019-12-25 07:51:54,655 |   INFO | Thread-49279              |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/0 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Image Type : Result - Passed |

{"log":"2019-12-25 07:51:54,785 |   INFO | Thread-49280              |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/1 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Software Version : Result - Passed |

{"log":"2019-12-25 07:51:54,904 |   INFO | Thread-49281              |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/2 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Loopback Interface check : Result - Passed | 

{"log":"2019-12-25 07:51:55,022 |   INFO | Thread-49282              |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/3 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Software License : Result - Passed | 

{"log":"2019-12-25 07:51:55,151 |   INFO | Thread-49283              |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/4 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Hardware Version : Result - Passed | 

{"log":"2019-12-25 07:51:55,427 |   INFO | work-validation-service-1 |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/6 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Existing configuration check : Result - Passed | \n","stream":"stdout","time":"2019-12-25T07:51:55.428202167Z"}

{"log":"2019-12-25 07:51:57,580 |   INFO | work-validation-service-3 |  | c.c.e.v.vs.verification.CoreEngine | VerificationID/FeatureID 141/5 : End of verification on device WLC5520 - 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc for feature Connectivity checks : Result - Passed | \n","stream":"stdout","time":"2019-12-25T07:51:57.580354096Z"}



network-programmer-service:

[2019-12-25 07:51:49,851] [SimpleAsyncTaskExecutor-7] [ProvisionFeatureMessageHelper] [INFO ] - deviceUUID- 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc
[2019-12-25 07:51:50,003] [Config - CPU 5] [config] [INFO ] - MBCID 7. Device MBCID 7. Device:3321319 number of configuration blocks 44
[2019-12-25 07:51:50,006] [Config - CPU 5] [config] [INFO ] - MBCID 7. Starting deploy for device MBCID 7. Device:3321319
 minimal configuration
<Configuration><!--config aaa auth mgmt local radius
config radius auth add 1 192.168.2.11 1812 ascii password
config radius auth disable 1
config radius auth retransmit-timeout 1 2
config radius auth rfc3576 enable 1
config radius auth enable 1
config radius acct add 1 192.168.2.11 1813# ascii password
config wlan create 17  'pod1-wlan_Global_F_xxxxx4fd' 'pod1-wlan'
config wlan broadcast-ssid enable 17
config wlan qos 17 platinum
config wlan security wpa disable 17
config wlan aaa-override enable 17
config wlan security ft adaptive enable 17
config wlan radio 17 all
config wlan interface 17 management
config wlan avc  17 visibility enable
config wlan ccx aironetIeSupport disable 17
config wlan dhcp_server 17  0.0.0.0
config wlan band-select allow disable 17
#INTERACTIVE
config qos fastlane disable 17<SF><IQ>(y/N)<R>y
#ENDS_INTERACTIVE
config wlan flexconnect local-switching 17 disable
config wlan profiling local all enable 17
config wlan disable 17
config wlan create 18  'wlancisco_Global_F_xxxxxaad' 'wlancisco'
config wlan broadcast-ssid enable 18
config wlan qos 18 silver
config wlan aaa-override enable 18
config wlan security ft adaptive enable 18
config wlan security wpa akm psk disable 18
config wlan security wpa akm 802.1x enable 18
config wlan radio 18 all
config wlan interface 18 management
config wlan avc  18 visibility enable
config wlan ccx aironetIeSupport disable 18
config wlan dhcp_server 18  0.0.0.0
config wlan band-select allow disable 18
#INTERACTIVE
config qos fastlane disable 18<SF><IQ>(y/N)<R>y
#ENDS_INTERACTIVE
config wlan flexconnect local-switching 18 disable
config wlan profiling local all enable 18
config wlan disable 18

[2019-12-25 07:56:36,050] [SimpleAsyncTaskExecutor-11] [ProvisionFeatureMessageHelper] [INFO ] - resultMap {192.168.3.9=SUCCESS :::configlet: config logging syslog host 192.168.1.10 config logging syslog level 2 response: <result><iosRequest><![CDATA[config logging syslog host 192.168.1.10 config logging syslog level 2 ]]></iosRequest><iosResult><![CDATA[config logging syslog host 192.168.1.10 Unable to add 192.168.1.10 to syslog host list. Host already configured. (Cisco Controller) >config logging syslog level 2 (Cisco Controller) >]]></iosResult><parserOutput/></result> Protocol Used:ssh2 Result:Copying running to startup : Successful null}

config radius auth XXX/config wlan create XXX 等は、WLC にプッシュされるコマンドです。
WLC にプッシュされるコマンドとその確認方法については、ドキュメント: DNAC: AireOS デバイスへプッシュされるコマンドの確認例 を参照ください。

 

 

参考ドキュメント


 

 

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします