SPAN の設定
•
SPAN および ERSPAN の設定, 1 ページ
SPAN および ERSPAN の設定
ACI ファブリックでは、SPAN 機能を以下の 3 つのカテゴリで設定できます。
•
アクセス:リーフ ノードのアクセス ポートから発信されたトラフィックを監視します
•
ファブリック:リーフまたはスパイン ノードのファブリック ポートからのトラフィックを
監視します
•
テナント:テナント内のエンドポイントグループ(EPG)からのトラフィックを監視します
次の表に、各セッションごとに異なる構成要素を示します。
Destination
フィルタ
Sources
セッション タイ
プ
送信元と同じリーフへの
ローカル ポート
EPG
1 つのリーフへのローカル アクセス
ポート、ポート チャネル
アクセス ローカ
ル
ファブリック内のいずれ
かの EPG
EPG
1 つ以上のリーフ ノード間のアクセ
ス ポート、ポート チャネル、VPC
アクセス
ERSPAN
ファブリック内のいずれ
かの EPG
BD または
VRF
1 つ以上のリーフまたはスパイン
ノード内のファブリック ポート
ファブリック
ERSPAN
ファブリック内のいずれ
かの EPG
-ファブリック内のいずれかの EPG
テナント
ERSPAN
アクセス モードの SPAN の設定
これは、アクセス リーフ ノードにローカルに適用される従来の SPAN 設定です。1 つ以上のアク
セスポートまたはポートチャネルから送信されるトラフィックは監視でき、同じリーフノードに
ローカルな宛先ポートに送信できます。
手順の概要
1. configure
2. [no]monitoraccesssessionsession-name
3. [no]descriptiontext
4. [no]destinationinterfaceethernetslot/portleafnode-id
5. [no]sourceinterfaceethernet {[ fex/ ]slot/port | port-range} leafnode-id
6. [no]direction {rx | tx | both}
7. [no]filtertenanttenant-nameapplicationapplication-nameepgepg-name
8. exit
9. [no]sourceinterfaceport-channelport-channel-name-listleafnode-id [fexfex-id]
10. [no]shutdown
手順の詳細
目的
コマンドまたはアクション
グローバル コンフィギュレーション
モードを開始します。
configure
例:
apic1# configureステップ 1
アクセス モニタリング セッションの設
定を作成します。
[no]monitoraccesssessionsession-name
例:
apic1(config)# monitor access session mySession
ステップ 2
このアクセス モニタリング セッション
についての説明を追加します。テキス
[no]descriptiontext
例:
apic1(config-monitor-access)# description "This is my SPAN session"
ステップ 3
トにスペースが含まれている場合は、
単一引用符で囲む必要があります。
宛先インターフェイスを指定します。
宛先インターフェイスを FEX ポートま
[no]destinationinterfaceethernetslot/portleafnode-id
例:
apic1(config-monitor-access)# destination interface eth 1/2 leaf 101
ステップ 4
たはポートチャネルにすることはでき
ません。
SPAN の設定 アクセス モードの SPAN の設定目的
コマンドまたはアクション
送信元インターフェイス ポートまたは
ポート範囲を指定します。
[no]sourceinterfaceethernet {[ fex/ ]slot/port | port-range} leafnode-id
例:
apic1(config-monitor-access)# source interface eth 1/2 leaf 101
ステップ 5
監視対象のトラフィックの方向を指定
します。方向は各発信元ポート範囲で
個別に設定できます。
[no]direction {rx | tx | both}
例:
apic1(config-monitor-access-source)# direction txステップ 6
監視対象のトラフィックをフィルタし
ます。フィルタは、各送信元ポート範
囲で個別に設定できます。
[no]filtertenanttenant-nameapplicationapplication-nameepgepg-name
例:
apic1(config-monitor-access-source)# filter tenant t1 application app1 epg epg1
ステップ 7
アクセス モニタ セッション コンフィ
ギュレーション モードに戻ります。
exit
例:
apic1(config-monitor-access-source)# exitステップ 8
送信元インターフェイスのポート チャ
ネルを指定します
[no]sourceinterfaceport-channelport-channel-name-listleafnode-id
[fexfex-id]
例:
apic1(config-monitor-access)# source interface port-channel pc5 leaf 101
ステップ 9
(ここに示されていないトラフィック
方向とフィルタ設定を入力します)。
モニタリング セッションをディセーブ
ル(またはイネーブル)にします。
[no]shutdown
例:
apic1(config-monitor-access)# no shutステップ 10
例
次に、ローカル アクセス モニタリング セッションを設定する例を示します。
apic1# configure terminalapic1(config)# monitor access session mySession
apic1(config-monitor-access)# description "This is my SPAN session"
apic1(config-monitor-access)# destination interface eth 1/2 leaf 101
apic1(config-monitor-access)# source interface eth 1/1 leaf 101
apic1(config-monitor-access-source)# direction tx
apic1(config-monitor-access-source)# filter tenant t1 application app1 epg epg1
apic1(config-monitor-access-source)# exit
apic1(config-monitor-access)# no shut
apic1(config-monitor-access)# show run
# Command: show running-config monitor access session mySession # Time: Fri Nov 6 23:55:35 2015
monitor access session mySession
description "This is my SPAN session" destination interface eth 1/2 leaf 101 source interface eth 1/1 leaf 101
SPAN の設定
direction tx
filter tenant t1 application app1 epg epg exit exit
アクセス モードの ERSPAN の設定
ACI ファブリックでは、アクセス モード ERSPAN の設定は、1 つ以上のリーフ ノードのアクセス
ポート、ポート チャネル、および vPC から発信されたトラフィックの監視に使用できます。
ERSPAN セッションの場合、宛先は常にファブリック内のどこにでも展開できるエンドポイント
グループ(EPG)です。監視対象のトラフィックは、EPGが移動するたびに宛先に転送されます。
手順の概要
1. configure
2. [no]monitoraccesssessionsession-name
3. [no]descriptiontext
4. [no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
5. [no]erspan-idflow-id
6. [no]ipdscpdscp-code
7. [no]ipttlttl-value
8. [no]mtumtu-value
9. exit
10. [no]sourceinterfaceethernet {[ fex/ ]slot/port | port-range} leafnode-id
11. [no]sourceinterfaceport-channelport-channel-name-listleafnode-id [fexfex-id]
12. [no]sourceinterfacevpcvpc-name-listleafnode-id1node-id2 [fexfex-id1fex-id2]
13. [no]direction {rx | tx | both}
14. [no]filtertenanttenant-nameapplicationapplication-nameepgepg-name
15. exit
16. [no]shutdown
手順の詳細
目的
コマンドまたはアクション
グローバ
ル コン
configure
例:
apic1# configureス
テッ
プ 1
フィギュ
レーショ
ン モード
を開始し
ます。
SPAN の設定 アクセス モードの ERSPAN の設定目的
コマンドまたはアクション
アクセス
モニタリ
[no]monitoraccesssessionsession-name
例:
apic1(config)# monitor access session mySession
ス
テッ
プ 2
ング セッ
ションの
設定を作
成しま
す。
このモニ
タリング
[no]descriptiontext
例:
apic1(config-monitor-access)# description "This is my access ERSPAN session"
ス
テッ
プ 3
セッショ
ンの説明
を追加し
ます。テ
キストに
スペース
が含まれ
ている場
合は、単
一引用符
で囲む必
要があり
ます。
宛先イン
ターフェ
[no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
例:
apic1(config-monitor-access)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1
ス
テッ
プ 4
イスをテ
ナントと
して指定
し、宛先
コンフィ
ギュレー
ション
モードを
開始しま
す。
ERSPAN
セッショ
[no]erspan-idflow-id
例:
apic1(config-monitor-access-dest)# erspan-id 100ス
テッ
プ 5
ンの
ERSPAN
ID を設定
します。
ERSPAN
SPAN の設定 アクセス モードの ERSPAN の設定目的
コマンドまたはアクション
の範囲は
1 ~ 1023
です。
ERSPAN
トラ
[no]ipdscpdscp-code
例:
apic1(config-monitor-access-dest)# ip dscp 42ス
テッ
プ 6
フィック
のパケッ
トの
DiffServ
コード ポ
イント
(DSCP)
値を設定
します。
指定でき
る範囲は
0 ~ 64 で
す。
ERSPAN
トラ
[no]ipttlttl-value
例:
apic1(config-monitor-access-dest)# ip ttl 16ス
テッ
プ 7
フィック
の IP 存続
可能時間
(TTL)
値を設定
します。
範囲は 1
~ 255 で
す。
ERSPAN
セッショ
[no]mtumtu-value
例:
apic1(config-monitor-access-dest)# mtu 9216ス
テッ
プ 8
ンの最大
伝送単位
(MTU)
サイズを
設定しま
す。有効
な範囲は
64 ~ 9216
バイトで
す。
SPAN の設定 アクセス モードの ERSPAN の設定目的
コマンドまたはアクション
モニタ ア
クセス コ
exit
例:
apic1(config-monitor-access-dest)#ス
テッ
プ 9
ンフィ
ギュレー
ション
モードに
戻りま
す。
送信元イ
ンター
[no]sourceinterfaceethernet {[ fex/ ]slot/port | port-range} leafnode-id
例:
apic1(config-monitor-access)# source interface eth 1/2 leaf 101
ス
テッ
プ 10
フェイス
ポートま
たはポー
ト範囲を
指定しま
す。
送信元イ
ンター
[no]sourceinterfaceport-channelport-channel-name-listleafnode-id [fexfex-id]
例:
apic1(config-monitor-access)# source interface port-channel pc1 leaf 101
ス
テッ
プ 11
フェイス
ポート
チャネル
を指定し
ます。
送信元イ
ンター
[no]sourceinterfacevpcvpc-name-listleafnode-id1node-id2 [fexfex-id1fex-id2]
例:
apic1(config-monitor-access)# source interface vpc pc1 leaf 101 102
ス
テッ
プ 12
フェイス
vPC を指
定しま
す。
監視対象
のトラ
[no]direction {rx | tx | both}
例:
apic1(config-monitor-access-source)# direction txス
テッ
プ 13
フィック
の方向を
指定しま
す。方向
は各発信
元ポート
範囲で個
別に設定
SPAN の設定 アクセス モードの ERSPAN の設定目的
コマンドまたはアクション
できま
す。
監視対象
のトラ
[no]filtertenanttenant-nameapplicationapplication-nameepgepg-name
例:
apic1(config-monitor-access-source)# filter tenant t1 application app1 epg epg1
ス
テッ
プ 14
フィック
をフィル
タしま
す。フィ
ルタは、
各送信元
ポート範
囲で個別
に設定で
きます。
アクセス
モニタ
exit
例:
apic1(config-monitor-access-source)# exitス
テッ
プ 15
セッショ
ン コン
フィギュ
レーショ
ン モード
に戻りま
す。
モニタリ
ング セッ
[no]shutdown
例:
apic1(config-monitor-access)# no shutス
テッ
プ 16
ションを
ディセー
ブル(ま
たはイ
ネーブ
ル)にし
ます。
例
この例では、ERSPAN アクセス モニタリング セッションを設定する方法を示します。
apic1# configure terminalapic1(config)# monitor access session mySession
apic1(config-monitor-access)# description "This is my access ERSPAN session"
SPAN の設定
apic1(config-monitor-access)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1 apic1(config-monitor-access-dest)# erspan-id 100 apic1(config-monitor-access-dest)# ip dscp 42 apic1(config-monitor-access-dest)# ip ttl 16 apic1(config-monitor-access-dest)# mtu 9216 apic1(config-monitor-access-dest)# exit
apic1(config-monitor-access)# source interface eth 1/1 leaf 101
apic1(config-monitor-access-source)# direction tx
apic1(config-monitor-access-source)# filter tenant t1 application app1 epg epg1
apic1(config-monitor-access-source)# exit
apic1(config-monitor-access)# no shut
apic1(config-monitor-access)# show run
# Command: show running-config monitor access session mySession # Time: Fri Nov 6 23:55:35 2015
monitor access session mySession
description "This is my ERSPAN session" source interface eth 1/1 leaf 101
direction tx
filter tenant t1 application app1 epg epg1 exit
destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1 ip dscp 42 ip ttl 16 erspan-id 9216 mtu 9216 exit exit
この例では、監視元としてポート チャネルを設定する方法を示します。
apic1(config-monitor-access)# source interface port-channel pc3 leaf 105この例では、監視元として vPC レッグの 1 つを設定する方法を示します。
apic1(config-monitor-access)# source interface port-channel vpc3 leaf 105この例では、監視元として FEX 101 からポートの範囲を設定する方法を示します。
apic1(config-monitor-access)# source interface eth 101/1/1-2 leaf 105ファブリック モードの ERSPAN の設定
ACI ファブリックのファブリック モード ERSPAN 設定を使用すると、リーフ/スパイン ノードの
1 つ以上のファブリック ポートから発信されるトラフィックをモニタリングできます。ローカル
SPAN はファブリック モードではサポートされていません。
ERSPAN セッションの場合、宛先は常にファブリック内のどこにでも展開できるエンドポイント
グループ(EPG)です。監視対象のトラフィックは、EPGが移動するたびに宛先に転送されます。
ファブリック モードでは、送信元としてファブリック ポートのみが許可されますが、リーフ ス
イッチとスパイン スイッチは両方とも許可されます。
SPAN の設定 ファブリック モードの ERSPAN の設定手順の概要
1. configure
2. [no]monitorfabricsessionsession-name
3. [no]descriptiontext
4. [no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
5. [no]erspan-idflow-id
6. [no]ipdscpdscp-code
7. [no]ipttlttl-value
8. [no]mtumtu-value
9. exit
10. [no]sourceinterfaceethernet {slot/port | port-range} switchnode-id
11. [no]direction {rx | tx | both}
12. [no]filtertenanttenant-namebdbd-name
13. [no]filtertenanttenant-namevrfvrf-name
14. exit
15. [no]shutdown
手順の詳細
目的
コマンドまたはアクション
グローバ
ル コン
configure
例:
apic1# configureス
テッ
プ 1
フィギュ
レーショ
ン モード
を開始し
ます。
ファブ
リック モ
[no]monitorfabricsessionsession-name
例:
apic1(config)# monitor fabric session mySession
ス
テッ
プ 2
ニタリン
グ セッ
ション設
定を作成
します。
このモニ
タリング
[no]descriptiontext
例:
apic1(config-monitor-fabric)# description "This is my fabric ERSPAN session"
ス
テッ
プ 3
セッショ
ンの説明
を追加し
ます。テ
SPAN の設定 ファブリック モードの ERSPAN の設定目的
コマンドまたはアクション
キストに
スペース
が含まれ
ている場
合は、単
一引用符
で囲む必
要があり
ます。
宛先イン
ターフェ
[no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
例:
apic1(config-monitor-fabric)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1
ス
テッ
プ 4
イスをテ
ナントと
して指定
し、宛先
コンフィ
ギュレー
ション
モードを
開始しま
す。
ERSPAN
セッショ
[no]erspan-idflow-id
例:
apic1(config-monitor-fabric-dest)# erspan-id 100ス
テッ
プ 5
ンの
ERSPAN
ID を設定
します。
ERSPAN
の範囲は
1 ~ 1023
です。
ERSPAN
トラ
[no]ipdscpdscp-code
例:
apic1(config-monitor-fabric-dest)# ip dscp 42ス
テッ
プ 6
フィック
のパケッ
トの
DiffServ
コード ポ
イント
(DSCP)
値を設定
SPAN の設定 ファブリック モードの ERSPAN の設定目的
コマンドまたはアクション
します。
指定でき
る範囲は
0 ~ 64 で
す。
ERSPAN
トラ
[no]ipttlttl-value
例:
apic1(config-monitor-fabric-dest)# ip ttl 16ス
テッ
プ 7
フィック
の IP 存続
可能時間
(TTL)
値を設定
します。
範囲は 1
~ 255 で
す。
ERSPAN
セッショ
[no]mtumtu-value
例:
apic1(config-monitor-fabric-dest)# mtu 9216ス
テッ
プ 8
ンの最大
伝送単位
(MTU)
サイズを
設定しま
す。有効
な範囲は
64 ~ 9216
バイトで
す。
モニタ ア
クセス コ
exit
例:
apic1(config-monitor-fabric-dest)#ス
テッ
プ 9
ンフィ
ギュレー
ション
モードに
戻りま
す。
送信元イ
ンター
[no]sourceinterfaceethernet {slot/port | port-range} switchnode-id
例:
apic1(config-monitor-fabric)# source interface eth 1/2 switch 101
ス
テッ
プ 10
フェイス
ポートま
SPAN の設定 ファブリック モードの ERSPAN の設定目的
コマンドまたはアクション
たはポー
ト範囲を
指定しま
す。
監視対象
のトラ
[no]direction {rx | tx | both}
例:
apic1(config-monitor-fabric-source)# direction txス
テッ
プ 11
フィック
の方向を
指定しま
す。方向
は各発信
元ポート
範囲で個
別に設定
できま
す。
ブリッジ
ドメイン
[no]filtertenanttenant-namebdbd-name
例:
apic1(config-monitor-fabric-source)# filter tenant t1 bd bd1
ス
テッ
プ 12
によりト
ラフィッ
クをフィ
ルタ処理
します。
VRF によ
りトラ
[no]filtertenanttenant-namevrfvrf-name
例:
apic1(config-monitor-fabric-source)# filter tenant t1 vrf vrf1
ス
テッ
プ 13
フィック
をフィル
タ処理し
ます。
アクセス
モニタ
exit
例:
apic1(config-monitor-fabric-source)# exitス
テッ
プ 14
セッショ
ン コン
フィギュ
レーショ
ン モード
に戻りま
す。
SPAN の設定 ファブリック モードの ERSPAN の設定目的
コマンドまたはアクション
モニタリ
ング セッ
[no]shutdown
例:
apic1(config-monitor-fabric)# no shutス
テッ
プ 15
ションを
ディセー
ブル(ま
たはイ
ネーブ
ル)にし
ます。
例
次に、ERSPAN ファブリック モニタリング セッションを設定する例を示します。
apic1# configure terminalapic1(config)# monitor access session mySession
apic1(config-monitor-fabric)# description "This is my fabric ERSPAN session"
apic1(config-monitor-fabric)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1 apic1(config-monitor-fabric-dest)# erspan-id 100 apic1(config-monitor-fabric-dest)# ip dscp 42 apic1(config-monitor-fabric-dest)# ip ttl 16 apic1(config-monitor-fabric-dest)# mtu 9216 apic1(config-monitor-fabric-dest)# exit
apic1(config-monitor-fabric)# source interface eth 1/1 switch 101
apic1(config-monitor-fabric-source)# direction tx
apic1(config-monitor-fabric-source)# filter tenant t1 bd bd1
apic1(config-monitor-fabric-source)# filter tenant t1 vrf vrf1
apic1(config-monitor-fabric-source)# exit apic1(config-monitor-fabric)# no shut
テナント モードの ERSPAN の設定
ACI ファブリックのテナント モード ERSPAN 設定を使用すると、テナント内のエンドポイント
グループから発信されるトラフィックをモニタリングできます。
テナント モードでは、送信元 EPG から発信されるトラフィックは同じテナント内の宛先 EPG に
送信されます。トラフィックのモニタリングは、送信元または宛先 EPG がファブリック内を移動
した場合に影響を受けません。
SPAN の設定 テナント モードの ERSPAN の設定手順の概要
1. configure
2. [no]monitortenanttenant-namesessionsession-name
3. [no]descriptiontext
4. [no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
5. [no]erspan-idflow-id
6. [no]ipdscpdscp-code
7. [no]ipttlttl-value
8. [no]mtumtu-value
9. exit
10. [no]sourceapplicationapplication-nameepgepg-name
11. [no]direction {rx | tx | both}
12. exit
13. [no]shutdown
手順の詳細
目的
コマンドまたはアクション
グローバ
ル コン
configure
例:
apic1# configureス
テッ
プ 1
フィギュ
レーショ
ン モード
を開始し
ます。
テナント
モニタリ
[no]monitortenanttenant-namesessionsession-name
例:
apic1(config)# monitor tenant session mySession
ス
テッ
プ 2
ング セッ
ション設
定を作成
します。
このアク
セス モニ
[no]descriptiontext
例:
apic1(config-monitor-tenant)# description "This is my tenant ERSPAN session"
ス
テッ
プ 3
タリング
セッショ
ンについ
ての説明
を追加し
ます。テ
キストに
SPAN の設定 テナント モードの ERSPAN の設定目的
コマンドまたはアクション
スペース
が含まれ
ている場
合は、単
一引用符
で囲む必
要があり
ます。
宛先イン
ターフェ
[no]destinationtenanttenant-nameapplicationapplication-nameepgepg-namedestination-ipdest-ip-addresssource-ip-prefixsrc-ip-address
例:
apic1(config-monitor-tenant)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1
ス
テッ
プ 4
イスをテ
ナントと
して指定
し、宛先
コンフィ
ギュレー
ション
モードを
開始しま
す。
ERSPAN
セッショ
[no]erspan-idflow-id
例:
apic1(config-monitor-tenant-dest)# erspan-id 100ス
テッ
プ 5
ンの
ERSPAN
ID を設定
します。
ERSPAN
の範囲は
1 ~ 1023
です。
ERSPAN
トラ
[no]ipdscpdscp-code
例:
apic1(config-monitor-tenant-dest)# ip dscp 42ス
テッ
プ 6
フィック
のパケッ
トの
DiffServ
コード ポ
イント
(DSCP)
値を設定
します。
SPAN の設定 テナント モードの ERSPAN の設定目的
コマンドまたはアクション
指定でき
る範囲は
0 ~ 64 で
す。
ERSPAN
トラ
[no]ipttlttl-value
例:
apic1(config-monitor-tenant-dest)# ip ttl 16ス
テッ
プ 7
フィック
の IP 存続
可能時間
(TTL)
値を設定
します。
範囲は 1
~ 255 で
す。
ERSPAN
セッショ
[no]mtumtu-value
例:
apic1(config-monitor-tenant-dest)# mtu 9216ス
テッ
プ 8
ンの最大
伝送単位
(MTU)
サイズを
設定しま
す。有効
な範囲は
64 ~ 9216
バイトで
す。
モニタ ア
クセス コ
exit
例:
apic1(config-monitor-tenant-dest)#ス
テッ
プ 9
ンフィ
ギュレー
ション
モードに
戻りま
す。
送信元イ
ンター
[no]sourceapplicationapplication-nameepgepg-name
例:
apic1(config-monitor-tenant)# source application app2 epg epg5
ス
テッ
プ 10
フェイス
ポートま
たはポー
SPAN の設定 テナント モードの ERSPAN の設定目的
コマンドまたはアクション
ト範囲を
指定しま
す。
監視対象
のトラ
[no]direction {rx | tx | both}
例:
apic1(config-monitor-tenant-source)# direction txス
テッ
プ 11
フィック
の方向を
指定しま
す。方向
は各発信
元ポート
範囲で個
別に設定
できま
す。
アクセス
モニタ
exit
例:
apic1(config-monitor-tenant-source)# exitス
テッ
プ 12
セッショ
ン コン
フィギュ
レーショ
ン モード
に戻りま
す。
モニタリ
ング セッ
[no]shutdown
例:
apic1(config-monitor-tenant)# no shutス
テッ
プ 13
ションを
ディセー
ブル(ま
たはイ
ネーブ
ル)にし
ます。
例
次に、ERSPAN テナント モニタリング セッションを設定する例を示します。
apic1# configure terminalapic1(config)# monitor access session mySession
SPAN の設定
apic1(config-monitor-tenant)# description "This is my tenant ERSPAN session"
apic1(config-monitor-tenant)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1 apic1(config-monitor-tenant-dest)# erspan-id 100 apic1(config-monitor-tenant-dest)# ip dscp 42 apic1(config-monitor-tenant-dest)# ip ttl 16 apic1(config-monitor-tenant-dest)# mtu 9216 apic1(config-monitor-tenant-dest)# exit
apic1(config-monitor-tenant)# source application app2 epg epg5
apic1(config-monitor-tenant-source)# direction tx
apic1(config-monitor-tenant-source)# exit
apic1(config-monitor-tenant)# no shut SPAN の設定
SPAN の設定