老五说网络
如何清除配置?如何清空配置?如何恢复出厂配置?
恢复出厂配置后,已有配置数据将被全部清除,请提前保存配置文件。
<HUAWEI> reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:n
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
老五说网络
如何一键清除接口配置?
一键清除接口配置后接口被shutdown,需要执行undo shutdown打开接口。
[Huawei]clear configuration interface GigabitEthernet 0/0/1
Warning: All configurations of the interface will be cleared, and its state will
be shutdown. Continue? [Y/N] :Y
老五说网络
如何重置Console密码?
如果用户的Telnet账号具有3级或更高的权限,则可以通过Telnet登录到设备后修改Console密码。
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher YsHsjx_202206
[HUAWEI-ui-console0] return
老五说网络
如何重置Telnet密码?
通过Console口登录交换机,修改Telnet密码。
<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin password irreversible-cipher YsHsjx_202206
老五说网络
如何配置地址池中不参与自动分配的IP地址?
地址池中的部分IP地址如果需要保留以提供其他的服务,如分配给DNS服务器,需要把这些不参与自动分配的IP地址在地址池中排除出去,防止这些地址被DHCP服务器自动分配出去,引起IP地址冲突。
#接口视图下(接口地址池)执行命令:
[Huawei-Vlanif1]dhcp server excluded-ip-address 192.168.10.1 192.168.10.10
#全局地址池视图下执行命令:
[Huawei-ip-pool-1]excluded-ip-address 192.168.10.1 192.168.10.10
老五说网络
如何配置租期?
缺省情况下,租期为1天。
#接口视图下(接口地址池)执行命令:
[HUAWEI]dhcp server lease 0 2 0
#全局地址池视图下执行命令:
[Huawei-ip-pool-1]lease 0 2 0
老五说网络
如何为客户端分配固定的IP地址?
有些重要主机为了保证稳定性,需要使用固定的IP地址。
这种情况下,可以为指定客户端分配固定IP地址。被分配的固定IP地址必须在地址池可动态分配的IP地址范围之内。
#接口视图下(接口地址池)执行命令:
[Huawei-Vlanif1]dhcp server static-bind ip-address 192.168.10.1 ccss-12we-3343
#全局地址池视图下执行命令:
[Huawei-ip-pool-1]static-bind ip-address 192.168.10.1 ccss-12we-334
长按二维码
关注更多精彩
推荐站内搜索:最好用的开发软件、免费开源系统、渗透测试工具云盘下载、最新渗透测试资料、最新黑客工具下载……
还没有评论,来说两句吧...