问题描述:

交换机为2台CISCO 3750G级联,两台IBM P570小型机boot网卡分别和1cisco交换机48端口相连。IBM小型机配置好网卡后无法ping通网关:

问题处理:

1,  检查IBM网卡,发现网线位置插错,配置业务地址的网卡应该插到eth0而现场插到了eth1,更换位置后依旧不可;

IBM小型机网卡编号顺序,从后看网卡分布如图

机柜

网卡

主柜

Eth1

Eth0

扩展柜

Eth3

Eth2


2,
用笔记本和小型机直连测试网线联通性,测试正常;

3,检查CISCO交换机端口状态,VLAN配置为10和现网保持一致没有问题;

4,查看交换机48端口状态,为全双工自适应,速率为10000M/S

CISCO3750-A#show interfaces gi1/0/48

5,进入config 模式对该端口进行关闭并重启,依然不可:

show inter看一下端口的状态,如果是关闭了的话,使用no shut就可以开启。

6,在交换机下执行show run,仔细检查相关配置,发现该端口被设置为了mirror端口;

monitor session 1 destination interface Gi1/0/48,使用no mirror session 1镜像关闭后问题解决。

 

 总结:

mirror格式配置如下:
  #monitor session number source interface mod_number/port_number both
  #monitor session number destination interface mod_mnumber/port_number
//rx-->
指明是进端口得流量,tx-->出端口得流量 both 进出得流量
for example:
   
第一条镜像,将第一模块中的源端口为1-10的镜像到端口12上面;
  #monitor session 1 source interface 1/1-10 both
  #monitor session 1 destination interface 1/12
 
  第二条镜像,将第二模块中的源端口为13-20的镜像到端口24上面;
  #monitor session 2 source interface 2/13-20 both
  #monitor session 2 destination interface 2/24

当有多条镜像、多个模块时改变其中的参数即可。