默认接口是关闭,需要启动
[*CE1]display interface brief 
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(d): Dampening Suppressed
(p): port alarm down
(dl): DLDP down
(c): CFM down
InUti/OutUti: input utility rate/output utility rate
Interface                  PHY      Protocol  InUti OutUti   inErrors  outErrors
GE1/0/0                    *down    down         0%     0%          0          0
GE1/0/1                    *down    down         0%     0%          0          0
GE1/0/2                    *down    down         0%     0%          0          0
GE1/0/3                    *down    down         0%     0%          0          0
GE1/0/4                    *down    down         0%     0%          0          0
GE1/0/5                    *down    down         0%     0%          0          0
GE1/0/6                    *down    down         0%     0%          0          0
GE1/0/7                    *down    down         0%     0%          0          0
GE1/0/8                    *down    down         0%     0%          0          0
GE1/0/9                    *down    down         0%     0%          0          0
MEth0/0/0                  up       down         0%     0%          0          0
NULL0                      up       up(s)        0%     0%          0          0
[*CE1]
[*CE1]int ge 1/0/0
[*CE1-GE1/0/0]undo shutdown 
[*CE1-GE1/0/0]commit 
[~CE1-GE1/0/0]quit
命令编写完成,需要提交,否则不生效
[*CE1-GE1/0/0]undo shutdown 
[*CE1-GE1/0/0]commit
端口默认为二层,无法配置IP
[~CE1-GE1/0/0]undo portswitch 
[*CE1-GE1/0/0]ip add 12.1.1.1 255.255.255.0
[*CE1-GE1/0/0]commit 
[~CE1-GE1/0/0]display this 
#
interface GE1/0/0
 undo portswitch
 undo shutdown
 ip address 12.1.1.1 255.255.255.0
#
return
[~CE1-GE1/0/0]