被过滤广告
 
 
2007-05-29, 12:59   #1
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
cisco 3750 交换机诊断日志分析

我的cisco 3750 交换机诊断日志如下,请帮我分析哪里出了问题?

Log Buffer (4096 bytes):
P-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:27:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:28:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:28:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:29:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:29:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:30:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:30:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:31:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:31:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:32:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:32:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:33:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:33:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:34:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:34:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:35:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:35:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:36:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:36:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:37:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:37:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:38:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:38:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:39:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:39:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:40:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:40:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:41:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:41:23: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
 
2007-05-29, 13:30   #2
jiaocai_zr
注册用户

注册日期: Aug 2006
住址: 深圳
帖子: 331
精华: 0
现金: 561 金币
资产: 561 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

不匹配
__________________
提供思科产品选型、方案设计、设备调试服务,QQ:283070966
 
2007-05-31, 08:55   #3
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

Cisco 3750 现在是不定期地死机,并且自动重新启动。以下是CISCO 3750的配置,请帮我分析问题在哪里?

Current configuration : 2479 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname c3750
!
enable secret 5 $1$.mGh$MeFp1C/hkfcu23mtZOjCj.
enable password max94
!
ip subnet-zero
ip routing
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
nterface GigabitEthernet1/0/1
no ip address
no mdix auto
!
interface GigabitEthernet1/0/2
no ip address
no mdix auto
!
interface GigabitEthernet1/0/3
no ip address
no mdix auto
!
interface GigabitEthernet1/0/4
no ip address
no mdix auto
!
interface GigabitEthernet1/0/5
no ip address
no mdix auto
!
interface GigabitEthernet1/0/6
nterface GigabitEthernet1/0/7
no ip address
no mdix auto
!
interface GigabitEthernet1/0/8
no ip address
no mdix auto
!
interface GigabitEthernet1/0/9
no ip address
no mdix auto
!
interface GigabitEthernet1/0/10
no ip address
no mdix auto
!
interface GigabitEthernet1/0/11
no ip address
no mdix auto
!
interface GigabitEthernet1/0/12
no ip address
no mdix auto
!
interface GigabitEthernet1/0/13
switchport access vlan 2
no ip address
no mdix auto
!
interface GigabitEthernet1/0/14
no ip address
no mdix auto
!
interface GigabitEthernet1/0/15
no ip address
no mdix auto
!
interface GigabitEthernet1/0/16
no ip address
no mdix auto
!
interface GigabitEthernet1/0/17
no ip address
no mdix auto
!
interface GigabitEthernet1/0/18
no ip address
no mdix auto
!
interface GigabitEthernet1/0/19
no ip address
no mdix auto
!
interface GigabitEthernet1/0/20
no ip address
no mdix auto
!
interface GigabitEthernet1/0/21
no ip address
no mdix auto
!
interface GigabitEthernet1/0/22
no ip address
no mdix auto
!
interface GigabitEthernet1/0/23
no ip address
no mdix auto
!
interface GigabitEthernet1/0/24
no ip address
no mdix auto
!
interface GigabitEthernet1/0/25
switchport access vlan 2
switchport mode access
no ip address
interface GigabitEthernet1/0/26
no ip address
!
interface GigabitEthernet1/0/27
no ip address
!
interface GigabitEthernet1/0/28
switchport access vlan 2
switchport mode access
no ip address
!
interface Vlan1
ip address 133.184.15.19 255.255.255.0
!
interface Vlan2
ip address 10.194.168.1 255.255.255.0
!
ip default-gateway 133.184.15.2
ip classless
ip route 0.0.0.0 0.0.0.0 133.184.15.2
ip http server
!
!
line con 0
line vty 0 4
password abc97
login
line vty 5 15
password abc97
login
!
end
 
2007-05-31, 09:03   #4
bwhan
注册用户

注册日期: Oct 2005
住址: 江苏南京
帖子: 21
精华: 0
现金: 66 金币
资产: 66 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

你的log里可以看出g1/0/25和g1/0/28口是属于vlan2,而与这两个接口相连的设备接口却是属于VLAN1,两边VLAN不匹配,将VLAN改一下吧.
 
2007-05-31, 09:59   #5
charliemao
注册用户

注册日期: Jan 2007
住址: guangdong
帖子: 87
精华: 0
现金: 163 金币
资产: 163 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

极有可能是两端设备的VLAN ID 不一致
 
2007-05-31, 10:01   #6
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

与 g1/0/25和g1/0/28两端口连接的是光纤到两个CISCO 2950交换机,这两个交换机没有做任何配置。帮我分析原因何在?
 
2007-05-31, 10:49   #7
charliemao
注册用户

注册日期: Jan 2007
住址: guangdong
帖子: 87
精华: 0
现金: 163 金币
资产: 163 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

那就检查一下是否下级交换机上有环路,另外g1/0/25和g1/0/28口状态是怎样的
 
2007-05-31, 11:32   #8
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

g1/0/25和g1/0/28口状态是正常的, 本人属于CISCO 初学者,如何检查交换机环路?
 
2007-05-31, 13:23   #9
毛毛~
科技是第一生产力


注册日期: Sep 2003
住址: 首都
帖子: 515
精华: 0
现金: 1110 金币
资产: 1110 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

本征VLAN不匹配
__________________

CISCO全线产品.
NETCREEN全线防火墙.
价格公道,质量有保障,服务优质,需要的可以联系我。
另外承接集成项目和外包项目。
我的MSN:[email][email protected][/email]

 
2007-05-31, 13:26   #10
123456789
注册用户


注册日期: Sep 2003
住址: zz
帖子: 764
精华: 0
现金: 1521 金币
资产: 1521 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

native vlan不匹配?一边是lan1,一边是vlan2。
只需将trunk口两边的native vlan配置为相同的vlan即可
__________________




 
2007-05-31, 13:43   #11
arieswindy
注册用户


注册日期: Mar 2007
住址: 四川
帖子: 54
精华: 0
现金: 133 金币
资产: 133 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

你的native vlan 不匹配用命令修改下 就可以了。

interface giga....
switchport trunk native vlan ?
__________________
劳累奔波不非是为了生活,人生就这样.
 
2007-05-31, 13:47   #12
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

是上图所示的g1/0/25和g1/0/28两个端口吗?以下是配置命令,看看是否正确?
int g1/0/25
switchport trunk native vlan 1
int g1/0/28
switchport trunk native vlan 1
 
2007-05-31, 13:50   #13
arieswindy
注册用户


注册日期: Mar 2007
住址: 四川
帖子: 54
精华: 0
现金: 133 金币
资产: 133 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

楼上的兄弟 和我的意思是一样的嘛..
 
2007-05-31, 14:00   #14
123456789
注册用户


注册日期: Sep 2003
住址: zz
帖子: 764
精华: 0
现金: 1521 金币
资产: 1521 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

引用:
作者: lyachen
是上图所示的g1/0/25和g1/0/28两个端口吗?以下是配置命令,看看是否正确?
int g1/0/25
switchport trunk native vlan 1
int g1/0/28
switchport trunk native vlan 1
可以
 
2007-05-31, 15:56   #16
linca
注册用户

注册日期: Oct 2006
住址: 广西北海
帖子: 344
精华: 0
现金: 892 金币
资产: 892 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

你那两个端口最好设成trunk口,否则对端的端口也要是vlan2
 
2007-05-31, 16:41   #17
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

设为TRUNK 是否为如下:


int gigabitethernet1/0/25
switchport mode trunk
switchport access vlan 2
int gigabitethernet1/0/28
switchport mode trunk
switchport access vlan 2
 
2007-05-31, 16:44   #18
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

3750不用修改,把下面交换机的VLAN1关掉,用其它的VLAN。
 
2007-05-31, 16:58   #19
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

如何关掉默认的VLAN 1,改为VLAN2,能给出具体命令吗?
 
2007-05-31, 17:06   #20
tianping
注册用户

注册日期: Nov 2004
住址: 安徽
帖子: 69
精华: 0
现金: 134 金币
资产: 134 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

我感觉除了要将25和28口修改成vlan2外,还应该在2950的级连口上做TRUNK才行。我也是初学者,不知建议可对。帮顶
 
2007-05-31, 17:29   #21
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

shutdown就行了,然后把port都划入vlan2,默认vlan1容纳native,在很多使用中,不使用VLAN1,用其它的VLAN。用TRUNK也可以,就是采用的解决方法思路不同而已,不过都是在避免native
 
2007-05-31, 17:33   #22
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

引用:
作者: tianping
我感觉除了要将25和28口修改成vlan2外,还应该在2950的级连口上做TRUNK才行。我也是初学者,不知建议可对。帮顶
这样的就不对了,如果2950是TRUNK,那么和他相连的交换机的端口必然也是TRUNK,而不能是vlan2
 
2007-05-31, 18:09   #23
tomiandll
注册用户


注册日期: Aug 2006
住址: fag
帖子: 211
精华: 0
现金: 457 金币
资产: 457 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

经典问题,native在两边的交换机不匹配,完全不会影响交换机性能,你甚至可是no cdp run,关掉cdp,这样就不会有报错了
 
2007-06-01, 08:19   #24
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

Native 不匹配,可是为何3750交换机每隔大概十几小时会自动重新启动?重新启动后,网络通信会正常,这个重新启动会与NATIVE不匹配有关系吗?
 
2007-06-01, 08:28   #25
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

Native 不匹配,似乎不应该导致重启动,恐怕还有其它原因,你可以先把Native 不匹配解决了看看再说。
 
2007-06-01, 11:47   #26
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:03:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:04:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:04:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:05:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:05:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:06:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:06:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:07:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:07:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:07:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:07:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:08:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:08:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:08:13: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:08:14: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to down
00:08:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:08:16: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to up
00:08:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:08:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:09:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:09:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:10:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:10:16: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:10:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:10:56: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:11:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:11:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:11:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:11:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:11:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to down
00:11:40: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to up
00:11:41: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:11:56: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:12:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).

这是目前3750交换机的日志,其中总是有一个端口先DOWN 掉,然后又起来。明天星期六我将NATIVE VLAN不匹配解决好,就是不知道为何每隔十几小时会重新启动?
 
2007-06-01, 17:05   #27
123456789
注册用户


注册日期: Sep 2003
住址: zz
帖子: 764
精华: 0
现金: 1521 金币
资产: 1521 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

引用:
作者: lyachen
设为TRUNK 是否为如下:


int gigabitethernet1/0/25
switchport mode trunk
switchport access vlan 2
int gigabitethernet1/0/28
switchport mode trunk
switchport access vlan 2
命令不对!!!
应该是

int gigabitethernet1/0/25
switchport mode trunk
switchport trunk native vlan 2


int gigabitethernet1/0/28
switchport mode trunk
switchport trunk native vlan 2
__________________




 
2007-06-01, 22:38   #28
mengyan999
注册用户

注册日期: Feb 2006
住址: 成都
帖子: 214
精华: 0
现金: 434 金币
资产: 434 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

端口down了再up,可能是被err-disable了,你可以用show inter err-dis看看
交换机自己重启动,和native vlan不匹配应该没关系。你可以看看show ver和show stack中是否有异常
2007-05-31, 15:34   #15
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

我按照以下配置进行了配置。并进行了保存,
int g1/0/25
switchport trunk native vlan 1
int g1/0/28
switchport trunk native vlan 1

重新启动CISCO 3750后,但是还不行.我这两个端口是分给VLAN2,
1.是不是要改为如下配置?

int g1/0/25
switchport trunk native vlan 2
int g1/0/28
switchport trunk native vlan 2

2.还是要在连接的设备交换机上配置?


请高手结合上面的日志帮我分析一下?
 
2007-05-31, 15:56   #16
linca
注册用户

注册日期: Oct 2006
住址: 广西北海
帖子: 344
精华: 0
现金: 892 金币
资产: 892 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

你那两个端口最好设成trunk口,否则对端的端口也要是vlan2
 
2007-05-31, 16:41   #17
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

设为TRUNK 是否为如下:


int gigabitethernet1/0/25
switchport mode trunk
switchport access vlan 2
int gigabitethernet1/0/28
switchport mode trunk
switchport access vlan 2
 
2007-05-31, 16:44   #18
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

3750不用修改,把下面交换机的VLAN1关掉,用其它的VLAN。
 
2007-05-31, 16:58   #19
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

如何关掉默认的VLAN 1,改为VLAN2,能给出具体命令吗?
 
2007-05-31, 17:06   #20
tianping
注册用户

注册日期: Nov 2004
住址: 安徽
帖子: 69
精华: 0
现金: 134 金币
资产: 134 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

我感觉除了要将25和28口修改成vlan2外,还应该在2950的级连口上做TRUNK才行。我也是初学者,不知建议可对。帮顶
 
2007-05-31, 17:29   #21
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

shutdown就行了,然后把port都划入vlan2,默认vlan1容纳native,在很多使用中,不使用VLAN1,用其它的VLAN。用TRUNK也可以,就是采用的解决方法思路不同而已,不过都是在避免native
 
2007-05-31, 17:33   #22
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

引用:
作者: tianping
我感觉除了要将25和28口修改成vlan2外,还应该在2950的级连口上做TRUNK才行。我也是初学者,不知建议可对。帮顶
这样的就不对了,如果2950是TRUNK,那么和他相连的交换机的端口必然也是TRUNK,而不能是vlan2
 
2007-05-31, 18:09   #23
tomiandll
注册用户


注册日期: Aug 2006
住址: fag
帖子: 211
精华: 0
现金: 457 金币
资产: 457 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

经典问题,native在两边的交换机不匹配,完全不会影响交换机性能,你甚至可是no cdp run,关掉cdp,这样就不会有报错了
 
2007-06-01, 08:19   #24
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

Native 不匹配,可是为何3750交换机每隔大概十几小时会自动重新启动?重新启动后,网络通信会正常,这个重新启动会与NATIVE不匹配有关系吗?
 
2007-06-01, 08:28   #25
shenxu
注册用户

注册日期: Jun 2005
住址: 郑州
帖子: 323
精华: 1
现金: 656 金币
资产: 656 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

Native 不匹配,似乎不应该导致重启动,恐怕还有其它原因,你可以先把Native 不匹配解决了看看再说。
 
2007-06-01, 11:47   #26
lyachen
注册用户


注册日期: May 2007
住址: 厦门
帖子: 26
精华: 0
现金: 85 金币
资产: 85 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:03:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:04:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:04:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:05:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:05:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:06:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:06:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:07:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:07:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:07:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:07:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:08:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:08:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:08:13: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:08:14: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to down
00:08:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:08:16: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to up
00:08:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:08:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:09:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:09:55: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:10:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:10:16: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:10:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:10:56: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:11:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).
00:11:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:11:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:11:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to down
00:11:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to down
00:11:40: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/16, changed state to up
00:11:41: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/16, changed state to up
00:11:56: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/28 (2), with Switch GigabitEthernet0/1 (1).
00:12:14: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (2), with Switch GigabitEthernet0/1 (1).

这是目前3750交换机的日志,其中总是有一个端口先DOWN 掉,然后又起来。明天星期六我将NATIVE VLAN不匹配解决好,就是不知道为何每隔十几小时会重新启动?
 
2007-06-01, 17:05   #27
123456789
注册用户


注册日期: Sep 2003
住址: zz
帖子: 764
精华: 0
现金: 1521 金币
资产: 1521 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

引用:
作者: lyachen
设为TRUNK 是否为如下:


int gigabitethernet1/0/25
switchport mode trunk
switchport access vlan 2
int gigabitethernet1/0/28
switchport mode trunk
switchport access vlan 2
命令不对!!!
应该是

int gigabitethernet1/0/25
switchport mode trunk
switchport trunk native vlan 2


int gigabitethernet1/0/28
switchport mode trunk
switchport trunk native vlan 2
__________________




 
2007-06-01, 22:38   #28
mengyan999
注册用户

注册日期: Feb 2006
住址: 成都
帖子: 214
精华: 0
现金: 434 金币
资产: 434 金币
声望: 10
回复: cisco 3750 交换机诊断日志分析

端口down了再up,可能是被err-disable了,你可以用show inter err-dis看看
交换机自己重启动,和native vlan不匹配应该没关系。你可以看看show ver和show stack中是否有异常