1. Link Aggregation Configuration 구성도
1) Link Aggregation Configuration 구성도
2) 테스트 장비
- Emulator : EVE-NG
- OS : Juniper vMX 18.2R1.9
2. Link Aggregation Configuration
1) Link Aggregation Configuration
< R1 : Chassis에서 지원하는 Link Aggregation 개수 설정 >
set chassis aggregated-devices ethernet device-count 1
< R1 : Physical Interface를 Link Aggregation Interface에 Binding >
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ge-0/0/3 ether-options 802.3ad ae0
set interfaces ge-0/0/4 ether-options 802.3ad ae0
< R1 : Aggregation Ethernet(ae) Interface 생성 및 Family 설정 >
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 10
< R1 : VLAN 10 생성 및 IRB 설정 >
set interfaces irb unit 10 family inet address 1.1.2.1/24
set bridge-domains VLAN10 vlan-id 10
set bridge-domains VLAN10 routing-interface irb.10
< R2 : Chassis에서 지원하는 Link Aggregation 개수 설정 >
set chassis aggregated-devices ethernet device-count 1
< R2 : Physical Interface를 Link Aggregation Interface에 Binding >
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ge-0/0/3 ether-options 802.3ad ae0
set interfaces ge-0/0/4 ether-options 802.3ad ae0
< R2 : Aggregation Ethernet(ae) Interface 생성 및 Family 설정 >
set interfaces ae0 unit 0 family bridge interface-mode trunk
set interfaces ae0 unit 0 family bridge vlan-id-list 10
< R2 : VLAN 10 생성 및 IRB 설정 >
set interfaces irb unit 10 family inet address 1.1.2.2/24
set bridge-domains VLAN10 vlan-id 10
set bridge-domains VLAN10 routing-interface irb.10
- 'chassis aggregated-devices ethernet device-count'를 정의하지 않을 경우
- 'show interface terse' 명령어로 Physical Interface가 LAG에 Binding된 것을 확인 가능
- 'show interface terse' 명령어로 ae0 Interface 확인 불가능
- 'interface ae0'을 정의하지 않을 경우
- 'show interface terse' 명령어로 Physical Interface가 LAG에 Binding된 것을 확인 불가능
- 'show interface terse' 명령어로 ae0 Interface 확인 불가능
- Physical Interface를 Link Aggregation Interface에 Binding할 때, Physical Interface에 관련된 'unit' Configuration이 있으면 Commit 불가
2) Link Aggregation State 확인
root@R1> show interfaces terse | match ae0
ge-0/0/1.0 up up aenet --> ae0.0
ge-0/0/2.0 up up aenet --> ae0.0
ge-0/0/3.0 up up aenet --> ae0.0
ge-0/0/4.0 up up aenet --> ae0.0
ae0 up up
ae0.0 up up bridge
- Physical Interface가 Link Aggregation Interface인 'ae0'에 Binding된 것을 확인
root@R1> show interfaces ae0 extensive
Physical interface: ae0, Enabled, Physical link is Up
Interface index: 159, SNMP ifIndex: 540, Generation: 163
Link-level type: Ethernet, MTU: 1514, Speed: 4Gbps, BPDU Error: None,
MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Disabled
Pad to minimum frame size: Disabled
Minimum links needed: 1, Minimum bandwidth needed: 1bps
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Current address: 2c:6b:f5:4f:06:c2, Hardware address: 2c:6b:f5:4f:06:c2
Last flapped : 2024-10-24 09:30:43 UTC (00:27:15 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 103066 0 bps
Output bytes : 109184 0 bps
Input packets: 1011 0 pps
Output packets: 1012 0 pps
IPv6 transit statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Dropped traffic statistics due to STP State:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
MAC statistics: Receive Transmit
Broadcast packets 0 0
Multicast packets 0 0
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0,
Policed discards: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0,
Resource errors: 0
Ingress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
Egress queues: 8 supported, 4 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
Queue number: Mapped forwarding classes
0 best-effort
1 expedited-forwarding
2 assured-forwarding
3 network-control
Logical interface ae0.0 (Index 337) (SNMP ifIndex 541) (Generation 152)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Statistics Packets pps Bytes bps
Bundle:
Input : 0 0 0 0
Output: 0 0 0 0
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Link:
ge-0/0/1.0
Input : 0 0 0 0
Output: 1011 0 103066 0
ge-0/0/2.0
Input : 0 0 0 0
Output: 0 0 0 0
ge-0/0/3.0
Input : 0 0 0 0
Output: 0 0 0 0
ge-0/0/4.0
Input : 0 0 0 0
Output: 0 0 0 0
Aggregate member links: 4
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
ge-0/0/1.0 0 0 0 0
ge-0/0/2.0 0 0 0 0
ge-0/0/3.0 0 0 0 0
ge-0/0/4.0 0 0 0 0
List-Type Status
Primary Active
Interfaces:
ge-0/0/1 Up
ge-0/0/2 Up
ge-0/0/3 Up
ge-0/0/4 Up
List-Type Status
Backup Down
Standby Down
Protocol bridge, MTU: 1514, Generation: 170, Route table: 3,
Mesh Group: __all_ces__
Flags: Is-Primary, Trunk-Mode
root@R2> show interfaces ae0
Physical interface: ae0, Enabled, Physical link is Up
Interface index: 159, SNMP ifIndex: 537
Link-level type: Ethernet, MTU: 1514, Speed: 4Gbps, BPDU Error: None,
MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Disabled
Pad to minimum frame size: Disabled
Minimum links needed: 1, Minimum bandwidth needed: 1bps
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Current address: 2c:6b:f5:6e:9f:c5, Hardware address: 2c:6b:f5:6e:9f:c5
Last flapped : 2024-10-24 15:45:45 UTC (00:01:30 ago)
Input rate : 0 bps (0 pps)
Output rate : 4112 bps (3 pps)
Logical interface ae0.0 (Index 337) (SNMP ifIndex 542)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Statistics Packets pps Bytes bps
Bundle:
Input : 0 0 0 0
Output: 0 0 0 0
Adaptive Statistics:
Adaptive Adjusts: 0
Adaptive Scans : 0
Adaptive Updates: 0
Protocol bridge, MTU: 1514
Flags: Is-Primary, Trunk-Mode
- 'show interface ae0' 명령어를 이용하면 비교적 간단하게 확인 가능
- vMX에서 Link Aggregation에 Binding된 Physical Interface에 대한 Input/Output Count가 비정상인 것을 확인
- Local 장비에서 발생되는 데이터는 일부 정상처럼 확인
- Remote 장비에서 발생되는 데이터는 Physical Interface에 Count가 변경되지 않음을 확인
- 실장비에서 Link Aggregation에 Binding된 Physical Interface에 대한 Input/Output Count가 정상인 것을 확인
'Network > Link Aggregation' 카테고리의 다른 글
LACP Configuration(Juniper vMX) (0) | 2025.04.29 |
---|---|
LACP Configuration 정리(Juniper) (0) | 2025.04.25 |
LACP 동작 과정 (0) | 2025.04.23 |
Introduction to LACP (0) | 2025.04.21 |
LACP Header (0) | 2025.04.19 |
Introduction to PAGP (0) | 2025.04.17 |
PAGP Header (0) | 2025.04.15 |
Link Aggregation Load Balancing (0) | 2025.04.13 |