秒开缓存系统与华为S2300交换机端口镜像配置

关键配置: 

#设置观察口(接缓存的镜像口) 
observe-port 1 interface Ethernet0/0/24   

#接路由LAN口,将数据镜像到镜像口 
interface GigabitEthernet0/0/1 
port link-type trunk 
port trunk allow-pass vlan 2 to 4094 
port-mirroring to observe-port 1 inbound 
port-mirroring to observe-port 1 outbound
#接缓存的管理口,允许所有VLAN访问                                         
interface GigabitEthernet0/0/2 
port link-type trunk 
port trunk allow-pass vlan 2 to 4094 
loopback-detect enable
完整配置如下: 

# telnet passwd: huawei 
[Quidway]display cu 

!Software Version V100R006C03 
 sysname Quidway 

 vlan batch 2 to 99 101 to 199 201 to 4094 

 undo http server enable 

#观察口(接缓存的镜像口) 
 observe-port 1 interface Ethernet0/0/24   

aaa 
 authentication-scheme default 
 authorization-scheme default 
 accounting-scheme default 
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$I6.ASV)hJET,p"Dn.YM:XO%$%$ 
 local-user admin service-type http 

interface Vlanif1 
 ip address 172.16.1.253 255.255.255.0 

interface Ethernet0/0/1 
 port link-type access 
 loopback-detect enable                   
 port-isolate enable group 1 

interface Ethernet0/0/2 
 port link-type access 
 port default vlan 2 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/3 
 port link-type access 
 port default vlan 3 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/4 
 port link-type access 
 port default vlan 4 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/5 
 port link-type access 
 port default vlan 5 
 loopback-detect enable                   
 port-isolate enable group 1 

interface Ethernet0/0/6 
 port link-type access 
 port default vlan 6 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/7 
 port link-type access 
 port default vlan 7 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/8 
 port link-type access 
 port default vlan 8 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/9 
 port link-type access 
 port default vlan 9 
 loopback-detect enable                   
 port-isolate enable group 1 

interface Ethernet0/0/10 
 port link-type access 
 port default vlan 10 
 loopback-detect enable 

interface Ethernet0/0/11 
 port link-type access 
 port default vlan 11 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/12 
 port link-type access 
 port default vlan 12 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/13 
 port link-type access 
 port default vlan 13 
 loopback-detect enable 
 port-isolate enable group 1               

interface Ethernet0/0/14 
 port link-type access 
 port default vlan 14 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/15 
 port link-type access 
 port default vlan 15 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/16 
 port link-type access 
 port default vlan 16 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/17 
 port link-type access 
 port default vlan 26 
 loopback-detect enable 
 port-isolate enable group 1               

interface Ethernet0/0/18 
 port link-type access 
 port default vlan 18 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/19 
 port link-type access 
 port default vlan 19 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/20 
 port link-type access 
 port default vlan 20 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/21 
 port link-type access 
 port default vlan 21 
 loopback-detect enable 
 port-isolate enable group 1               

interface Ethernet0/0/22 
 port link-type access 
 port default vlan 22 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/23 
 port link-type access 
 port default vlan 23 
 loopback-detect enable 
 port-isolate enable group 1 

interface Ethernet0/0/24 
 port link-type access 
 loopback-detect enable 
 port-isolate enable group 1 

#接路由LAN口,将数据镜像到镜像口 
interface GigabitEthernet0/0/1 
 port link-type trunk 
 port trunk allow-pass vlan 2 to 4094 
 port-mirroring to observe-port 1 inbound 
 port-mirroring to observe-port 1 outbound 

#接缓存的管理口,允许所有VLAN访问                                         
interface GigabitEthernet0/0/2 
 port link-type trunk 
 port trunk allow-pass vlan 2 to 4094 
 loopback-detect enable

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29580586/viewspace-1360614/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29580586/viewspace-1360614/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值