本文档提供数字用户线路(DSL)组件的一般说明,以及这些组件如何在基本DSL实施中配合使用。本文档中的示例配置显示当前使用的最常见DSL网络。您可以将这些配置用作设计宽带聚合实施的一般参考。但是,请勿将这些配置视为一个千篇一律的解决方案。每个客户和每个需求都不同,有多种方法可以实现相同的设计目标。
尽管本文档中的配置尽可能完整,但文档仅提供基本行。本文档假设用户对思科设备配置有基本的了解,并省略了许多基本命令行。仅将这些配置用作设计您自己的实施的起点。
本文档没有任何特定的要求。
本文档不限于特定的软件和硬件版本。
有关文档规则的详细信息,请参阅 Cisco 技术提示规则。
本部分提供有关如何配置本文档所述功能的信息。
注意:使用命令查找工具(仅限注册客户)可查找有关本文档中使用的命令的详细信息。
本部分使用以下网络设置:
本示例介绍如何通过PPP over ATM(PPPoA)将Cisco 677或其他DSL用户端设备(CPE)连接到Cisco 7200。 该配置包括Cisco Lightstream 1010(LS1010)ATM交换机,这是可选组件。如果直接将DSL接入乘数(DSLAM)连接到Cisco 7200,结果相同。
在本例中,您在Cisco 677上建立PPP会话并在Cisco 7200上终止。会话终止后,传统IP会将流量传递给网络服务提供商(NSP)或Internet。
CPE具有执行网络地址转换(NAT)/端口地址转换(PAT)的配置。 CPE还实施DHCP服务器,为以太网站分配IP地址。
本部分使用以下配置:
PPPoA的PC配置 |
---|
注意:如果DHCP无法传递此信息,则需要设置域名。 |
PPPoA的Cisco CPE配置 |
---|
cbos> enable Password: cbos# set nat enable NAT is now enabled You must use "write" then reboot for changes to take effect. cbos# set ppp wan0-0 login User name for wan0-0 has been set to testcpe. cbos# set ppp wan0-0 password Password for wan0-0 has been set to cisco. cbos# set ppp wan0-0 ipcp 0.0.0.0 PPP wan0-0 IPCP Address set to 0.0.0.0 cbos# set int wan0-0 close cbos# set int wan0-0 vpi 1 cbos# set int wan0-0 vci 32 cbos# set int wan0-0 open cbos# set int eth0 address 172.22.10.254 eth0 ip address changed from 10.0.0.1 to 172.22.10.254 cbos# set int eth0 netmask 255.255.255.0 eth0 netmask changed from 255.255.255.0 to 255.255.255.0 cbos# set dhcp server enable DHCP Server enabled cbos# set dhcp server pool 0 ip 172.22.10.0 Pool 0 IP parameter is now 172.22.10.0 cbos# set dhcp server pool 0 netmask 255.255.255.0 Pool 0 netmask parameter is now 255.255.255.0 cbos# set dhcp server pool 0 gateway 172.22.10.254 Pool 0 gateway parameter is now 172.22.10.254 cbos# set password exec Exec Password Change Successful! cbos# set password enable Enable Password Change Successful! cbos# write NVRAM written. |
PPPoA的Cisco DSLAM配置 |
---|
hostname 6260 ! Subtending Port - Will set as shutdown interface atm0/2 shutdown slot 1 atuc-1-4dmt ! dsl-profile fast dmt codeword-size downstream 16 upstream 16 dmt bitrate maximum interleaved downstream 8032 upstream 832 ! interface atm1/1 dsl profile fast atm pvc 1 32 interface atm0/1 1 35 |
PPPoA的Cisco LS1010配置 |
---|
interface ATM 0/1/2 no ip address no ip directed-broadcast no ATM ilmi-keepalive ATM pvp 1 interface ATM 0/0/2 1 |
PPPoA的Cisco 7200配置 |
---|
aaa new-model AAA authentication ppp default local ! ! username password ! ! interface ATM 2/0.1 multipoint no ip directed-broadcast PVC 1/35 encapsulation aal5mux ppp Virtual-Template 2 ! ! interface FastEthernet 4/0 ip address 172.22.32.1 255.255.255.0 no ip directed-broadcast ! ! interface Virtual-Template 2 ip unnumbered FastEthernet 4/0 no ip directed-broadcast peer default ip address pool <pool name> ppp authentication pap ! ! ip local pool <pool name> 172.22.40.10 172.22.40.25 |
本部分使用以下网络设置:
本示例介绍如何通过RFC 1483桥接封装将Cisco 677或其他DSL CPE连接到Cisco 7200。此配置包括Cisco LS1010 ATM交换机,这是可选组件。如果直接将DSLAM连接到Cisco 7200,结果相同。
在本例中,您在Cisco 677上建立桥接会话并在Cisco 7200上终止。会话桥接到Cisco 7200后,传统IP会将流量传递到NSP或Internet。配置在7200中的DHCP服务器为客户端工作站分配IP地址。
此配置使用集成路由和桥接(IRB)。 要减轻IRB的可扩展性和安全问题,请考虑路由桥接封装(RBE)。
本部分使用以下配置:
RFC 1483的PC配置 |
---|
注意:如果DHCP无法传递此信息,则需要设置域名。 |
RFC 1483的Cisco 677 CPE配置 |
---|
cbos# set bridging rfc1483 enabled !--- Use write, then reboot for the changes to take effect. cbos# set bridging management enable cbos# set int eth0 address 172.22.40.25 !--- You use this IP address for management purposes only. cbos# set int wan0-0 close cbos# set int wan0-0 vpi 1 cbos# set int wan0-0 vci 32 cbos# set int wan0-0 open cbos# write NVRAM written. cbos# reboot |
RFC 1483的Cisco DSLAM配置 |
---|
hostname 6260 ! Subtending Port - Will set as shutdown interface atm0/2 shutdown slot 1 atuc-1-4dmt ! dsl-profile fast dmt codeword-size downstream 16 upstream 16 dmt bitrate maximum interleaved downstream 8032 upstream 832 ! interface atm1/1 dsl profile fast ATM PVC 1 32 interface atm0/1 1 35 |
RFC 1483的Cisco LS1010配置 |
---|
interface ATM 0/1/2 no ip address no ip directed-broadcast no ATM ilmi-keepalive ATM pvp 1 interface ATM 0/0/2 1 |
RFC 1483的Cisco 7200配置 |
---|
ip dhcp excluded-address 172.22.40.1 172.22.40.25 ! ! ip dhcp pool 0 network 172.22.40.0 255.255.255.0 default-router 172.22.40.9 dns-server netbios-name-server ! ! bridge irb ! ! interface ATM 2/0 no ip address no ip directed-broadcast no ATM ilmi-keepalive ! ! interface ATM 2/0.1 point-to-point no ip directed-broadcast PVC 1/35 encapsulation aal5snap bridge-group 1 ! ! interface ATM 2/0.2 point-to-point no ip directed-broadcast PVC 1/36 encapsulation aal5snap bridge-group 1! ! interface FastEthernet 4/0 ip address 172.22.32.1 255.255.255.0 no ip directed-broadcast ! ! interface BVI 1 ip address 172.22.40.9 255.255.255.0 no ip directed-broadcast ! ! bridge 1 protocol ieee bridge 1 route ip |
本部分使用以下网络设置:
RBE目前是大多数新DSL安装的首选配置。RBE解决宽带用户环境中桥接的安全和可扩展性问题。
配置在7200中的DHCP服务器为客户端工作站分配IP地址。
重要信息:除了使用Cisco IOS®软件版本12.1(2)T或更高版本时,DHCP无法在未编号ATM的路由器上运行。
本部分使用以下配置:
RBE的PC配置 |
---|
注意:如果DHCP无法传递此信息,则需要设置域名。 |
RBE的Cisco CPE配置 |
---|
cbos# set bridging rfc1483 enabled !--- Use write, then reboot for the changes to take effect. cbos# set bridging management enable cbos# set int eth0 address 172.22.40.25 !--- You use this IP address for management purposes only. cbos# set int wan0-0 close cbos# set int wan0-0 vpi 1 cbos# set int wan0-0 vci 32 cbos# set int wan0-0 open cbos# write NVRAM written. cbos# reboot |
RBE的Cisco DSLAM配置 |
---|
hostname 6260 ! Subtending Port - Will set as shutdown interface atm0/2 shutdown slot 1 atuc-1-4dmt ! dsl-profile fast dmt codeword-size downstream 16 upstream 16 dmt bitrate maximum interleaved downstream 8032 upstream 832 ! interface atm1/1 dsl profile fast ATM PVC 1 32 interface atm0/1 1 35 |
用于RBE的思科LS1010配置 |
---|
interface ATM 0/1/2 no ip address no ip directed-broadcast no ATM ilmi-keepalive ATM pvp 1 interface ATM 0/0/2 1 |
Cisco 7200 RBE配置 |
---|
ip dhcp excluded-address 172.22.40.1 172.22.40.25 ! ! ip dhcp pool 0 network 172.22.40.0 255.255.255.0 default-router 172.22.40.9 dns-server netbios-name-server ! ! interface Loopback0 ip address 172.22.40.9 255.255.255.0 ! ! interface ATM 2/0 no ip address no ip directed-broadcast no ATM ilmi-keepalive ! ! interface ATM 2/0.1 point-to-point ip unnumbered Loopback0 no ip directed-broadcast ATM route-bridged ip PVC 1/35 encapsulation aal5snap ! ! interface ATM 2/0.2 point-to-point ip unnumbered Loopback0 no ip directed-broadcast ATM route-bridged ip PVC 1/36 encapsulation aal5snap ! ! interface FastEthernet 4/0 ip address 172.22.32.1 255.255.255.0 no ip directed-broadcast ! ! |
本部分使用以下网络设置:
以太网PPP(PPPoE)将PPP会话从路由器扩展到终端客户端。PPP和身份验证软件通常在客户端上运行,在操作系统内或在独立应用中运行。CPE在桥接模式下工作,以通过DSL连接桥接PPP会话。但CPE在此场景中不能充当DHCP服务器。
CPE、DSLAM和ATM交换机的配置与RFC 1483桥接的配置相同。您可以配置Cisco 7200聚合路由器进行本地身份验证,如本例所示。或者,您可以配置7200的身份验证、授权和记帐(AAA)RADIUS身份验证。
本部分使用以下配置:
PPPoE的PC配置 |
---|
注意:如果DHCP无法传递此信息,则需要设置域名。 注意:终端站必须能够建立到路由器的PPP连接。可能需要用于身份验证和访问的特殊客户端软件。 |
用于PPPoE的Cisco 677 CPE配置 |
---|
cbos# set bridging rfc1483 enabled !--- Use write, then reboot for the changes to take effect. cbos# set bridging management enable cbos# set int eth0 address 172.22.40.25 !--- You use this IP address for management purposes only. cbos# set int wan0-0 close cbos# set int wan0-0 vpi 1 cbos# set int wan0-0 vci 32 cbos# set int wan0-0 open cbos# write NVRAM written. cbos# reboot |
PPPoE的Cisco DSLAM配置 |
---|
hostname 6260 ! Subtending Port - Will set as shutdown interface atm0/2 shutdown slot 1 atuc-1-4dmt ! dsl-profile fast dmt codeword-size downstream 16 upstream 16 dmt bitrate maximum interleaved downstream 8032 upstream 832 ! interface atm1/1 dsl profile fast ATM PVC 1 32 interface atm0/1 1 35 |
PPPoE的Cisco LS1010配置 |
---|
interface ATM 0/1/2 no ip address no ip directed-broadcast no ATM ilmi-keepalive ATM pvp 1 interface ATM 0/0/2 1 |
Cisco 7200 PPPoE配置 |
---|
! username <username> password <password> ! vpdn enable ! vpdn-group 1 accept-dialin protocol pppoe virtual-template 1 pppoe limit per-mac 100 pppoe limit per-vc 100 ! ip cef ! interface atm2/0 no ip address no ip directed-broadcast no ATM ilmi-keepalive ! ! interface ATM 2/0.1 point-to-point no ip directed-broadcast PVC 1/35 encapsulation aal5snap protocol pppoe ! ! interface ATM 2/0.2 point-to-point no ip directed-broadcast PVC 1/36 encapsulation aal5snap protocol pppoe ! interface Virtual-Template1 ip unnumbered FastEthernet 4/0 no ip directed-broadcast peer default ip address pool <pool name> ppp authentication pap ! interface FastEthernet 4/0 ip address 172.22.32.1 255.255.255.0 no ip directed-broadcast ! ip local pool <pool name> 172.22.32.20 172.22.32.100 |
本部分使用以下网络设置:
第2层隧道协议(L2TP)提供一种方法,用于终止最终用户在一个位置的PPP连接,并将第2层数据包传输到另一个位置。L2TP从聚合设备卸载大部分IP功能,并允许更集中的网络设计。RADIUS服务器提供AAA。
除Cisco 7200外的所有设备的配置与RFC 1483示例的配置相同。
本部分使用以下配置:
L2TP的PC配置 |
---|
注意:如果DHCP无法传递此信息,则需要设置域名。 |
用于L2TP的Cisco 677 CPE配置 |
---|
cbos> enable Password: cbos# set nat enable NAT is now enabled You must use "write" then reboot for changes to take effect. cbos# set ppp wan0-0 login User name for wan0-0 has been set to testcpe. cbos# set ppp wan0-0 password Password for wan0-0 has been set to cisco. cbos# set ppp wan0-0 ipcp 0.0.0.0 PPP wan0-0 IPCP Address set to 0.0.0.0 cbos# set int wan0-0 close cbos# set int wan0-0 vpi 1 cbos# set int wan0-0 vci 32 cbos# set int wan0-0 open cbos# set int eth0 address 172.22.10.254 eth0 ip address changed from 10.0.0.1 to 172.22.10.254 cbos# set int eth0 netmask 255.255.255.0 eth0 netmask changed from 255.255.255.0 to 255.255.255.0 cbos# set dhcp server enable DHCP Server enabled cbos# set dhcp server pool 0 ip 172.22.10.0 Pool 0 IP parameter is now 172.22.10.0 cbos# set dhcp server pool 0 netmask 255.255.255.0 Pool 0 netmask parameter is now 255.255.255.0 cbos# set dhcp server pool 0 gateway 172.22.10.254 Pool 0 gateway parameter is now 172.22.10.254 cbos# set password exec Exec Password Change Successful! cbos# set password enable Enable Password Change Successful! cbos# write NVRAM written. |
L2TP的Cisco DSLAM配置 |
---|
hostname 6260 ! Subtending Port - Will set as shutdown interface atm0/2 shutdown slot 1 atuc-1-4dmt ! dsl-profile fast dmt codeword-size downstream 16 upstream 16 dmt bitrate maximum interleaved downstream 8032 upstream 832 ! interface atm1/1 dsl profile fast ATM PVC 1 32 interface atm0/1 1 35 |
L2TP的Cisco LS1010配置 |
---|
interface ATM 0/1/2 no ip address no ip directed-broadcast no ATM ilmi-keepalive ATM pvp 1 interface ATM 0/0/2 1 |
用于L2TP的Cisco 7200 LAC配置 |
---|
! AAA new-model AAA authentication login default none AAA authentication ppp default local group radius AAA authorization network default local group radius none AAA accounting network default wait-start group radius ! vpdn-group 4 request-dialin protocol l2tp domain cisco.com initiate-to ip 172.22.32.27 priority 1 local name cisco-tunnel ! interface ATM 2/0 no ip address no ip directed-broadcast no ATM ilmi-keepalive ! ! interface ATM 2/0.1 point-to-point no ip directed-broadcast PVC 1/35 encapsulation aal5mux ppp Virtual-Template1 ! ! interface ATM 2/0.2 point-to-point no ip directed-broadcast PVC 1/36 encapsulation aal5mux ppp Virtual-Template1 ! ! interface FastEthernet 4/0 ip address 172.22.32.1 255.255.255.0 no ip directed-broadcast ! ! interface Virtual-Template1 ip unnumbered FastEthernet4/0 no ip directed-broadcast ppp authentication pap ! ! radius-server host 172.22.32.20 auth-port 1645 acct-port 1646 radius-server key cisco |
用于L2TP的Cisco 7200 LNS配置 |
---|
! AAA new-model AAA authentication login default none AAA authentication ppp default local group radius AAA authorization network default local group radius none AAA accounting network default wait-start group radius ! vpdn-group 1 accept-dialin protocol any virtual-template 1 terminate-from hostname cisco-tunnel local name tunnel-gate ! radius-server host 172.22.32.20 auth-port 1645 acct-port 1646 radius-server key cisco |
当前没有可用于此配置的验证过程。
目前没有针对此配置的故障排除信息。
版本 | 发布日期 | 备注 |
---|---|---|
1.0 |
09-Aug-2006 |
初始版本 |