Skip to content

Instantly share code, notes, and snippets.

@njleonzhang
Last active November 8, 2018 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njleonzhang/c8cfd74d2f2c5611db1dcf3afa1b7c6f to your computer and use it in GitHub Desktop.
Save njleonzhang/c8cfd74d2f2c5611db1dcf3afa1b7c6f to your computer and use it in GitHub Desktop.
华为 AR 路由器配置静态 dns 解析

登录华为路由器

telnet 192.168.20.1

进入system view

system-view

添加记录

ip host mini.com 192.168.23.5

删除记录

undo ip host mini.com

显示记录

display ip host

保存配置并设置重启后生效

save test.cfg
startup saved-configuration test.cfg

参考文档: http://support.huawei.com/enterprise/zh/doc/EDOC1000051501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment