router> enable router# router# configure terminal router(config)# router(config)# interface Type Port router(config-if)# no shutdown router(config-if)# ip address IP-Address Subnet-Mask router(config。Cisco 路由配置語句匯總。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

Cisco 路由配置語句匯總


啟動(dòng)接口,分配IP地址:
router>
router> enable
router#
router# configure terminal
router(config)#
router(config)# interface Type Port
router(config-if)# no shutdown
router(config-if)# ip address IP-Address Subnet-Mask
router(config-if)# ^z
配置RIP路由協(xié)議:30秒更新一次
router(config)# router rip
router(config-if)# network Network-Number
router(config-if)# ^z
配置IGRP路由協(xié)議:90秒更新一次
router(config)# router igrp AS-Number
router(config-if)# network Network-Number
router(config-if)# ^z
配置Novell IPX路由協(xié)議:Novell RIP 60秒更新一次
router(config)# ipx routing [node address]
router(config)# ipx maximum-paths Paths
router(config)# interface Type Port
router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary]
router(config-if)# ^z
配置DDR:
router(config)# dialer-list Group-Number protocol Protocol-Type permit [list ACL-Number]
router(config)# interface bri 0
router(config-if)# dialer-group Group-Number
router(config-if)# dialer map Protocol-Type Next-Hop-Address name Hostname Telphone-Number
router(config-if)# ^z
配置ISDN:
router(config)# isdn swith-type Swith-Type
router(config-if)# ^z

配置Frame Relay:
router(config-if)# encapsulation frame-relay [ciscoietf ]
router(config-if)# frame-relay lmi-type [ansiciscoq933a ]
router(config-if)# bandwidth kilobits
router(config-if)# frame-relay invers-arp [ Protocol ] [dlci ]




router(config-if)# ^z
配置標(biāo)準(zhǔn)ACL:
router(config)# Access-list Access-List-Number [ permitdeny ] source [ source-mask ]
router(config)# interface Type Port
router(config-if)# ip access-group Access-List-Number [ inout ]
router(config-if)# ^z
配置擴(kuò)展ACL:
router(config)# access-list Access-List-Number [ permitdeny ] [ ProtocolProtocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ]
router(config)# interface Type Port
router(config-if)# ip access-group Access-List-Number [ inout ]
router(config-if)# ^z
配置命名ACL:
router(config)# ip access-list [ standardextended ] ACL-Name
router(config [ std-ext- ] nacl)# [ permitdeny ] [ IP-Access-List-Test-Conditions ]
router(config [ std-ext- ] nacl)# no [ permitdeny ] [ IP-Access-List-Test-Conditions ]
router(config [ std-ext- ] nacl)# ^z
router(config)# interface Type Port
router(config-if)# ip access-group [ACL-Name1~199 ] [ inout ]
router(config-if)# ^z
配置DCE時(shí)鐘:
router# show controllers Type Port
router(confin-if)# clock rate 64000
router(config-if)# ^z
配置PPP協(xié)議:
router(config)# username Name passWord Set-Password-Here
router(config)# interface Type Port
router(config-if)# encapsulation ppp
router(config-if)# ppp outhentication [ chapchap pappap chappap ]
router(config-if)# ppp pap sent-username Name password Password
router(config-if)# ^z
PAP單向認(rèn)證配置實(shí)例:
驗(yàn)證方:
router-server(config)# username Client password 12345
router-server(config)# interface serial 0
router-server(config-if)# encapsulation ppp
router-server(config-if)# ppp authentication pap
router-server(config-if)# ^z
被驗(yàn)證方:
router-client(config-if)# encapsulation ppp
router-client(config-if)# ppp pap sent-username Client password 12345
router-client(config-if)# ^z
PAP雙向認(rèn)證配置實(shí)例:
路由器 A:
routerA(config)# username B password 12345
routerA(config)# interface serial 0

推薦閱讀