Print

某局点S7610设备接口up down震荡未记录案例

2020-11-08 发表

组网及说明

问题描述

10.29日上午9:18分设备端口down up 了一次。

%Oct 29 09:18:14:211 2020 S7610 LAGG/6/LAGG_INACTIVE_PARTNER: Member port XGE0/0/3 of aggregation group BAGG2 changed to the inactive state, because the aggregation configuration of its peer port is incorrect.

%Oct 29 09:18:14:229 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to down.

%Oct 29 09:18:14:236 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregation2 changed to down.

%Oct 29 09:18:14:236 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Bridge-Aggregation2 changed to down.

%Oct 29 09:18:15:110 2020 S7610 LAGG/6/LAGG_ACTIVE: Member port XGE0/0/3 of aggregation group BAGG2 changed to the active state.

%Oct 29 09:18:15:126 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to up.

%Oct 29 09:18:15:147 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregation2 changed to up.

 

而接口下接口下记录的最后一次down up的时间是10.28日下午的down up 记录:

Ten-GigabitEthernet0/0/3

Current state: UP

Line protocol state: UP

IP packet frame type: Ethernet II, hardware address: 84d9-3137-1e00

Description: to BC_BC_ME60-X8_10G_GE2/1/3

Bandwidth: 10000000 kbps

Loopback is not set

Media type is optical fiber, port hardware type is 10G_BASE_ER_SFP

10Gbps-speed mode, full-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

Flow-control is not enabled

Maximum frame length: 9216

Allow jumbo frames to pass

Broadcast max-ratio: 100%

Multicast max-ratio: 100%

Unicast max-ratio: 100%

PVID: 1

MDI type: Automdix

Link-down delay is 3s, link-up delay is 3s

Port link-type: Trunk

VLAN Passing:   1001-2000, 3602, 3845-3899, 4000-4045

VLAN permitted: 1001-2000, 3602, 3845-3899, 4000-4045

Trunk port encapsulation: IEEE 802.1q

Port priority: 0

Last link flapping: 17 hours 27 minutes 17 seconds

Last clearing of counters: Never

Current system time:2020-10-29 10:02:49 China+08:00:00

Last time when physical state changed to up:2020-10-28 16:35:31 China+08:00:00

Last time when physical state changed to down:2020-10-28 16:34:53 China+08:00:00

Peak input rate: 674173395 bytes/sec, at 2020-09-26 21:55:01

 Peak output rate: 198728771 bytes/sec, at 2020-09-14 21:02:10

 Last 300 seconds input: 151930 packets/sec 177729250 bytes/sec 14%

Last 300 seconds output: 103243 packets/sec 46300011 bytes/sec 4%

Input (total):  948030105098 packets, 1099317284012196 bytes

         948027729299 unicasts, 0 broadcasts, 145466 multicasts, 0 pauses

Input (normal):  948027874765 packets, - bytes

         948027729299 unicasts, 0 broadcasts, 145466 multicasts, 0 pauses

Input:  2227928 input errors, 7439 runts, 0 giants, 0 throttles

         2220489 CRC, 0 frame, - overruns, 5446 aborts

         - ignored, - parity errors

Output (total): 620434871236 packets, 289586298121410 bytes

         620409619638 unicasts, 16446638 broadcasts, 8804960 multicasts, 0 pauses

Output (normal): 620434871236 packets, - bytes

         620409619638 unicasts, 16446638 broadcasts, 8804960 multicasts, 0 pauses

Output: 0 output errors, - underruns, - buffer failures

         0 aborts, 0 deferred, 0 collisions, 0 late collisions

         0 lost carrier, - no carrier

 

 经确认,

10.28日下午接口确实down up过的接口震荡信息:

%Oct 28 16:34:54:063 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregation2 changed to down.

%Oct 28 16:34:54:067 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Bridge-Aggregation2 changed to down.

%Oct 28 16:35:31:367 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet0/0/3 changed to up.

%Oct 28 16:35:31:395 2020 S7610 LAGG/6/LAGG_ACTIVE: Member port XGE0/0/3 of aggregation group BAGG2 changed to the active state.

%Oct 28 16:35:31:413 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to up.

%Oct 28 16:35:31:424 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregation2 changed to up.


为什么接口没有记录下10.29日上午的震荡信息呢?


过程分析

1.    两次log 打印不一样。

 

1次, 有端口 Physical state down 打印, down 时间接近 30 秒, 远远大于 3 秒的 link delay up

%Oct 28 16:34:53:990 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet0/0/3 changed to down.

%Oct 28 16:34:54:023 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to down.

%Oct 28 16:35:31:367 2020 S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet0/0/3 changed to up.

%Oct 28 16:35:31:413 2020  S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to up.

 

2次,没有 Physical state down 打印, down 时间只有持续了 1 秒, 小于 3 秒的 link delay 3 值。 产品没有向上报 端口 link down 事件。

%Oct 29 09:18:14:229 2020  S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to down.

%Oct 29 09:18:14:236 2020  S7610 IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregation2 changed to down.

%Oct 29 09:18:14:236 2020 S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Bridge-Aggregation2 changed to down.

%Oct 29 09:18:15:110 2020 S7610 LAGG/6/LAGG_ACTIVE: Member port XGE0/0/3 of aggregation group BAGG2 changed to the active state.

%Oct 29 09:18:15:126 2020  S7610 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet0/0/3 changed to up.

 

 

接口下记录:Ten-GigabitEthernet0/0/3 显示的是 Physical state up / down 的时间

Last time when physical state changed to up:2020-10-28 16:35:31 China+08:00:00

Last time when physical state changed to down:2020-10-28 16:34:53 China+08:00:00

解决方法

【结论】 正常情况;

只记录物理的down up时间,不记录由于协议引起的down up。