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

 

 

はじめに

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

 

 

Discovery の条件

Discovery は、デバイスを DNA Center の Inventory に追加するために行います。
Discovery を実施する際は、以下のプロトコル/ポートで通信できる必要があります。
(※ オプションとして telnet を選択することもできますが、推奨していません。)

ping ICMP echo and reply
ssh TCP port 22
snmp poll UDP port 161

 

 

Discovery の実行

DNA Center > Tools > Discovery から Discovery Type: {CDP | (IP Address) Range | LLDP} のいずれかを指定して、Discovery を実行します。成功すると、以下のように検知されたデバイス数が表示され、Completed のステータスとなります。

Screen Shot 2019-12-26 at 17.09.28.png

 

上記と同じページの右側に、検出したデバイスのリストと、各ステータスが表示されます。

Screen Shot 2019-12-26 at 17.09.41.png

 

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

 

 

Discovery 時に出力されるログ

Discovery 時に問題が発生したときは、inventory-manager-service と network-programmer-service のログを確認します。
以下、それぞれのログ出力例と、キーワードを赤字でマークして紹介しています。
(※ このログは 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


inventory-manager-service:

{"log":"[2019-12-25 07:47:10,512] [EvalTask-DiscoveryThreadPool-02] [discovery] [INFO ] - TRACE: [PingSweepDiscoveryModule : \u003cclinit\u003e : discoveryPooledTaskScheduler-1: 71: About to ping the list [size=1]: [192.168.3.9]].\n","stream":"stdout","time":"2019-12-25T07:47:10.513295835Z"}

{"log":"[2019-12-25 07:47:10,514] [EvalTask-DiscoveryThreadPool-02] [discovery] [INFO ] - TRACE: [RunCommand : \u003cinit\u003e : discoveryPooledTaskScheduler-1: 52: Full command for FPing:[/opt/maglev/services/apic-em-inventory-manager-service/7.1.31.60019/discovery/bin//linuxfping   -t 1000 -r 1  192.168.3.9 ]].\n","stream":"stdout","time":"2019-12-25T07:47:10.514421073Z"}

{"log":"[2019-12-25 07:47:10,674] [EvalTask-DiscoveryThreadPool-02] [discovery] [INFO ] - TRACE: [PingSweepDiscoveryModule : \u003cclinit\u003e : discoveryPooledTaskScheduler-1: 71: After  ping, the device list is  [size=1]: [192.168.3.9]].\n","stream":"stdout","time":"2019-12-25T07:47:10.674395821Z"}

{"log":"[2019-12-25 07:47:10,746] [Thread-33890] [discovery] [INFO ] - INFO: [DeviceManager : \u003cinit\u003e : discoveryPooledTaskScheduler-1: 62:  : |192.168.3.9|Adding New Device].\n","stream":"stdout","time":"2019-12-25T07:47:10.746873557Z"}

Adding New Device
の出力によって、Discovery が終了し、Inventory にデバイスが追加されたことが分かります。

 

network-programmer-service:

[2019-12-25 07:47:36,976] [SimpleAsyncTaskExecutor-9] [BulkProvisionMessageHelper] [INFO ] - inside checkDevicesAreFree method meiList-[ManagedElementInterface[assignedNetworkRoles=[UNKNOWN],collectionInterval=-1,communicationState=REACHABLE,createTime=2019-12-25 07:47:11.721,discoverySource=UNKNOWN,entityId=3321319,featureSupportLevel=FULL_SUPPORT,inventoryCollectionTime=2019-12-25 07:47:25.752,inventoryStatusDetail=<status><general code="SUCCESS"/></status>,lastBootTime=2019-05-30 08:44:12.034,lastIcmpPingTime=0,lastInventoryAttemptEndTime=2019-12-25 07:47:25.752,lastInventoryAttemptStartTime=2019-12-25 07:47:11.803,lifecycleState=MANAGED_AND_SYNCHRONIZED,managementAddress=192.168.3.9,paddedMgmtAddress=192.168.  3.  9,description=,name=,instanceUuid=211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc,instanceId=3321319,authEntityId=3321319,authEntityClass=-927529445,instanceTenantId=SYS0,_orderedListOEIndex=<Integer>,_creationOrderIndex=<Integer>,_isBeingChanged=<Boolean>,deployPending=<DeployPendingEnum>,instanceVersion=0]],featureName-{}


[2019-12-25 07:47:37,264] [Config - CPU 5] [config] [INFO ] - MBCID 5. Starting deploy for device MBCID 5. Device:3321319
 minimal configuration
<Configuration><!--config network assurance on-change all enable
config network assurance subscribe all
--><ConfigurationBlock commandName="NullNom" feature="XDEFeature:networkAssuranceConfig:[com.cisco.apicem.config.xde.wlc.networkAssuranceConfig]nwAssuranceUpdateProcedure"><![CDATA[config network assurance on-change all enable]]></ConfigurationBlock><ConfigurationBlock commandName="NullNom" feature="XDEFeature:networkAssuranceConfig:[com.cisco.apicem.config.xde.wlc.networkAssuranceConfig]nwAssuranceUpdateProcedure"><![CDATA[config network assurance subscribe all]]></ConfigurationBlock></Configuration>
[2019-12-25 07:47:38,024] [Config - CPU 1] [config] [INFO ] - MBCID 5. Finished successful deploy for device MBCID 5. Device:3321319 xde runId 391
[2019-12-25 07:47:38,073] [Config - CPU 1] [config] [INFO ] - MBCID 5. pushToDB Objects in all connected model graphs persisted successfully.
[2019-12-25 07:47:38,076] [Config - CPU 1] [config] [INFO ] - MBCID 5. Config operation completed with success.  Result: [Device Id:3321319
RawConfiguration:#CommandTag("feature=XDEFeature:networkAssuranceConfig:[com.cisco.apicem.config.xde.wlc.networkAssuranceConfig]nwAssuranceUpdateProcedure")

config network assurance on-change all enable
config network assurance subscribe all

Configuration:config network assurance on-change all enable
config network assurance subscribe all

DeploymentResponse:<cliChunks><cliChunk><cli>config network assurance on-change all enable
config network assurance subscribe all
save config
</cli><response><![CDATA[config network assurance on-change all enable

(Cisco Controller) >config network assurance subscribe all

(Cisco Controller) >save configsave config/n) y

instanceUuid=211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc より、WLC デバイスの uuid が 211c098c-xxxx-xxxx-97eb-52e2xxxxxcdc であることが分かります。
デバイス uuid が分かれば、他のログファイル内で、この WLC 関連のログを検索する時にも使えるので便利です。

config network assurance on-change all enable 等は、WLC にプッシュされるコマンドです。
WLC にプッシュされるコマンドとその確認方法については、ドキュメント: DNAC: AireOS デバイスへプッシュされるコマンドの確認例 を参照ください。
Getting Started

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

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