cisco路由配置手册(编辑修改稿)内容摘要:

sdn switchtype switchtype1 接口设置 interface bri 0 设置 PPP封装 encapsulation ppp 设置协议地址与电话号码的映射 dialer map protocol nexthopaddress [name 13 hostname] [broadcast] [dialstring] 启动 PPP多连接 ppp multilink 设置启动另一个 B通道的阈值 dialer loadthreshold load 显示 ISDN有关信息 show isdn {active | history | memory | services | status [dsl | interfacetype number] | timers} 注: ,国内交换机一般为 basic3。 按区域分关键字 交换机类型 Australia basicts013 Australian TS013 switches Europe basic1tr6 German 1TR6 ISDN switches basicnw3 Norway NET3 switches (phase 1) basic3 NET3 ISDN switches (UK, Denmark, and other nations)。 covers the EuroISDN EDSS1 signalling system primary5 NET5 switches (UK and Europe) vn2 French VN2 ISDN switches vn3 French VN3 ISDN switches Japan ntt Japanese NTT ISDN switches primaryntt Japanese ISDN PRI switches North America basic5ess ATamp。 T basic rate switches basicdms100 NT DMS100 basic rate switches basicni1 National ISDN1 switches primary4ess ATamp。 T 4ESS switch type for the . (ISDN PRI only) primary5ess ATamp。 T 5ESS switch type for the . (ISDN PRI only) primarydms100 NT DMS100 switch type for the . (ISDN PRI only) New Zealand basicnz3 New Zealand Net3 switches 3. ISDN实现 DDR( dialondemand routing)实例 : 设置如下: 14 Router1: hostname router1 user router2 password cisco ! isdn switchtype basic3 ! interface bri 0 ip address encapsulation ppp dialer map ip name router2 572 dialer loadthreshold 80 ppp multilink dialergroup 1 ppp authentication chap。 dialerlist 1 protocol ip permit ! Router2: hostname router2 user router1 password cisco ! isdn switchtype basic3 ! interface bri 0 ip address encapsulation ppp dialer map ip name router1 571 dialer loadthreshold 80 ppp multilink dialergroup 1 ppp authentication chap。 dialerlist 1 protocol ip permit ! Cisco 路由器同时支持回拨功能,我们将路由器 Router1作为 Callback Server,Router2作为 Callback Client。 与回拨相关命令 : 任务 命令 映射协议地址和电话号码,并在接口上使用在全局模式下定义的 PPP回拨的映射类别。 dialer map protocol address name hostname class classname dialstring 设置接口支持 PPP回拨 ppp callback accept 在全局模式下为 PPP回拨设置映射类别 mapclass dialer classname 通过查找注册在 dialer map 里的主机名来决定回拨 . dialer callbackserver [username] 设置接口要求 PPP回拨 ppp callback request 设置如下: Router1: hostname router1 user router2 password cisco ! isdn switchtype basic3 ! interface bri 0 ip address encapsulation ppp 15 dialer map ip name router2 class s3 572 dialer loadthreshold 80 ppp callback accept ppp multilink dialergroup 1 ppp authentication chap。 mapclass dialer s3 dialer callbackserver username dialerlist 1 protocol ip permit ! Router2: hostname router2 user router1 password cisco ! isdn switchtype basic3 ! interface bri 0 ip address encapsulation ppp dialer map ip name router1 571 dialer loadthreshold 80 ppp callback request ppp multilink dialergroup 1 ppp authentication chap。 dialerlist 1 protocol ip permit ! 相关调试命令 : debug dialer debug isdn event debug isdn q921 debug isdn q931 debug ppp authentication debug ppp error debug ppp negotiation debug ppp packet show dialer show isdn status 举例 :执行 debug dialer 命令观察 router2 呼叫 router1,router1 回拨 router2的过程 . router1debug dialer router2ping router1 00:03:50: %LINK3UPDOWN: Interface BRI0:1, changed state to up 00:03:50: BRI0:1:PPP callback Callback server starting to router2 572 00:03:50: BRI0:1: disconnecting call 00:03:50: %LINK3UPDOWN: Interface BRI0:1, changed state to down 00:03:50: BRI0:1: disconnecting call 00:03:50: BRI0:1: disconnecting call 16 00:03:51: %LINK3UPDOWN: Interface BRI0:2, changed state to up 00:03:52: callback to router2 already started 00:03:52: BRI0:2: disconnecting call 00:03:52: %LINK3UPDOWN: Interface BRI0:2, changed state to down 00:03:52: BRI0:2: disconnecting call 00:03:52: BRI0:2: disconnecting call 00:04:05: : Callback timer expired 00:04:05: BRI0:beginning callback to router2 572 00:04:05: BRI0: Attempting to dial 572 00:04:05: Freeing callback to router2 572 00:04:05: %LINK3UPDOWN: Interface BRI0:1, changed state to up 00:04:05: BRI0:1: No callback negotiated 00:04:05: %LINK3UPDOWN: Interface VirtualAccess1, changed state to up 00:04:05: dialer Protocol up for Vi1 00:04:06: %LINEPROTO5UPDOWN: Line protocol on Interface BRI0:1, changed state to up 00:04:06: %LINEPROTO5UPDOWN: Line protocol on Interface VirtualAccess1, chang ed state to up 00:04:11: %ISDN6CONNECT: Interface BRI0:1 is now connected to 572 router1 4. ISDN访问首都在线 263网实例 : 本地局部网 地址为 ,属于保留地址,通过 NAT 地址翻译功能,局域网用户可以通过 ISDN上 263网访问 Inter。 263的 ISDN电话号码为 2633,用户为 263,口令为 263,所涉及的命令如下表: 任务 命令 指定接口通过 PPP/IPCP 地址协商获得 IP地址 ip address negotiated 指定内部和外部端口 ip nat {inside | outside} 使用 ppp/pap作认证 ppp authentication pap callin 指定接口属于 拨号组 1 dialergroup 1 定义拨号组 1允许所有 IP协议 dialerlist 1 protocol ip permit 设定拨号,号码为 2633 dialer string 2633 设定登录 263的用户名和口令 ppp pap sentusername 263 password 263 17 设定默认路由 ip route bri 0 设定符合访问列表 2 的所有源地址被翻译为 bri 0所拥有的地址 ip nat inside source list 2 interface bri 0 overload 设定访问列表 2,允许所有协议 accesslist 2 permit any 具体配置如下: hostname Cisco2503 ! isdn switchtype basic3 ! ip subzero no ip domainlookup ip routing ! interface Ether 0 ip address ip nat inside no shutdown ! interface Serial 0 shutdown no description no ip address ! interface Serial 1 shutdown no description no ip address ! interface bri 0 ip address negotiated ip nat outside encapsulation ppp ppp authentication pap callin ppp mult。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。