CCNA考试实验命令总结(2) router# show ip interface 查看端口的IP配置信息 router# show hosts 查看主机表 end or ctrl+z 从各种配置模式退到特权模式 rl(config)# no ip domain-lookup 关闭动态域名解析 rl(config)# ip domain-lookup 打开动态域名解析 rl(config)# ip name-server 202.106.0.20 打开动态域名解析之后便可以 指定DNS服务 rl(config)# interface serial 0 进入serial 0的接口配置模式 rl(config-if)# no shutdown 路由器出厂默认所有端口关闭 使用此命令使它们打开 rl(config-if)# encapsulation ppp 封装ppp