华为ensp 入门配置 | 您所在的位置:网站首页 › 端口down了怎么启动 › 华为ensp 入门配置 |
基础配置。 system-view #进入系统视图。 [Huawei] sysname R1 #配置设备名为R1。 [R1] interface GigabitEthernet 0/0/0 #进入G0/0/0接口。 [R1-GigabitEthernet0/0/0] ip address 12.1.1.1 24 #接口地址为12.1.1.1掩码长度为24位。 [R1-GigabitEthernet0/0/0] undo shutdown #开启接口。Ensp接口默认都是开启的。 [R1-GigabitEthernet0/0/0] quit #退出当前的一个视图模式。 [R1] return #无论当前在那个视图模式,直接返回用户视图模式。 save #保存配置。 The current configuration will be written to the device. Are you sure to continue? (y/n)[n]:y #询问是否保存,选y保存。 It will take several minutes to save configuration file, please wait....... Configuration file had been saved successfully Note: The configuration file will take effect after being activated |
CopyRight 2018-2019 实验室设备网 版权所有 |