SPAN Switched Port Analyzer &單臂路由

SPAN  Switched Port Analyzer &單臂路由

SPAN  Switched Port Analyzer 交換端口分析器

一、實驗目的:PC0監控fa0/1流量

sw1關鍵配置

monitor session 1 source int fa0/1

monitor session 1 destination remote vlan 100 refector-port fa1/5

vlan 100

remote-span

 

sw2關鍵配置

vlan 100

remote-span

monitor session 1 source remote vlan 100

monitor session 1 destination int fa0/2

show monitor session 1   //查看鏡像的配置

*****************************************************

二、VLAN30VLAN40互訪,單臂路由實現

1. SW1&SW2 Trunking

2. 確保SW1VLAN30VLAN40

3. SW1&R1 Trunking

4. R1創建子接口並封裝

*****************************************************

三、Vlan acl, pc0不能訪問PC1

R2(config)#access-list 5 permit 192.168.30.10       PC1:192.168.30.10

vlan access-map test-vacl

match ip address 5

action drop     //默認action是forward

vlan filter test-vacl  vlan-list 100     //VLAN下調用

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章