种地 发表于 2022-8-10 16:05:16

ensp学习-2 ensp设置接口ip

1、设备型号
https://img2022.cnblogs.com/blog/427803/202206/427803-20220625105652438-1183309452.png
2、右键CLI进入命令行
The device is running!

<Huawei>The device has not been started!
The device has not been started!
################################################################################
##3、直接输portswitch报错
<Huawei>undo portswitch
             ^
Error: Unrecognized command found at '^' position.
<Huawei>ls
      ^
Error: Unrecognized command found at '^' position.
<Huawei>dev
      ^
Error: Unrecognized command found at '^' position.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
undo portswitch
             ^
Error: Unrecognized command found at '^' position.
undo portswitch
             ^
Error: Unrecognized command found at '^' position.
interface thernet 0/0/0
                  ^
Error: Wrong parameter found at '^' position.4、需要先执行如下指令
interface ethernet 0/0/05、设置接口IP
undo portswitch
ip address 192.168.10.2 246、查看接口
display interface brief
PHY: Physical
*down: administratively down
(l): loopback
(s): spoofing
(b): BFD down
^down: standby
(e): ETHOAM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface                   PHY   Protocol InUti OutUti   inErrorsoutErrors
Ethernet0/0/0               downdown      0%   0%          0          0
Ethernet0/0/1               downdown      0%   0%          0          0
Ethernet0/0/2               downdown      0%   0%          0          0
Ethernet0/0/3               downdown      0%   0%          0          0
Ethernet0/0/4               downdown      0%   0%          0          0
Ethernet0/0/5               downdown      0%   0%          0          0
Ethernet0/0/6               downdown      0%   0%          0          0
Ethernet0/0/7               downdown      0%   0%          0          0
Ethernet0/0/8               downdown      0%   0%          0          0
NULL0                     up    up(s)       0%   0%          0          07、查看接口IP
display ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 1
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 1
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol
Ethernet0/0/0                     192.168.10.2/24      down       down      
Ethernet0/0/8                     unassigned         down       down      
NULL0                           unassigned         up         up(s)   


Please check whether system data has been changed, and save data in time

Configuration console time out, please press any key to log on可以看到已经设置成功

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页: [1]
查看完整版本: ensp学习-2 ensp设置接口ip