#
vlan 10
#
interface Vlan-interface10
ip add 1.1.1.1 24
將vlan10的流量鏡像到端口g1/0/1,這個該怎麼配置
(0)
最佳答案
配置思路如下:
1. 創建VLAN 10。
2. 配置VLAN 10的Vlan-interface10的IP地址為1.1.1.1/24。
3. 創建本地鏡像組,例如鏡像組1。
4. 將GigabitEthernet1/0/3端口設置為鏡像源端口,以監控GigabitEthernet1/0/2端口的流量。
5. 將GigabitEthernet1/0/1端口設置為鏡像目的端口。
6. 查看鏡像組的狀態。
具體配置命令如下:
```
[SW1] vlan 10
[SW1-vlan10] quit
[SW1] interface Vlan-interface10
[SW1-Vlan-interface10] ip address 1.1.1.1 255.255.255.0
[SW1-Vlan-interface10] quit
[SW1] mirroring-group 1 local
[SW1-mirroring-group1] mirroring-port gigabitethernet 1/0/3 both
[SW1-mirroring-group1] monitor-port gigabitethernet 1/0/1
[SW1-mirroring-group1] quit
[SW1] display mirroring-group 1
```
(0)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論