SPAN・RSPAN・ERSPANの設定1 / 6
SPANのsourceとdestination
SPANはportやVLANを通るtrafficを複製し、解析先へ出す。rxは監視sourceへ入る方向、txはsourceから出る方向、bothは両方である。解析先へcopyを送る方向とは意味が違う。
monitor session 1 source interface GigabitEthernet1/0/10 both
monitor session 1 destination interface GigabitEthernet1/0/48
show monitor session 1
通常のdestination portは監視用になり、一般の端末用portとして同じように転送する用途から外れる。複製したtrafficの合計がdestination帯域を上回ればcopyを失い得る。captureでpacketが見えないことだけで、元のtrafficも必ず失われたとは判断しない。
monitor session 1 filter vlan 20
trunkを監視して特定VLANへ絞る場合はこのコマンドなどを使う。
これはVLAN20を観測対象にする指定で、通常trafficのallowed listやpacket filterを変更するものではない。
参考資料
- Cisco 350-401 v1.2 Exam Topics ↗
- Catalyst 9300 SPAN and RSPAN ↗
- Catalyst 9300 ERSPAN ↗
- Cisco Catalyst 6500 IOS 15.2SY — VLAN Ranges ↗
- Cisco Catalyst 2960 — Voice VLAN ↗
- Cisco — Catalyst SPAN and RSPAN Reflector Ports ↗
- Cisco Catalyst 3750-X/3560-X 12.2(53)SE2 — SPAN and RSPAN ↗
- Cisco IOS XE — Configuring ERSPAN ↗
- 技術資料 ↗