#system-view (Like configuration view in cisco)
#[sys]# interface eth0/0
#[sys]#shutdown
#[sys]# undo shutdown
#[sys]# description “xxxx”
#[sys]# duplex { auto | full | half } duplex setup in interface
#[sys]# speed { 10 | 100 | 1000 | auto } Set the transmission rate
(By default, the port speed is in the auto-negotiation mode)
# Specify GigabitEthernet 0/3 to operate as an electrical port (assuming that the port is a Combo port).
<Sysname> system-view
[Sysname] interface gigabitethernet 0/3
[Sysname-GigabitEthernet0/3] combo enable copper
# Specify GigabitEthernet 0/3 to operate as an optical port (assuming that the port is a Combo port).
#<Sysname> system-view
#[Sysname] interface gigabitethernet 0/3
#[Sysname-GigabitEthernet0/3] combo enable fiber
# Specify GigabitEthernet 0/3 to operate as an electrical port (assuming that the port is a Combo port).
<Sysname> system-view
[Sysname] interface gigabitethernet 0/3
[Sysname-GigabitEthernet0/3] combo enable copper
# Specify GigabitEthernet 0/3 to operate as an optical port (assuming that the port is a Combo port).
#<Sysname> system-view
#[Sysname] interface gigabitethernet 0/3
#[Sysname-GigabitEthernet0/3] combo enable fiber