ES4626-SFP_6.2.150.220 -Fix show interface switchport cause exception and reboot PTR No.:38-2015-01-13 Problem Description : ES4626-SFP v6.2.150.77 will have exception and then auto reboot every time after CLI command "show interface switchport" Test Procedure: (1) Bootup ES4626-SFP v6.2.150.77 with default setting. ES4626-SFP#show ver 1 ES4626-SFP Device, Compiled on Aug 22 14:16:33 2012 SoftWare Version 6.2.150.77 BootRom Version 4.10.1 HardWare Version 3.0 CPLD Version 1.0 Device serial number A004047184 Copyright (C) 2001-2012 by Accton Technology Corp. All rights reserved Last reboot is warm reset. Uptime is 0 weeks, 0 days, 0 hours, 4 minutes (2) Set "switchport mode trunk allow-null" on port. ES4626-SFP#con ES4626-SFP(config)#interface ethernet 1/1 ES4626-SFP(config-if-ethernet1/1)#switchport mode trunk allow-null Set the port Ethernet1/1 mode Trunk successfully ES4626-SFP(config-if-ethernet1/1)#ex ES4626-SFP(config)#ex % Ambiguous command: "ex" ES4626-SFP(config)#exit (3) Type "show interface switchport", then can see the problem. ES4626-SFP#show interface switchport 0x5a8b148 (zL2_shell): memPartFree: invalid block 0x521b670 in partition 0x1c12764. 0x5609200 (tWatchDog): fatal error of task zL2_shell %Jan 01 00:05:00 2006 WD log begin task: zL2_shell status:SUSPEND Stack trace: FUNC = 0xc5b680, PC = 0xc5b874 (taskSuspend + 0x1f4), SP = 0x5a8af88 FUNC = 0xc2c160, PC = 0xc2c2a8 (memPartFree + 0x148), SP = 0x5a8af98 FUNC = 0xc2c784, PC = 0xc2c7a0 (free + 0x1c), SP = 0x5a8afb8 FUNC = 0x676240, PC = 0x6763d0 (showOneSwitchPort + 0x190), SP = 0x5a8afc8 FUNC = 0x676580, PC = 0x676630 (showIfSwPort + 0xb0), SP = 0x5a8aff8 FUNC = 0x6800e4, PC = 0x680158 (show_switchport_interface_cli_edgecore + 0x74), SP = 0x5a8b018 FUNC = 0xb3e474, PC = 0xb3e624 (show_read + 0x1b0), SP = 0x5a8b028 FUNC = 0xb4bd0c, PC = 0xb4bd2c (thread_call + 0x20), SP = 0x5a8b058 FUNC = 0xafa3d8, PC = 0xafa4dc (l2_shell_main + 0x104), SP = 0x5a8b068 FUNC = 0x835a78, PC = 0x835a9c (l2_shell_entry + 0x24), SP = 0x5a8b0c8 FUNC = 0xedc67c, PC = 0xedc6e4 (vxTaskEntry + 0x68), SP = 0x5a8b0d8 RA 0x0 out of range r0 = 0x10d7f4 ,r1 = 0x5a8af88 ,r2 = 0x0 ,r3 = 0x0 , r4 = 0x3c ,r5 = 0x5a8a988 ,r6 = 0xb030 ,r7 = 0x5a8aa44 , r8 = 0x6f2d6b4 ,r9 = 0x1630000 ,r %Jan 01 00:05:00 2006 10 = 0x0 ,r11 = 0x1c13c00 , r12 = 0x1c7ba ,r13 = 0x0 ,r14 = 0x0 ,r15 = 0x0 , r16 = 0x0 ,r17 = 0x0 ,r18 = 0x0 ,r19 = 0x0 , r20 = 0x0 ,r21 = 0x0 ,r22 = 0x0 ,r23 = 0x0 , r24 = 0x0 ,r25 = 0x58fa920 ,r26 = 0x5243718 ,r27 = 0x56c15b8 , r28 = 0x1c12770 ,r29 = 0x521b670 ,r30 = 0x5a8b148 ,r31 = 0x5a8b148 , msr = 0xb030 ,lr = 0x10d7f4 ,ctr = 0x0 ,pc = 0xc5b874 , cr = 0x20000043 ,xer = 0x20000000 WD log end System is booting, please wait... Testing RAM... 0x08000000 RAM OK. Loading config.rom ... Attaching to file system ... done. Loading flash:/nos.img ... Starting at 0x10000... Attaching to file system ... done. Current time is Sun Jan 01 00:00:00 2006 ES4626-SFP Series Switch Operating System Software Version 6.2.150.77 Compiled Aug 22 14:16:33 2012 26 Ethernet/IEEE 802.3 interface(s) Mac Addr 00-12-cf-fa-2d-d0 Loading factory config ... web server is on %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/1, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/2, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/2, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/3, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/3, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/4, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/4, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/5, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/5, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/6, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/6, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/7, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/7, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/8, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/8, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/9, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/9, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/10, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/10, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/11, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/11, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/12, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/12, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/13, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/13, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/14, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/14, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/15, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/15, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/16, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/16, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/17, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/17, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/18, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/18, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/19, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/19, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/20, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/20, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/21, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/21, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/22, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/22, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/23, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/23, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/24, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/24, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/25, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/25, changed state to DOWN %Jan 01 00:00:20 2006 %LINK-5-CHANGED: Interface Ethernet1/26, changed state to UP %Jan 01 00:00:20 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/26, changed state to DOWN ES4626-SFP> ES4626-SFP>en ES4626-SFP# ES4626-SFP#show logging buffered Current messages in SDRAM:71 71 %Jan 01 00:01:30 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show logging buffered 70 %Jan 01 00:01:25 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:en 69 %Jan 01 00:00:25 2006 DEFAULT[zIMI]:System warm restart... 16 %Jan 01 00:00:00 2006 DEFAULT[app_root]:switch is booting, software version:ES4626-SFP_6.2.150.77... 15 %Jan 01 00:05:05 2006 DEFAULT[tWatchDog]:System will be rebooted, reason: reload by task exception 14 %Jan 01 00:05:00 2006 MODULE_WATCHDOG[tWatchDog]:10 = 0x0 ,r11 = 0x1c13c00 , r12 = 0x1c7ba ,r13 = 0x0 ,r14 = 0x0 ,r15 = 0x0 , r16 = 0x0 ,r17 = 0x0 ,r18 = 0x0 ,r19 = 0x0 , r20 = 0x0 ,r21 = 0x0 ,r22 = 0x0 ,r23 = 0x0 , r24 = 0x0 ,r25 = 0x58fa920 ,r26 = 0x5243718 ,r27 = 0x56c15b8 , r28 = 0x1c12770 ,r29 = 0x521b670 ,r30 = 0x5a8b148 ,r31 = 0x5a8b148 , msr = 0xb030 ,lr = 0x10d7f4 ,ctr = 0x0 ,pc = 0xc5b874 , cr = 0x20000043 ,xer = 0x20000000 WD log end 13 %Jan 01 00:05:00 2006 MODULE_WATCHDOG[tWatchDog]:WD log begin task: zL2_shell status:SUSPEND Stack trace: FUNC = 0xc5b680, PC = 0xc5b874 (taskSuspend + 0x1f4), SP = 0x5a8af88 FUNC = 0xc2c160, PC = 0xc2c2a8 (memPartFree + 0x148), SP = 0x5a8af98 FUNC = 0xc2c784, PC = 0xc2c7a0 (free + 0x1c), SP = 0x5a8afb8 FUNC = 0x676240, PC = 0x6763d0 (showOneSwitchPort + 0x190), SP = 0x5a8afc8 FUNC = 0x676580, PC = 0x676630 (showIfSwPort + 0xb0), SP = 0x5a8aff8 FUNC = 0x6800e4, PC = 0x680158 (show_switchport_interface_cli_edgecore + 0x74), SP = 0x5a8b018 FUNC = 0xb3e474, PC = 0xb3e624 (show_read + 0x1b0), SP = 0x5a8b028 FUNC = 0xb4bd0c, PC = 0xb4bd2c (thread_call + 0x20), SP = 0x5a8b058 FUNC = 0xafa3d8, PC = 0xafa4dc (l2_shell_main + 0x104), SP = 0x5a8b068 FUNC = 0x835a78, PC = 0x835a9c (l2_shell_entry + 0x24), SP = 0x5a8b0c8 FUNC = 0xedc67c, PC = 0xedc6e4 (vxTaskEntry + 0x68), SP = 0x5a8b0d8 RA 0x0 out of range r0 = 0x10d7f4 ,r1 = 0x5a8af88 ,r2 = 0x0 ,r3 = 0x0 , r4 = 0x3c ,r5 = 0x5a8a988 ,r6 = 0xb030 ,r7 = 0x5a8aa44 , r8 = 0x6f2d6b4 ,r9 = 0x1630000 ,r 12 %Jan 01 00:04:40 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show interface switchport 11 %Jan 01 00:04:36 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:exit 10 %Jan 01 00:04:34 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:ex 9 %Jan 01 00:04:31 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:ex 8 %Jan 01 00:04:29 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:switchport mode trunk allow-null 7 %Jan 01 00:04:21 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:interface ethernet 1/1 6 %Jan 01 00:04:20 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:con 5 %Jan 01 00:04:14 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show ver 1 4 %Jan 01 00:04:08 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show logging buffered 3 %Jan 01 00:04:05 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show logging buffered 1 %Jan 01 00:04:02 2006 DEFAULT[zIMI]:Type:Console, User:Null, Command:show logging buffered ES4626-SFP# ES4626-SFP# ES4626-SFP#