如何在CISCO路由器上配置PPP協議PAP認證

2021-03-08 21:52:54 字數 6418 閱讀 8088

1樓:匿名使用者

rv-1(config)#enable secret cisco

rv-1(config)#username rv-2 password cisco

rv-1(config)#inte***ce serial 0/0

rv-1(config-if)#ip address 10.1.1.1 255.255.255.252

rv-1(config-if)#encapsulation ppp

rv-1(config-if)#clock rate 128000

rv-1(config-if)#ppp authentication pap default

rv-1(config-if)#ppp pap sent-username rv-1 password cisco

rv-1(config-if)#no shutdown

rv-2(config)#enable secret cisco

rv-2(config)#username rv-1 password cisco

rv-2(config)#inte***ce serial 0/0

rv-2(config-if)#ip address 10.1.1.2 255.255.255.252

rv-2(config-if)#encapsulation ppp

rv-2(config-if)#ppp authentication pap default

rv-2(config-if)#ppp pap sent-username rv-2 password cisco

rv-2(config-if)#no shutdown

2樓:匿名使用者

路由器r1進入介面,

配置好ip後:

r1(config-if)# encapsulation ppp

r1(config-if)# ppp authentication pap

exit

r1(config)# username r2 pass cisco

r1(config)# ppp pap sent usename r1 password cisco

r2進入介面,配置ip:

r2(config-if)# encapsulation ppp

r2(config-if)# ppp authentication pap

exit

r2(config)# username r1 pass cisco

r2(config)# ppp pap sent usename r2 password cisco

3樓:匿名使用者

encapcalation ppp

4樓:匿名使用者

r1> en

r1#conf t

r1(conf t)#int s0/0

r1(conf t)#encapcalation ppp 封裝為ppp

如何驗證ppp協議

5樓:昊涙

1、第一步ra與rb互相進行連通性測試

2、第二步檢查驗證ra與rb之間的pap認證3、第三步rb與rc互相進行連通性

測試4、第四步檢查驗證rb與rc之間的chap認證

6樓:很多很多

1、開啟思科模擬器軟體,找出3臺2811類的路由器,並且用串列埠線將它們連線起來,

2、命名各台路由器,分別為a,b,c,如下圖所示:

3、 配置路由器a帶pap認證的ppp協議,配置命令是:

a(config-if)#encapsulation ppp

a(config-if)#ppp authentication pap

a(config-if)#ppp pap sent-username a pa

a(config-if)#ppp pap sent-username a password 123

a(config-if)#no shut

a(config-if)#int s0/0/1

a(config-if)#encapsulation ppp

a(config-if)#ppp authentication pap

a(config-if)#ppp pap sent-username a password 123

a(config-if)#no shut

a(config-if)#exit

a(config)#username b password 123

a(config)#username c password 123

如下圖所示:

4、配置路由器b帶pap認證的ppp協議,配置命令是:

b#conf t

enter configuration ***mands, one per line.  end with **tl/z.

b(config)#int s0/0/0

b(config-if)#encapsulation ppp

b(config-if)#ppp authentication pap

b(config-if)#ppp pap sent-username b password 123

b(config-if)#exit

b(config)#username a password 123

如下圖所示:

5、 配置路由器c帶pap認證的ppp協議,配置命令是:

c#conf t

enter configuration ***mands, one per line.  end with **tl/z.

c(config)#int s0/0/0

c(config-if)#encapsulation ppp

c(config-if)#ppp authentication pap

c(config-if)#ppp pap sent-username c password 123

c(config-if)#no shut

c(config-if)#exit

c(config)#username a password 123

7樓:匿名使用者

需要一端配置為認證端,認證端需要配置aaa,一端配置使用者名稱和密碼,認證的協議可以是pap或者chap,chap相對pap更安全一些

如何在cisco路由器上配置wccp

8樓:南京新華電腦專修學院

下面是乙個示例配置

router(config)# ip wccp version 2

router(config)# ip wccp web-cache password mypassword

router(config)# inte***ce fa0/0

router(config-if)# ip wccp web-cache redirect out

router(config-if)# ^z

這些命令告知路由器,它應當接受使用「mypassword」作為口令的wccp註冊請求。同時,它也告知wccp快取引擎,哪個路由器在執行wccp,並向該路由器註冊快取。

那麼,該如何檢查路由器wccp的狀態呢?這裡是乙個示例:

router# show ip wccp

global wccp information:

router information:

router identifier: -not yet determined-

protocol version: 2.0

service identifier: 2

number of cache engines: 0

number of routers: 0

total packets redirected: 0

redirect access-list: -none-

total packets denied redirect: 0

total packets unassigned: 0

group access-list: -none-

total messages denied to group: 0

total authentication failures: 0

router#

雖然wccp不是乙個任何人都需要進行配置的東西,但是了解它的基本概念還是很重要的。並且,為了以防萬一,你也應當知道如何對它進行配置。

cisco路由器pppoe撥號怎麼配置?

9樓:

vpdn enable(開啟vpdn)

vpdn-group tyl

request-dialin

protocol pppoe(啟用pppoe協議)

inte***ce ether***0

no ip address

pppoe enable

pppoe-client dial-pool-number 1(將物理埠和虛擬撥號埠繫結)

inte***ce ether***1 內網介面

ip address 192.168.1.254 255.255.255.0

ip nat inside

inte***ce dialer1

ip address negotiated

ip mtu 1492   (將原來的mtu1500變為1492,因pppoe 的包頭是8個位元組)

ip nat outside

encapsulation ppp

dialer pool 1 (通過撥號池,將物理埠和虛擬撥號埠繫結)

ppp pap sent-username ******@163.gd password 0 ******(ppp pap的單向驗證)

ip nat inside source list 1 inte***ce dialer1 overload(nat轉換)

ip route 0.0.0.0 0.0.0.0 dialer1(設定靜態路由)

access-list 1 permit any

10樓:楓橋映月夜泊

首先配置vpdn

router(config)#vpdn enable(啟用路由器的虛擬專用撥號網路-vpnd)

router(config)#vpdn-group office (建立乙個vpdn 組 office)

router(config-vpdn)#request-dialin(初始化乙個vpnd tunnel,建立乙個請求撥入的vpdn子組,)

router(config-vpdn-req-in)#protocol pppoe (vpdn子組使用pppoe建立會話隧道)

第二配置路由器與adsl 貓的連線埠

router(config)#inte***ce fastether*** 0/1

router(config-if)#no ip address

router(config-if)#pppoe enable  允許以太介面執行pppoe

router(config-if)#pppoe-client dial-pool-number1將以太介面的pppoe撥號客戶端加入撥號池1

3、adsl配置撥號

router(config)#inte***ce dialer1 (配置邏輯撥號介面)

router(config-if)#ip address negotiated (從adsl服務商動態協商得到ip位址)

router(config-if)#ip nat outside (為該介面啟用nat )

router(config-if)#encapsulation ppp (為該介面封裝ppp協議)

router(config-if)#dialer pool 1 (該介面使用1號撥號池進行撥號)

router(config-if)#dialer-group 1 (該命令對於pppoe是意義不大的)

router(config-if)#ppp authentication pap callin (啟用ppp pap驗證)

router(config-if)#$t-username fsdsl ***xgd password ***xx(***為申請adsl的使用者名稱和口令)

這樣基本就齊了,但是你還要設定內部網路的nat以及預設路由,算了我都貼上吧

配置nat:

router(config)#access-list 1 permit 10.10.10.0 0.0.0.255

router(config)#ip nat inside source list 1 inte***ce dialer 1 overload

配置預設路由

router(config)ip route 0.0.0.0 0.0.0.0 dialer1

CISCO路由器如何新增介面,如何配置cisco路由器的序列介面

你只需要添購一張.hwic 1fe或hwic 2fe或hwic 1ge 只是 挺不便宜的 如果要便宜的,就去購買nm 1fe 這是舊規格了,二手的 也很便宜 每家公司的 都不同,你自己打 去問吧有光纖介面.如hwic 1ge sfp 還是一樣,你自己去問會比較好xd 擴充套件過程只需要關閉電源後,插...

對Cisco路由器2621進行以下配置

1.access list 100 permit tcp 10.0.0.0 0.0.0.255 eq 23 any eq23 access list 100 deny tcp any eq 23 any eq23 lint vty 0 4 access group 100 in login pass...

如何配置cisco2600路由器的ospf協議

router ospf 1 開啟ospf程序1 router id 1.1.1.1 定義router id passive inte ce default 預設全為被動介面 no passive inte ce serial0 0 開啟需要建鄰居的介面 no passive inte ce seri...