Appearance
Appearance
注意:DGS-1216T Web Smart - 使用 admin Web 界面设置 Mirror Settings。见手册第 50 页。
登录到交换机后(如有必要,使用 enable admin 进入 enable 模式),使用 show mirror 命令显示任何当前的端口镜像配置:
switch:4#show mirror Command: show mirror Current Settings Mirror Status: Disabled Target Port : X Mirrored Port RX: TX: switch:4#要实际配置端口镜像,请使用 config mirror 命令。该命令接受多种选项,包括要镜像到的端口、要镜像的端口(“源”端口),以及是否镜像 rx(接收的数据包)、tx(发送的数据包)或两者。该命令格式的一个基本示例如下:
switch:4#config mirror port 4 add source ports 12 both Command: config mirror port 4 add source ports 12 both Success. switch:4#show mirror Command: show mirror Current Settings Mirror Status: Disabled Target Port : 4 Mirrored Port RX: 12 TX: 12 switch:4#然后启用镜像:
switch:4#enable mirror Command: enable mirror Success. switch:4#这样基本就完成了。
导入自 https://wiki.wireshark.org/SwitchReference/DLink,时间为 2020-08-11 23:26:07 UTC