Cisco路由配置語(yǔ)句匯總
啟動(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 <--通告標(biāo)準(zhǔn)A,B,C類網(wǎng)-->
router(config-if)# ^z
配置IGRP路由協(xié)議:90秒更新一次
router(config)# router igrp AS-Number <-- AS-Number范圍1~65535-->
router(config-if)# network Network-Number <--通告標(biāo)準(zhǔn)A,B,C類網(wǎng)-->
router(config-if)# ^z
配置Novell IPX路由協(xié)議:Novell RIP 60秒更新一次
router(config)# ipx routing [node address]
router(config)# ipx maximum-paths Paths <--設(shè)置負(fù)載平衡,范圍1~512-->
router(config)# interface Type Port
router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary] <--通告標(biāo)準(zhǔn)A,B,C類網(wǎng)-->
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)# isdnth-typeth-Type <--配置ISDN交換機(jī)類型,中國(guó)使用basic-net3-->
router(config-if)# ^z
配置Frame Relay:
router(config-if)# encapsulation frame-relay [cisco ietf ]
router(config-if)# frame-relay lmi-type [ansi cisco q933a ]
router(config-if)# bandwidth kilobits
router(config-if)# frame-relay invers-arp [ Protocol ] [dlci ]
<--配置靜態(tài)Invers ARP表:
router(config)# frame-relay Protocol Protocol-Address DLCI [ Broadcast ] [ ietf cisco ] [ payload-compress packet-by-packet ]
-->
<--設(shè)置Keepalive間隔:
router(config-if)# keepalive Number
-->
<--為本地接口指定DLCI:
router(config-if)# frame-lelay local-dlci Number
-->
<--子接口配置:
router(config-if)# interface Type Port.Subininterface-Number [ multipoint point-to-point ]
router(config-subif)# ip unnumbered Interface
router(config-subif)# frame-lelay local-dlci Number
-->
router(config-if)# ^z
配置標(biāo)準(zhǔn)ACL:
【匯總 路由器配置命令】router(config)# Access-list Access-List-Number [ permit deny ] source [ source-mask ] <-- Access-List-Number 范圍:1~99標(biāo)準(zhǔn)ACL;100~199擴(kuò)展ACL;800~899標(biāo)準(zhǔn)IPX ACL;900~999擴(kuò)展IPX ACL;1000~1099 IPX SAP ACL;600~699Apple Talk ACL-->
推薦閱讀
- 路由器debug基本操作和簡(jiǎn)單配置
- 解讀CISCO與華為3COM路由器配置差別
- 配置路由器以太網(wǎng)接口
- nubia M2青春版多少錢?努比亞M2青春版配置怎么樣?
- isdn caller
- 紅色iphone7多少錢?iPhone7紅色版配置價(jià)格匯總
- isdn spid2
- 努比亞N1怎么樣?nubia N1手機(jī)配置參數(shù)介紹
- isdn spid1
- 努比亞n2配置參數(shù) nubia n2價(jià)格多少錢
