我有一台 Cisco Catalyst 3850。我添加了一个带有 4 gbic 的网络模块用于光纤连接。模块在连接的两侧均未显示任何指示灯。在搜索了互联网后,我发现,像我一样添加网络模块时,我必须为这些接口启用 sfp 媒体类型。这是我尝试过的。
enable
conf t
int tengigabitethernet 1/1/1
media-type sfp
它不想接受这个命令。这是启用媒体类型 sfp 的正确方法吗?
显示库存命令:
flcoffice_48m_01#show inv
NAME: "c3xxx Stack", DESCR: "c3xxx Stack"
PID: WS-C3850-48T , VID: V04 , SN: FCW1905C178
NAME: "Switch 1", DESCR: "WS-C3850-48T"
PID: WS-C3850-48T , VID: V04 , SN: FCW1905C178
NAME: "Switch 1 - Power Supply A", DESCR: "Switch 1 - Power Supply A"
PID: PWR-C1-350WAC , VID: V01 , SN: LIT19221FY
NAME: "Switch 1 FRU Uplink Module 0", DESCR: "4x10G Uplink Module"
PID: C3850-NM-4-10G , VID: V01 , SN: FOC19238XKL
NAME: "TenGigabitEthernet1/1/1", DESCR: "1000BaseSX SFP"
PID: GLC-SX-MMD , VID: V01 , SN: FNS19270TD6
NAME: "TenGigabitEthernet1/1/2", DESCR: "1000BaseSX SFP"
PID: GLC-SX-MMD , VID: V01 , SN: FNS19270TQ0
NAME: "TenGigabitEthernet1/1/3", DESCR: "1000BaseSX SFP"
PID: GLC-SX-MMD , VID: V01 , SN: FNS1920059J
这是 errdisable 恢复命令:
flcoffice_48m_01#show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
arp-inspection Disabled
bpduguard Disabled
channel-misconfig (STP) Disabled
dhcp-rate-limit Disabled
dtp-flap Disabled
gbic-invalid Disabled
inline-power Disabled
l2ptguard Disabled
link-flap Disabled
mac-limit Disabled
loopback Disabled
pagp-flap Disabled
port-mode-failure Disabled
pppoe-ia-rate-limit Disabled
psecure-violation Disabled
security-violation Disabled
sfp-config-mismatch Disabled
storm-control Disabled
udld Disabled
vmps Disabled
psp Disabled
Recovery command: "clear Disabled
答案1
检查您的接口是否处于 err-disabled 状态。如果是,则这是由于已知的 Cisco 错误导致的,其中显示 gbic-invalid(即使它是有效的),您可以手动关闭不关闭带有 SFP 的接口,或者将 errdisable recovery cause gbic-invalid 添加到您的配置中。该错误可能会在未来的 IOS 版本中得到修复。
整齐的