Cisco 设备设置监控口

> enable                 # 从用户模式进入特权模式
# show ip int bri     # 查看当前所有端口状态

# conf t                  # 从特权模式进入配置模式

(config)# monitor session 1 source interface gigabitEthernet 1/0/1- 5              # 设置端口1-[空格]5  作为 源镜像口 

(config)# monitor session 1 destination interface gigabitEthernet 1/0/48       # 设置端口48  作为 目标镜像口(接抓包电脑)

# show monitor  在特权模式下查看已经添加的源镜像口和目标镜像口

# 如果需要长期使用可以保存

# wr        # 保存配置

  

posted @ 2019-03-21 09:51  Cong0ks  阅读(681)  评论(0编辑  收藏  举报