概要
この資料が ASR903 ルータの Flexible NetFlow 機能性を有効に するために必要な事前設定を記述したものです。
注: Flexible NetFlow のはたらくことで多くを理解するためにここをクリックして下さい。
前提条件
要件
Cisco は Flexible NetFlow 機能 設定のナレッジがあることを推奨します。
使用するコンポーネント
このドキュメントは、特定のソフトウェアやハードウェアのバージョンに限定されるものではありません。
このドキュメントの情報は、特定のラボ環境にあるデバイスに基づいて作成されたものです。 このドキュメントで使用するすべてのデバイスは、クリアな(デフォルト)設定で作業を開始しています。 ネットワークが稼働中の場合は、コマンドが及ぼす潜在的な影響を十分に理解しておく必要があります。
背景説明
ASR903 プラットフォームの Flexible NetFlow は XE3.18.0 SP リリース以降サポートされます。 ただし機能を設定することを試みるとき、このエラーを得ます:
Router_ASR903(config)#int BDI10
Router_ASR903(config-if)#ip flow monitor TEST_IPV4_MONITOR input
% Flow Monitor: Failed to add monitor to interface: Unsupported template
Router_ASR903(config-if)#int GigabitEthernet0/1/0
Router_ASR903(config-if)#ip flow monitor TEST_IPV4_MONITOR input
% Flow Monitor: Failed to add monitor to interface: Unsupported template
Router_ASR903#
設定
ASR903 ルータの metroaggrservices ライセンスを有効に する必要があります。 次に設定例を示します。
Router_ASR903#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router_ASR903(config)#license boot level metroaggrservices
Router_ASR903(config)#end
Router_ASR903#write
Building configuration...
[OK]
Router_ASR903#
デバイスのリロードは水平な新しいライセンスのために必要実施されるためにです。 デバイスがリロードなら、水平なライセンスは show version の出力から確認することができます。
Cisco IOS XE ソフトウェア、バージョン 03.18.00.SP.156-2.SP-ext
Cisco IOSソフトウェア、ASR900 ソフトウェア(PPC_LINUX_IOSD-UNIVERSALK9_NPE-M)、バージョン 15.6(2)SP、リリースソフトウェア(fc2)
Technical Support: http://www.cisco.com/techsupport
シスコシステムズによる Copyright (c) 1986-2016 年、バークリー
mcpre によるコンパイルされた水曜日 27-Jul-16 08:13
Cisco IOS XE ソフトウェア、Cisco 社による Copyright (c) 2005-2016 年、バークリー
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. これらのモジュールでの
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. 詳細については、参照して下さい
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
ソフトウェア。
ROM: IOS XE ROMMON
Router_ASR903 稼働時間は 18 時間、16 分です
この Control Processor のための稼働時間は 18 時間、18 分です
システムは 08:02:20 UTC 金曜日 2016 年 8 月 12 日でリロードによって ROM に戻りました
システムは 14:15:01 UTC Sun 2016 年 8 月 14 日で再起動しました
システムイメージファイルは「bootflash:ですイメージ/packages.conf」
Last reload reason: PowerOn
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
詳細事項を必要とする場合、連絡先は export@cisco.com に電子メールを送信 し。
License Level: metroaggrservices
License Type: Permanent
Next reload license Level: metroaggrservices
912985K/6147K バイト メモリとの cisco ASR-903 (RSP2)プロセッサ(修正 RSP2)。
プロセッサボードID FOX1929P433
8 つのギガビット イーサネットインターフェイス
1 10 ギガビット イーサネットインターフェイス
32768K バイトの不揮発性構成メモリ。
3670016K バイトの物理メモリ。
1328927K バイトの bootflash:の SD フラッシュする
Configuration register is 0x2102
metroaggrservices ライセンスがルータに有効になったら、このテンプレートを設定して下さい:
Router_ASR903#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router_ASR903(config)#sdm prefer video
Router_ASR903#end
Router_ASR903#write
Building configuration...
[OK]
Router_ASR903#
sdm テンプレートが述べられるで設定された後、Flexible NetFlow 機能を設定し、操作上に得られます。
これらは Flexible NetFlow fetaure のための設定 例です:
Router_ASR903
!
flow record TEST_IPV4_RECORD
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
collect counter packets
collect counter bytes
!
!
flow exporter TEST_EXPORTER
destination 192.168.100.1
source Loopback1
transport udp 9999
!
!
flow monitor TEST_IPV4_MONITOR
exporter TEST_EXPORTER
cache timeout inactive 20
cache timeout active 180
record TEST_IPV4_RECORD
!
interface GigabitEthernet0/1/0
ip address 10.10.10.2 255.255.255.0
ip flow monitor TEST_IPV4_MONITOR input
speed 1000
no negotiation auto
!
確認
このセクションでは、設定が正常に機能していることを確認します。
Flexible NetFlow 機能のオペレーションは情報を使用してここに確認することができます
トラブルシューティング
現在のところ、この設定に関する特定のトラブルシューティング情報はありません。