华为交换机-端口镜像命令

更新时间:2023-05-06 03:18:12 阅读: 评论:0

华为交换机-端口镜像命令(20) 
2009-02-08 01:10:48|  分类: 路由相关字号 订阅
Quidway S3500-EA系列以太网交换机  命令手册 
端口镜像  目  录
 
目  录 
第 1章 端口镜像配置命令.......................................................................................................1-1 
1.1 端口镜像配置命令.............................................................................................................. 1-1 
1.1.1 display mirroring-group ........................................................................................... 1-1 
1.1. 1-2 
1.1.3 mirroring-group mirroring-port ................................................................................. 1-3 
1.1.4 mirroring-group monitor-port ................................................................................... 1-4 
1.1.5 mirroring-group reflector-port .................................................................................. 1-5 
1.1.6 mirroring-group remote-probe vlan ......................................................................... 1-6 
1.1.. 1-7 
1.1.8 monitor-port ............................................................................................................. 1-8 
 
 
Quidway S3500-EA系列以太网交换机  命令手册 
端口镜像  第1章  端口镜像配置命令
 
第1章  端口镜像配置命令 
1.1  端口镜像配置命令 
1.1.1  display mirroring-group 
【命令】 
display mirroring-group { group-id | local | remote-source | 
remote-destination | all } 
【视图】 
任意视图 
【参数】 
group-id:端口镜像组的组号,取值范围为 1~2。 
local:本地镜像组。 
remote-source:远程源镜像组。 
remote-destination:远程目的镜像组。 
all:所有镜像组。 
【描述】 
display mirroring-group命令用来显示端口镜像组的信息。 
不同的镜像组类型,其显示内容不同。设备将按照镜像组号的顺序进行显示。 
【举例】 
# 显示所有镜像组的信息。 
<Sysname> display mirroring-group all 
mirroring-group 1: 
    type: local 
    status: active 
    mirroring port: 
        Ethernet1/0/1  both 
        Ethernet1/0/2  both 
    monitor port: Ethernet1/0/3 
mirroring-group 2: 
    type: remote-source 
    status: inactive 
  华为所有和机密                        1-1
版权所有 (c) 华为技术有限公司 
 
Quidway S3500-EA系列以太网交换机  命令手册
第1章  端口镜像配置命令  端口镜像
 
    mirroring port: 
          Ethernet1/0/4  both 
    reflector port: 
    remote-probe vlan: 1900 
表1-1 display mirroring-group命令显示信息描述表 
字段  描述 
mirroring-group  端口镜像组的组号 
镜像组的类型,包括local(本地镜像组)、remote-source(远程源
type 
镜像组)、remote-destination(远程目的镜像组) 
status  镜像组的状态,active表示已经生效、inactive表示没有生效 
mirroring port  镜像源端口 
monitor port  镜像目的端口 
reflector port  反射口 
remote-probe vlan  远程镜像VLAN 
 
1.1.2  mirroring-group 
【命令】 
mirroring-group group-id { local | remote-source | remote-destination } 
undo mirroring-group { group-id | local | remote-source | remote-destination | 
all } 
【视图】 
系统视图 
【参数】 
group-id:端口镜像组的组号,取值范围为 1~2。 
local:本地镜像组。 
remote-source:远程源镜像组。 
remote-destination:远程目的镜像组。 
all:所有镜像组。 
【描述】 
mirroring-group命令用来创建镜像组。undo mirroring-group命令用来删除镜像
组。 
创建镜像组的时候需要指定镜像组类型: 
1-2  华为所有和机密                       
版权所有 (c) 华为技术有限公司 
 
Quidway S3500-EA系列以太网交换机  命令手册 
端口镜像  第1章  端口镜像配置命令
  若在命令行中指定 local参数,表示要创建本地镜像组;  若在命令行中指定 remote-destination参数,表示要创建远程目的镜像组;  若在命令行中指定 remote-source参数,表示要创建远程源镜像组。 
删除镜像组的时候需要指定镜像组类型或者镜像组号:  若在命令行中指定 group-id 参数,表示删除端口镜像组号为 group-id 的镜像
组;  若在命令行中指定 all参数,表示删除所有的镜像组;  若在命令行中指定 local参数,表示要删除本地镜像组;  若在命令行中指定 remote-destination参数,表示要删除远程目的镜像组;  若在命令行中指定 remote-source参数,表示要删除远程源镜像组。 
需要注意的是:  S3500-EA系列以太网交换机只支持配置1个本地镜像组或1个远程源镜像组,
两者不能同时配置。  如果流镜像的目的端口和本地端口镜像组的目的端口为不同的端口,则两者不
能同时配置。关于流镜像的配置请参见“QoS”模块的相关内容。 
【举例】 
# 创建本地镜像组 1。 
<Sysname> system-view 
[Sysname] mirroring-group 1 local 
# 创建远程目的镜像组 2。 
<Sysname> system-view 
[Sysname] mirroring-group 2 remote-destination 
1.1.3  mirroring-group mirroring-port 
【命令】 
mirroring-group group-id mirroring-port mirroring-port-list { inbound | 
outbound | both } 
undo mirroring-group group-id mirroring-port mirroring-port-list { inbound | 
outbound | both } 
【视图】 
系统视图 
【参数】 
group-id:端口镜像组的组号,取值范围为 1~2。 
  华为所有和机密                        1-3
版权所有 (c) 华为技术有限公司 
 
Quidway S3500-EA系列以太网交换机  命令手册
第1章  端口镜像配置命令  端口镜像
 
mirroring-port-list:端口列表,表示多个端口。表示方式为 mirroring-port-list = 
{ interface-type interface-number [ to interface-type interface-number ] }&<1-8>。

本文发布于:2023-05-06 03:18:12,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/536911.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:镜像   端口   命令   表示   配置
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图