N9K交换机配置端口镜像
需求:N9K交换机将一个端口的流量复制到另一个端口,以思科9504举例,将E2/9端口的流量复制到E1/1
实现命令如下:
monitor session 1source interface Ethernet2/9 bothdestination interface Ethernet1/1no shutdowninterface Ethernet1/1description zhuabaoswitchportswitchport monitorno shutdown
查看配置结果:
SZ-IDC-CORE-SW-9504-01# sh monitor session all session 1
---------------
description : APP
type : local
state : up
acl-name : acl-name not specified
source intf : rx : Eth2/9 tx : Eth2/9 both : Eth2/9
source VLANs : rx : tx : both :
filter VLANs : filter not specified
source fwd drops :
destination ports : Eth1/1
PFC On Interfaces : SZ-IDC-CORE-SW-9504-01#
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
