华为交换机-端口镜像命令.doc_第1页
华为交换机-端口镜像命令.doc_第2页
华为交换机-端口镜像命令.doc_第3页
华为交换机-端口镜像命令.doc_第4页
华为交换机-端口镜像命令.doc_第5页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

华为交换机-端口镜像命令(20)2009-02-08 01:10:48|分类:路由相关|字号订阅Quidway S3500-EA系列以太网交换机 命令手册端口镜像 目 录目 录第 1章 端口镜像配置命令.1-11.1 端口镜像配置命令. 1-11.1.1 display mirroring-group . 1-11.1.2 mirroring-group. 1-21.1.3 mirroring-group mirroring-port . 1-31.1.4 mirroring-group monitor-port . 1-41.1.5 mirroring-group reflector-port . 1-51.1.6 mirroring-group remote-probe vlan . 1-61.1.7 mirroring-port. 1-71.1.8 monitor-port . 1-8Quidway 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:端口镜像组的组号,取值范围为 12。local:本地镜像组。remote-source:远程源镜像组。remote-destination:远程目的镜像组。all:所有镜像组。【描述】display mirroring-group命令用来显示端口镜像组的信息。不同的镜像组类型,其显示内容不同。设备将按照镜像组号的顺序进行显示。【举例】# 显示所有镜像组的信息。 display mirroring-group allmirroring-group 1: type: local status: active mirroring port: Ethernet1/0/1 both Ethernet1/0/2 both monitor port: Ethernet1/0/3mirroring-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 远程镜像VLAN1.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:端口镜像组的组号,取值范围为 12。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。 system-viewSysname mirroring-group 1 local# 创建远程目的镜像组 2。 system-viewSysname mirroring-group 2 remote-destination1.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:端口镜像组的组号,取值范围为 12。 华为所有和机密 1-3版权所有 (c) 华为技术有限公司Quidway S3500-EA系列以太网交换机 命令手册第1章 端口镜像配置命令 端口镜像mirroring-port-list:端口列表,表示多个端口。表示方式为 mirroring-port-list = interface-type interface-number to interface-type interface-number &。其中,interface-type为端口类型,interface-number为端口编号。&表示前面的参数最多可以输入 8次。inbound:表示仅对端口接收的报文进行镜像。outbound:表示仅对端口发送的报文进行镜像。both:表示对端口接收和发送的报文都进行镜像。【描述】mirroring-group mirroring-port命令用来为已经创建的镜像组添加源端口。undomirroring-group mirroring-port命令用来为镜像组删除源端口。需要注意的是: 源端口不能是现有镜像组的成员端口; 不能为远程目的镜像组添加源端口。【举例】# 为已存在的镜像组 1添加源端口。 system-viewSysname mirroring-group 1 mirroring-port Ethernet 1/0/1 to Ethernet 1/0/5both# 从镜像组 1中删除某些源端口。Sysname undo mirroring-group 1 mirroring-port Ethernet 1/0/1 to Ethernet1/0/3 both1.1.4 mirroring-group monitor-port【命令】mirroring-group group-id monitor-port monitor-port-idundo mirroring-group group-id monitor-port monitor-port-id【视图】系统视图【参数】group-id:端口镜像组的组号,取值范围为 12。monitor-port-id:目的端口,表示方式为 interface-type interface-number。其中,interface-type为端口类型,interface-number为端口编号。1-4 华为所有和机密版权所有 (c) 华为技术有限公司Quidway S3500-EA系列以太网交换机 命令手册端口镜像 第1章 端口镜像配置命令【描述】mirroring-group monitor-port命令用来为已经创建的镜像组添加目的端口。 undomirroring-group monitor-port命令用来为已经创建的镜像组删除目的端口。需要注意的是: 已经有目的端口的镜像组不能再添加目的端口; 目的端口不能是现有镜像组的成员端口; 本地端口镜像组的目的端口不能为聚合成员端口; 不能为远程源镜像组配置目的端口; 指定的镜像组必须预先创建; 建议用户不要在目的端口上使能 STP、RSTP或MSTP,否则会影响设备的正常使用,反之亦然。【举例】# 为远程目的镜像组 1添加目的端口 Ethernet 1/0/1。 system-viewSysname mirroring-group 1 remote-destinationSysname mirroring-group 1 monitor-port Ethernet 1/0/11.1.5 mirroring-group reflector-port【命令】在系统视图下:mirroring-group group-id reflector-port reflector-port-idundo mirroring-group group-id reflector-port reflector-port-id在端口视图下:mirroring-group group-id reflector-portundo mirroring-group group-id reflector-port【视图】系统视图/以太网端口视图【参数】group-id:端口镜像组的组号,取值范围为 12。reflector-port-id:反射端口,表示方式为 interface-type interface-number。其中,interface-type为端口类型,interface-number为端口编号。 华为所有和机密 1-5版权所有 (c) 华为技术有限公司Quidway S3500-EA系列以太网交换机 命令手册第1章 端口镜像配置命令 端口镜像【描述】mirroring-group reflector-port 命令用来为远程源镜像组配置反射口。undomirroring-group reflector-port命令用来取消该配置。需要注意的是: 只有远程源镜像组可以配置反射口,其它类型的镜像组不能配置反射口,已有反射口的镜像组不能再配置反射口; 反射口不能是现有镜像组的成员端口、聚合成员端口,必须是 Access端口且属于缺省 VLAN;不能配置 QinQ、端口环回、业务环回功能; 端口的双工模式、端口速率、MDI属性取值均为缺省值时,才能将端口配置为反射口;将某个端口配置为反射口后,不能再修改端口双工模式、端口速率、MDI属性取值,即这些属性只能为缺省值; 建议用户不要在反射口上连接网线,不要在反射口上配置下列功能:STP、RSTP、MSTP、802.1x、IGMP Snooping、静态 ARP和 MAC地址学习功能,否则会影响设备的正常使用。【举例】# 在系统视图下为远程源镜像组 1配置反射口 Ethernet 1/0/1。 system-viewSysname mirroring-group 1 remote-sourceSysname mirroring-group 1 reflector-port Ethernet 1/0/1# 在以太网端口视图下为远程源镜像组 1配置反射口 Ethernet 1/0/1。 system-viewSysname interface Ethernet 1/0/1Sysname-Ethernet1/0/1 mirroring-group 1 reflector-port1.1.6 mirroring-group remote-probe vlan【命令】mirroring-group group-id remote-probe vlan rprobe-vlan-idundo mirroring-group group-id remote-probe vlan rprobe-vlan-id【视图】系统视图【参数】group-id:端口镜像组的组号,取值范围为 12。rprobe-vlan-id:远程镜像 VLAN ID,该 VLAN必须已经存在。1-6 华为所有和机密版权所有 (c) 华为技术有限公司Quidway S3500-EA系列以太网交换机 命令手册端口镜像 第1章 端口镜像配置命令【描述】mirroring-group remote-probe vlan命令用来为远程源镜像组或者远程目的镜像组配置远程镜像 VLAN。undo mirroring-group remote-probe vlan命令用来取消该配置。需要注意的是: 只有远程源镜像组和远程目的镜像组可以配置远程镜像

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论