|
置名称-主机入口:
router(config)# ip host Set-Name [ TCP-Port-Number ] IP-Address [ IP-Address 2 ]... router(config)# ^z
定义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-if)# ip split-horizon router(config-if)# no ip split-horizon router(config-if)# ^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 ] < 页码:[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 第12页、共14页 |