定义dns主机:
以下是引用片段:
router(config)# ip name-server server-address [ server-address 2 ]...
router(config)# ^z
禁用dns:
以下是引用片段:
router(config)# no ip domain-lookup
router(config)# ^z
配置静态路由:
以下是引用片段:
router(config)# ip route ip-address subnet-mask [ next-hop-address local-out-port ] [distace ]
<--distance范围:1~255,相当于优先权,越小越好。rip=120;dspf=110;igrp=100;eigrp=90-->
router(config)# ^z
配置缺省路由:
以下是引用片段:
router(config)# ip defoult-network ip-address <--动态缺省路由-->
router(config)# ip route 0.0.0.0 0.0.0.0 [ next-hop-address local-out-port ] [distace ] <--静态缺省路由-->
router(config)# ^z
配置名称-主机入口:
以下是引用片段:
router(config)# ip host set-name [ tcp-port-number ] ip-address [ ip-address 2 ]...
router(config)# ^z
设置主机名:
以下是引用片段:
router(config)# hostname set-hostname
router(config)# ^z
router(config)# ^z
cdp的控制:
以下是引用片段:
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载