CCNP(ISCW)实验:配置Cisco PPPoE Server and Client

网友投稿 350 2022-10-07


CCNP(ISCW)实验:配置Cisco PPPoE Server and Client

R1(config)#int dialer 0 //进入拨号0口配置模式R1(config-if)#ip add negotiated //开启address的协商R1(config-if)#en ppp //封装为pppR1(config-if)#dialer pool 1 //定义地址池编号为1R1(config-if)#ppp chap hostname liboR1(config-if)#ppp chap password ciscoR1(config-if)#exiR1(config)# ip route 0.0.0.0 0.0.0.0 dialer 0

第二步:配置R2为aggregation路由R2(config)#username libo password ciscoR2(config)#vpdn enable R2(config)#vpdn-group 1R2(config-vpdn)#accept-dialin //定义接受拨号R2(config-vpdn-acc-in)#protocol pppoe% PPPoE config from vpdn-group is converted to pppoe-profile based config.% Continue PPPoE configuration under 'bba-group pppoe global'R2(config-vpdn-acc-in)#exi

R2(config-vpdn)#bba-group pppoe globalR2(config-bba-group)#virtual-template 1 //创建一个虚模板R2(config-bba-group)#exiR2(config)#int f0/0R2(config-if)#no ip addR2(config-if)#pppoe enable R2(config-if)#no shR2(config)#int virtual-template 1R2(config-if)#ip add 10.0.0.1 255.255.255.0R2(config-if)#peer default ip add pool liboR2(config-if)#ppp authen chapR2(config-if)#exiR2(config)#ip local pool libo 10.0.0.10 10.0.0.20

第三步:配置ATM1ATM1(config)#no ip routingATM1(config)#int f0/0ATM1(config-if)#no ip addATM1(config-if)#no shATM1(config-if)#bridge-group 1ATM1(config-if)#int atm1/0ATM1(config-if)#no ip addATM1(config-if)#no shATM1(config-if)#bridge-group 1ATM1(config-if)#pvc 1/00ATM1(config-if-atm-vc)#encapsulation aal5snap ATM1(config-if-atm-vc)#bridge 1 protocol ieeeATM1(config)#endATM1#sh bridge group

Bridge Group 1 is running the IEEE compatible Spanning Tree protocol

Port 4 (FastEthernet0/0) of bridge group 1 is learningPort 5 (ATM1/0 RFC 1483) of bridge group 1 is learning

第四步:配置ATM2ATM2(config)#no ip routingATM2(config)#int f0/0ATM2(config-if)#no shATM2(config-if)#bridge-group 1ATM2(config-if)#int atm1/0ATM2(config-if)#no ip addATM2(config-if)#no shATM2(config-if)#bridge-group 1ATM2(config-if)#pvc 2/200ATM2(config-if-atm-vc)#encapsulation aal5snap ATM2(config-if-atm-vc)#bridge 1 protocol ieee

第五步: R1#show ip route ………………10.0.0.0/32 is subnetted, 2 subnets C 10.0.0.10 is directly connected, Dialer0C 10.0.0.1 is directly connected, Dialer0 S* 0.0.0.0/0 is directly connected, Dialer0

Debug过程May 10 15:03:18.879: PPPoE 0: I PADI R:ca01.0ed0.0000 L:ffff.ffff.ffff Fa0/0May 10 15:03:18.883: Service tag: NULL TagMay 10 15:03:18.883: PPPoE 0: O PADO, R:ca02.0b80.0000 L:ca01.0ed0.0000 Fa0/0May 10 15:03:18.887: Service tag: NULL TagR2#May 10 15:03:20.947: PPPoE 0: I PADR R:ca01.0ed0.0000 L:ca02.0b80.0000 Fa0/0May 10 15:03:20.951: Service tag: NULL TagMay 10 15:03:20.987: PPPoE : encap string preparedMay 10 15:03:20.999: [1]PPPoE 1: Access IE handle allocatedMay 10 15:03:21.007: [1]PPPoE 1: pppoe SSS switch updatedMay 10 15:03:21.007: [1]PPPoE 1: AAA unique ID allocatedMay 10 15:03:21.007: [1]PPPoE 1: No AAA accounting method list May 10 15:03:21.007: [1]PPPoE 1: Service request sent to SSSMay 10 15:03:21.011: [1]PPPoE 1: Created, Service: None R:ca02.0b80.0000 L:ca01.0ed0.0000 Fa0/0May 10 15:03:21.031: [1]PPPoE 1: State NAS_PORT_POLICY_INQUIRY Event MORE_KEYSR2#May 10 15:03:21.035: [1]PPPoE 1: O PADS R:ca01.0ed0.0000 L:ca02.0b80.0000 Fa0/0May 10 15:03:21.051: [1]PPPoE 1: State PPP_START Event DYN_BINDMay 10 15:03:21.051: [1]PPPoE 1: data path set to PPPMay 10 15:03:21.779: [1]PPPoE 1: State LCP_NEGOTIATION Event PPP_LOCALMay 10 15:03:21.783: PPPoE 1/SB: Sent vtemplate request on base Vi1May 10 15:03:22.259: [1]PPPoE 1: State VACCESS_REQUESTED Event VA_RESPMay 10 15:03:22.263: [1]PPPoE 1: Vi1.1 interface obtainedMay 10 15:03:22.267: [1]PPPoE 1: State PTA_BINDING Event STAT_BINDMay 10 15:03:22.271: [1]PPPoE 1: data path set to Virtual AcessMay 10 15:03:22.271: [1]PPPoE 1: Connected PTAShowR1#show pppoe session 1 client session

Uniq ID PPPoE RemMAC Port VT VA StateSID LocMAC VA-stN/A 1 ca02.0b80.0000 Fa0/0 Di0 Vi2 UP ca01.0ed0.0000 UP

R2#sh ip local pool

Pool Begin End Free In use Blockedlibo 10.0.0.10 10.0.0.20 10 1 0


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:CCNP(ISCW)实验:配置Cisco PPPoE Server和Client(PAT的转换)
下一篇:一篇文章带你入门java多线程
相关文章

 发表评论

暂时没有评论,来抢沙发吧~