NOS별 포트 설정 레시피: 속도, FEC, 브레이크아웃, 오버라이드
모듈이 승인되었다고 해도 포트에는 여전히 무엇을 할지 알려줘야 합니다: 어떤 속도로, 어떤 FEC로, 자동 협상을 할지, 브레이크아웃을 할지, 그리고 엄격한 플랫폼에서는 서드파티 식별 정보를 허용할지까지 정해야 합니다. 명령은 NOS마다 다르고 흔히 플랫폼과 릴리스에 따라서도 달라집니다. 이 페이지는 주요 시스템의 대표적인 형태를 나란히 제공합니다; 정확한 문법은 플랫폼 가이드에서 확인하고, 여기서는 무엇을 설정해야 하는지 지도로 삼으십시오.
양쪽 끝에서 일치해야 하는 설정
| 설정 항목 | 이유 | 흔한 함정 |
|---|---|---|
| 속도 | SerDes 레인 속도와 모듈 속도가 일치해야 함 | 25G 포트에 10G 모듈을 꽂거나, 듀얼레이트 모듈이 잘못된 속도로 설정된 경우(속도와 레이트) |
| FEC | 대부분의 25G+ PMD에서 필수; 양쪽이 동일한 코드를 사용해야 함 | 한쪽은 RS-FEC, 다른 쪽은 없음: 수치는 정상인데 링크가 안 됨(FEC와 AN) |
| 자동 협상/링크 트레이닝 | 25G+ DAC에서는 필수, 대부분의 광학 부품에서는 금지 | 광학 부품에 AN을 켜 두거나 DAC에서 꺼 둔 경우 |
| 브레이크아웃 | 상위 포트가 하위 포트로 분할됨 | 한쪽에만 설정하거나 WDM 광학 부품에 설정한 경우 |
| 매체/모드 | 콤보 포트, 구리 SFP의 SGMII 대 1000BASE-X | 잘못된 매체 유형이 활성화된 경우 |
| 서드파티 우회 설정 | 엄격한 플랫폼의 정책 스위치 | 모듈은 정상인데 포트가 errdisable된 경우(벤더 락) |
NOS별 레시피
꺾쇠괄호는 플레이스홀더를 나타내고, …는 플랫폼마다 달라지는 부분을 나타냅니다.
Cisco IOS-XE (Catalyst)
interface TwentyFiveGigE1/0/1
speed 10000 ! or 25000 (where the platform allows per-port speed)
fec cl74 ! cl74 = BASE-R, cl91/cl108 = RS-FEC, off
no negotiation auto ! optics; DAC keeps auto
service unsupported-transceiver ! global, hidden on many releases
no errdisable detect cause gbic-invalid
errdisable recovery cause gbic-invalid
show interfaces transceiver detail
Cisco NX-OS (Nexus)
interface Ethernet1/1
speed 25000
fec rs-fec ! rs-fec | fc-fec | off | auto
no negotiate auto
interface breakout module 1 port 1-4 map 25g-4x ! or: hw-module breakout … (older)
service unsupported-transceiver
show interface ethernet1/1 transceiver details
Cisco IOS-XR
controller Optics0/0/0/0
breakout 4x25 ! or: hw-module port-range 0 3 location … mode 4x25
interface HundredGigE0/0/0/0
fec standard | none
show controllers optics 0/0/0/0
Arista EOS
interface Ethernet1
speed forced 25gfull ! forced 10000full, 40gfull, 100gfull …
error-correction encoding reed-solomon ! fire-code | disabled
no negotiation
interface Ethernet33/1-4 ! breakout: configure speed on the /1-/4 children
speed forced 25gfull
hardware port-group 1 select Et33/1-4 ! some platforms
transceiver qsfp default-mode 4x10G ! platform default for QSFP+ ports
show interfaces transceiver dom
Juniper Junos (QFX/EX)
set chassis fpc 0 pic 0 port 0 channel-speed 25g ! breakout 4x25G on QFX
set chassis fpc 0 pic 0 port 48 speed 10g ! per-port speed on some models
set interfaces et-0/0/0 gigether-options fec fec91 ! fec74 | fec91 | none
set interfaces et-0/0/0 ether-options no-auto-negotiation
show interfaces diagnostics optics et-0/0/0
show chassis pic fpc-slot 0 pic-slot 0 ! lists "unsupported" optics
Huawei VRP (CloudEngine)
interface 25GE1/0/1
port mode 10GE ! or: speed 10000 on S-series
fec-mode rs-fec ! base-r | rs-fec | none (per platform)
negotiation auto disable
port split dimension interface 100GE1/0/1 split-type 4*25GE ! breakout, then commit/reboot on some
transceiver phony-alarm-disable ! system view: suppress non-Huawei optics alarms
display transceiver interface 25GE1/0/1 verbose
H3C Comware
interface Twenty-FiveGigE1/0/1
using tengige ! change port mode
port fec mode rs-fec ! (syntax varies)
transceiver phony-alarm-disable
display transceiver interface Twenty-FiveGigE1/0/1
HPE Aruba AOS-CX / AOS-S
! AOS-CX
interface 1/1/49
speed 25000-full
error-control rs-fec ! or: fec … per platform
allow-unsupported-transceiver
show interface 1/1/49 transceiver detail
! AOS-S (ProCurve)
allow-unsupported-transceiver
show interfaces transceiver detail
Dell OS10
interface breakout 1/1/1 map 25g-4x
interface ethernet1/1/1:1
speed 25000
fec CL91 ! CL74 | CL91 | CL108 | off
no negotiation
show interface ethernet 1/1/1:1 transceiver
SONiC
config interface speed Ethernet0 25000
config interface fec Ethernet0 rs ! rs | fc | none
config interface autoneg Ethernet0 disabled
config interface breakout Ethernet0 4x25G ! dynamic port breakout (platform support)
show interfaces transceiver eeprom -d Ethernet0
show interfaces status
Nvidia Cumulus (NVUE)
nv set interface swp1 link speed 25G
nv set interface swp1 link fec rs
nv set interface swp1 link auto-negotiate off
nv set interface swp1 link breakout 4x25G
nv config apply
l1-show swp1
MikroTik RouterOS
/interface ethernet set sfp-sfpplus1 auto-negotiation=no speed=10G-baseSR-LR
/interface ethernet set sfp28-1 fec-mode=fec91 ! fec74 | fec91 | off | auto
/interface ethernet monitor sfp-sfpplus1
Linux 호스트(서버 NIC)
ethtool -s eth0 speed 25000 duplex full autoneg off
ethtool --set-fec eth0 encoding rs # rs | baser | off | auto
ethtool -m eth0 # identity and DDM
# Intel ixgbe/i40e: allow non-Intel SFPs (module parameter; check the driver's docs)
modprobe ixgbe allow_unsupported_sfp=1
결과 검증
- 양쪽 끝에서 의도한 속도로 링크가 올라오고,
LOL이나 FEC 정정 불가 카운터가 없어야 합니다(VDM과 FEC 지표). show … transceiver에서 모듈이 지원됨(또는 허용됨) 상태로 DDM 수치와 함께 표시됩니다(스위치에서 광학 부품 검증하기).- 트래픽을 흘려보낸 지 몇 분 뒤에도 카운터가 깨끗합니다(링크 플래핑).
- 설정을 저장합니다; 브레이크아웃이나 포트 모드 변경에 재시작이 필요한 플랫폼에서는 재시작 후에도 변경 사항이 유지됩니다.
CodingBox에서
레시피는 포트에게 무엇을 할지 알려주고, 모듈은 포트에게 무엇을 할 수 있는지 알려줍니다. 속도나 브레이크아웃을 설정하기 전에 Check transceiver에서 모듈의 레이트 코드와 CMIS applications를 확인하십시오 — 모듈이 지원하지 않는다고 알리는 모드로는 포트를 설정할 수 없습니다.
Linux 호스트 레시피 뒤에 있는 전체 서버 측 도구 모음 — ethtool, mlxlink, bnxtnvm, Windows와 ESXi 명령, NIC에서 DDM 읽기: NIC 도구와 진단.
각 레시피 뒤에 있는 인터페이스 이름 규칙(Gi1/0/1, et-0/0/48:1, Ethernet0, swp1s0…): 포트 명명과 LED; 업링크 설정의 LAG/MLAG 측면: 스태킹과 MLAG.