RSPN技术华为交换机(s2000hi)
生活随笔
收集整理的這篇文章主要介紹了
RSPN技术华为交换机(s2000hi)
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
?
RSPN技術(shù) SPAN技術(shù)主要是用來(lái)監(jiān)控交換機(jī)上的數(shù)據(jù)流,大體分為兩種類(lèi)型,本地SPAN和遠(yuǎn)程SPAN. ----Local Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN),實(shí)現(xiàn)方法上稍有不同。 利用SPAN技術(shù)我們可以把交換機(jī)上某些想要被監(jiān)控端口(以下簡(jiǎn)稱(chēng)受控端口)的數(shù)據(jù)流COPY或MIRROR一 份,發(fā)送給連接在監(jiān)控端口上的流量分析儀,比如CISCO的IDS或是裝了SNIFFER工具的PC. 受控端口和 監(jiān)控端口可以在同一臺(tái)交換機(jī)上(本地SPAN),也可以在不同的交換機(jī)上(遠(yuǎn)程SPAN)。 實(shí)驗(yàn)器材:兩臺(tái)華為s2000hi交換機(jī),一臺(tái)s2000ei交換機(jī),一臺(tái)路由器,一臺(tái)pc機(jī),一臺(tái)虛擬機(jī)做ndis服務(wù)器 配置sw1: [sw1]vlan 10 [sw1-vlan10]remote-probe vlan enable [sw1-vlan10]inter eth1/0/1 [sw1-Ethernet1/0/1]port link-type trunk [sw1-Ethernet1/0/1]port trunk permit vlan 10 Please wait... Done. [sw1-Ethernet1/0/1]quit [sw1]mirro? mirroring-group [sw1]mirroring-group 1 remote-destination [sw1]mirroring-group 1 monitor-port eth1/0/2 [sw1]mirroring-group 1 remote-probe vlan 10 配置sw2: [sw2]vlan 10 [sw2]inter e0/1 [sw2-Ethernet0/1]port link-type trunk [sw2-Ethernet0/1]port trunk permit vlan 10 Please wait... Done. [sw2-Ethernet0/1]inter e0/2 [sw2-Ethernet0/2]port link-type trunk [sw2-Ethernet0/2]port trunk permit vlan 10 Please wait... Done. 配置sw3: [sw3]vlan 10 [sw3-vlan10]remote-probe vlan enable [sw3-vlan10]inter eth1/0/2 [sw3-Ethernet1/0/2]port link-type trunk [sw3-Ethernet1/0/2]port trunk permit vlan 10 Please wait... Done. [sw3-Ethernet1/0/2]mirroring-group 1 remote-source [sw3]mirroring-group 1 mirroring-port eth1/0/10 ? Ethernet?Ethernet interface bothMonitor the inbound and outbound packets inboundMonitor the inbound packets outbound?Monitor the outbound packets toRange of interfaces [sw3]mirroring-group 1 mirroring-port eth1/0/10 eth1/0/20 both The remote source mirroring group doesn't support mirroring port of both direction! [sw3]mirroring-group 1 mirroring-port eth1/0/10 both The remote source mirroring group doesn't support mirroring port of both direction! [sw3]mirroring-group 1 mirroring-port eth1/0/10 eth1/0/20 inbound [sw3]mirroring-group 1 reflector-port eth1/0/5 [sw3]mirroring-group 1 remote-probe vlan 10 [sw3]dis mirroring-group remote-source mirroring-group 1: type: remote-source status: active mirroring port: Ethernet1/0/10?inbound Ethernet1/0/20?inbound reflector port: Ethernet1/0/5 remote-probe vlan: 10 [sw3] 配置路由器: [r10]inter e0 [r10-Ethernet0]ip address 192.168.1.2 24 [r10-Ethernet0] [r10-Ethernet0] [r10-Ethernet0] [r10-Ethernet0] [r10-Ethernet0] [r10-Ethernet0]quit [r10] [r10] [r10] [r10]local-user user1 password sim 123 ser admin 測(cè)試: 用pc2(192.168.1.3)telnetpc1(192.168.1.2) 用sniffer抓包:?
轉(zhuǎn)載于:https://blog.51cto.com/liufan0321/1080048
總結(jié)
以上是生活随笔為你收集整理的RSPN技术华为交换机(s2000hi)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 第49周星期二PD数据库逆向工程
- 下一篇: window.open 打开新窗口被拦截