combo enable copper
背景,插上电口不亮,光电复用口,使用undo依旧不行,后面发现只能使用命令强制使用电口才行
[chen-H3C-GigabitEthernet1/0/0]undo shutdown
[chen-H3C-GigabitEthernet1/0/0]int g 1/0/1
[chen-H3C-GigabitEthernet1/0/1]dis th
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip address 192.168.20.253 255.255.255.0
#
return
[chen-H3C-GigabitEthernet1/0/1]undo combo enable
[chen-H3C-GigabitEthernet1/0/1]dis th
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip address 192.168.20.253 255.255.255.0
#
return
[chen-H3C-GigabitEthernet1/0/1]dis ip int br
*down: administratively down
(s): spoofing (l): loopback
Interface Physical Protocol IP address/Mask VPN instance Description
GE1/0/0 down down 192.168.0.1/24 -- --
GE1/0/1 down down 192.168.20.253/24 -- --
GE1/0/2 down down 192.168.1.1/24 -- --
GE1/0/3 down down -- -- --
GE1/0/4 down down -- -- --
GE1/0/5 up up -- -- --
GE1/0/6 up up -- -- --
GE1/0/7 up up -- -- --
GE1/0/8 up up -- -- --
GE1/0/9 down down -- -- --
GE1/0/10 down down -- -- --
GE1/0/11 down down -- -- --
[chen-H3C-GigabitEthernet1/0/1]combo enable copper
[chen-H3C-GigabitEthernet1/0/1]dis th
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable copper
ip address 192.168.20.253 255.255.255.0
#
return
[chen-H3C-GigabitEthernet1/0/1]int g 1/0/0
[chen-H3C-GigabitEthernet1/0/0]dis th
#
interface GigabitEthernet1/0/0
port link-mode route
combo enable fiber
ip address 192.168.0.1 255.255.255.0
#
return
[chen-H3C-GigabitEthernet1/0/0]combo enable copper
[chen-H3C-GigabitEthernet1/0/0]dis %Oct 6 04:57:26:818 2026 chen-H3C IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/1 changed to up.
%Oct 6 04:57:26:819 2026 chen-H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to up.
%Oct 6 04:57:26:922 2026 chen-H3C RM/4/RM_ADD_DEFAULTRT: The default route is added.(AddrFamily=IPv4, VPN=default-vrf, ProcessID=0, Protocol=STATIC, SubProtocol=Static(0x1), Interface=GigabitEthernet1/0/1, Nexthop=192.168.20.1, Neighbor=0.0.0.0, Preference=60, Cost=0, NibID=0x11000000).
[chen-H3C-GigabitEthernet1/0/0]%Oct 6 04:57:29:874 2026 chen-H3C IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/0 changed to up.
%Oct 6 04:57:29:874 2026 chen-H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/0 changed to up.
dis int br
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
GE1/0/0 UP UP 192.168.0.1
GE1/0/1 UP UP 192.168.20.253
GE1/0/2 DOWN DOWN 192.168.1.1
GE1/0/3 DOWN DOWN --
GE1/0/4 DOWN DOWN --
GE1/0/5 UP UP --
GE1/0/6 UP UP --
GE1/0/7 UP UP --
GE1/0/8 UP UP --
GE1/0/9 DOWN DOWN --
GE1/0/10 DOWN DOWN --
GE1/0/11 DOWN DOWN --
InLoop0 UP UP(s) --
NULL0 UP UP(s) --
REG0 UP -- --
