CISCO技术大全

Similar documents
Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco

ch08.PDF

mppp-ddr.pdf

D E 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 /28. 工 作 站 B 配 置 的 IP 地 址 为 /28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台

工程师培训

epub

IP505SM_manual_cn.doc

(CISCO????????)

路 由 器 处 于 用 户 命 令 状 态, 这 时 用 户 可 以 看 路 由 器 的 连 接 状 态, 访 问 其 它 网 络 和 主 机, 但 不 能 看 到 和 更 改 路 由 器 的 设 置 内 容 2. router# 在 router> 提 示 符 下 键 入 enable, 路 由

工程师培训


TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

IS-IS路由协议中文教程v1

SL2511 SR Plus 操作手冊_單面.doc

ebook71-13

Simulator By SunLingxi 2003

QL1880new2.PDF

ebook140-8

財金資訊-80期.indd

ebook140-9

R3105+ ADSL

12.pdf

IP-Routing-05.pdf

AL-M200 Series

untitled

ebook20-8

《计算机网络》实验指导书

¶C¶L§§¬_™¨ A.PDF

ebook106-17

epub 30-5

计算机网络概论

自由軟體教學平台

untitled

自由軟體教學平台

一.NETGEAR VPN防火墙产品介绍

自由軟體教學平台

IP Access Lists IP Access Lists IP Access Lists

NSC-161

GPRS IP MODEM快速安装说明

两个串行接口上通过虚拟模板的多链路

1 1 2 OSPF RIP 2

ARP ICMP

第3章

穨CAS1042中文手冊.doc

F5270

DCR 1700系列路由器配置手册

P4i45GL_GV-R50-CN.p65

epub 30-12

升 级 过 程 概 述 Cisco 集 中 无 线 网 络 架 构 中,AP 工 作 在 瘦 AP(LAP) 模 式 LAP 关 联 到 无 线 控 制 器 (WLC), 控 制 器 管 理 着 配 置 软 件 升 级 以 及 802.1X 认 证 等 控 制 处 理 ; 此 外, 控 制 器 还

9 Internet 10 Internet

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

ebook140-11

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

ebook48-8

穨CAS1042快速安速說明.doc

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

Chapter 2

经华名家讲堂

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 计 算 机 网 络 在

Microsoft PowerPoint - 数据通信-ch1.ppt

Microsoft PowerPoint - Aqua-Sim.pptx

Bus Hound 5

ch09.PDF

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

一、选择题

untitled

end to end 7.2 OSI 7 OSI 3 A B 7.2 Packet Routing LAN WAN

專業式報告

專業式報告

飞鱼星多WAN防火墙路由器用户手册

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc

epub 61-2

(UTM???U_935_938_955_958_959 V )

KL DSC DEMO 使用说明

第 11 章 互聯網技術 11.1 互聯 網 和 萬 維 網 的 發 展 歷 史 A. 互聯網的發展 互聯網是由 ARPANET 開 始發展的 1969 年 美國國防部高級研究計劃署 (ARPA) 把部分軍事研究所和大 的電腦連接起來 建造了㆒個實驗性的電腦網絡 稱為 ARPANET 並 列 的功能

<4D F736F F D20D2F8D0D043444D41CEDECFDFBDD3C8EB41544DBBFAC1AACDF8D3A6D3C3BDE2BEF6B7BDB0B82DD0DEB8C4B0E62E646F63>

第 1 部 分 : 检 查 网 络 要 求 在 第 1 部 分 中, 您 将 研 究 使 用 /17 网 络 地 址 为 拓 扑 图 中 显 示 的 网 络 开 发 VLSM 地 址 方 案 的 网 络 要 求 注 意 : 您 可 以 使 用 Windows 计 算 器 应

ext-web-auth-wlc.pdf

1 公 司 简 介 2 VRRP 原 理 和 应 用 3 新 产 品 和 创 业 计 划 及 赠 书 活 动

P4VM800_BIOS_CN.p65

宏电文档

1

untitled

TX-NR3030_BAS_Cs_ indd

第3章 计算机网络体系结构

KillTest 质量更高 服务更好 学习资料 半年免费更新服务


C3_ppt.PDF

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco

ccna_material.doc

Basic System Administration

SAPIDO GR-1733 無線寬頻分享器

K7VT2_QIG_v3

联想天工800R路由器用户手册 V2.0

P4V88+_BIOS_CN.p65

ebook140-3

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

Transcription:

CISCO 5 1. Console 2. AUX MODEM 3. Ethernet TFTP 4. Ethernet TELNET 5. Ethernet SNMP, : 9600 8 1 : 1. router> 2. router# router> enable, router# 3. router(config)# router# configure terminal, router(config)# 4. router(config-if)#; router(config-line)#; router(config-router)#; 16 406 0311-6074490 EMIAL boway@263.net 1

5. > RXBOOT 60 ctrl-break 6. SETUP --- System Configuration Dialog --- At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. ctrl-c [] Would you like to enter the initial configuration dialog? [yes]: y First, would you like to see the current interface summary? [yes]: Any interface listed with OK? value "NO" does not have a valid config uration Interface IP-Address OK? Method Status Protocol Ethernet0 unassigned NO unset up up Serial0 unassigned NO unset up up Configuring global parameters: 1 Enter host name [Router]: 2 (secret) The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret: cisco 3 (password) The enable password is used when there is no enable secret and when using older software and some boot images. Enter enable password: pass 4 16 406 0311-6074490 EMIAL boway@263.net 2

Enter virtual terminal password: cisco 5 Configure SNMP Network Management? [yes]: Configure DECnet? [no]: Configure AppleTalk? [no]: Configure IPX? [no]: Configure IP? [yes]: Configure IGRP routing? [yes]: Configure RIP routing? [no]: 6 Configure Async lines? [yes]: 1) Async line speed [9600]: 2) Configure for HW flow control? [yes]: 3) modem Configure for modems? [yes/no]: yes 4) modem Configure for default chat script? [yes]: 5) PPP Configure for Dial-in IP SLIP/PPP access? [no]: yes 6) IP Configure for Dynamic IP addresses? [yes]: 7) IP Configure Default IP addresses? [no]: yes 8) TCP Configure for TCP Header Compression? [yes]: 9) Configure for routing updates on async links? [no]: y 10) 1 Configuring interface Ethernet0: 1) Is this interface in use? [yes]: 2) IP Configure IP on this interface? [yes]: 3) IP IP address for this interface: 192.168.162.2 4) IP Number of bits in subnet field [0]: Class C network is 192.168.162.0, 0 subnet bits; mask is /24 The following configuration command script was created: 16 406 0311-6074490 EMIAL boway@263.net 3

hostname Router enable secret 5 $1$W5Oh$p6J7tIgRMBOIKVXVG53Uh1 enable password pass enable secret enable password Use this configuration? [yes/no]: yes yes NVRAM 1. IOS 2. enable disable setup config terminal end interface type slot/number interface type number.subinterface [point-to-point multipoint] line type slot/number router protocol exit 3. show version show running-config show startup-config show interface type slot/number show ip router 4. IOS CONFIG 16 406 0311-6074490 EMIAL boway@263.net 4

---------------------------------------------- 5. telnet hostname IP address ping hostname IP address trace hostname IP address 6. config terminal username username password password enable secret password hostname name ip route destination subnet-mask next-hop IP ip routing IPX ipx routing interface type slot/number IP ip address address subnet-mask IPX ipx network network no shutdown line type number login [local tacacs server] password password IP 1. IP IP A 8 24 B 16 16 C 24 8 16 406 0311-6074490 EMIAL boway@263.net 5

A 1.0.0.0 126.0.0.0 0.0.0.0 127.0.0.0 B 128.1.0.0 191.254.0.0 128.0.0.0 191.255.0.0 C 192.0.1.0 223.255.254.0 192.0.0.0 223.255.255.0 D 224.0.0.0 239.255.255.255 E 240.0.0.0 255.255.255.254 255.255.255.255 2. IP interface type slot/number IP ip address ip-address mask mask IP IP ip-address mask 3. IP IP ---------------------------------------------- Router1 Router2 E0 C 192.1.0.0 Router1 E0 1 92.1.0.128, 255.255.255.192, Router2 E0 192.1.0.64, 255.255.255.192 C 4. NAT NAT Network Address Translation IP NAT Inte rnet., Network Wo rking Group(RFC 1918). l Class A:10.1.1.1 to 10.254.254.254 l Class B:172.16.1.1 to 172.31.254.254 l Class C:192.168.1.1 to 192.168.254.254 16 406 0311-6074490 EMIAL boway@263.net 6

access-list access-list-number permit source [so urce-wildcard] ip nat pool name start-ip end-ip {netmask netmask prefix-length prefix-length} [type rotary] ip nat inside source {list {access-list-number nam e} pool name [overload] static local-ipglobal-ip} ip nat {inside outside} Ethernet 0 inside Serial 0 outside IP NIC IP, 10.0.0. 0/24 IP c2501 S erial 0 Internet ip nat inside source list 2 pool c2501 ov erload overload IP NIC ip nat pool c250 1 202.96.38.1 202.96.38.62 netmask 255.255.255.192 ip nat pool c2501 202.96.38.1 202.96.38.62 netmask 255.255.255.192 interface Ethernet 0 ip address 10.0.0.1 255.255.255.0 ip nat inside interface Serial 0 ip address 202.200.10.5 255.255.255.252 ip nat outside 16 406 0311-6074490 EMIAL boway@263.net 7

ip route 0.0.0.0 0.0.0.0 Serial 0 access-list 2 permit 10.0.0.0 0.0.0.255 Dynamic NAT ip nat inside source list 2 pool c2501 overload line console 0 exec-timeout 0 0 line vty 0 4 end, ip route prefix mask {address interface} [distance] [t ag tag] [permanent] Prefix : mask : address : IP interface : distance : tag tag :tag permanent : Router1 192.1.0.64/26 192.200.10. 6, 192.1.0.64/26 192.200.10.6 Router3 192.1.0.128/26 1 92.200.10.4/30 192.1.0.65 Router1 Se rial 0 192.200.10.5 192.200.10.4/30 192.200.10.4/30 Router1 16 406 0311-6074490 EMIAL boway@263.net 8

---------------------------------------------- Router1: ip route 192.1.0.64 255.255.255.192 192.200.10.6 Router3: ip route 192.1.0.128 255.255.255.192 192.1.0.65 ip route 192.200.10.4 255.255.255.252 192.1.0.65 Router3 Router2 ip route 0.0.0.0 0.0.0.0 192.1.0.65, 1 92.1.0.65 16 406 0311-6074490 EMIAL boway@263.net 9

HDLC HDLC CISCO HDLC 1. HDLC encapsulation hdlc DCE clockrate speed clear interface serial unit show interfaces serial [unit] 1 :1. Cisco. Router#show interface serial 0 Serial 0 is up, line protocol is up Hardware is MCI Serial Internet address is 150.136.190.203, subnet mask is 255.255.255.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/25 5 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 0:00:07, output 0:00:00, output hang never Output queue 0/40, 0 drops; input queue 0/75, 0 drops Five minute input rate 0 bits/sec, 0 packets/sec Five minute output rate 0 bits/sec, 0 packets/sec 16263 packets input, 1347238 bytes, 0 no buffer Received 13983 broadcasts, 0 runts, 0 giants 2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 2 abort 22146 packets output, 2383680 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets, 0 restarts 1 carrier transitions 2. 16 406 0311-6074490 EMIAL boway@263.net 10

Router1: interface Serial0 ip address 192.200.10.1 255.255.255.0 clockrate 1000000 Router2: interface Serial0 ip address 192.200.10.2 255.255.255.0 3. E1 64K. : controller controller {t1 e1} number framing {crc4 no-crc4} line-code linecode {ami b8zs hdb3} channel-group number timeslots range1 controllers show controllers e1 [slot/port]2 : 1. T1,channel-group 0-23, Timeslot 1-24; E1, channel-group 0-30, Timeslot 1-31. 2. show controllers e1 controller, crc4 co ntrollers. Router# show controllers e1 e1 0/0 is up. Applique type is Channelized E1 - unbalanced Framing is CRC4, Line Code is HDB3 No alarms detected. 16 406 0311-6074490 EMIAL boway@263.net 11

Data in current interval (725 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Sec s Total Data (last 24 hours) 0 Line Code Violations, 0 Path Code Violat ions, 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins, 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Sec s E1 3 64K, NO-CRC4,, : shanxi#wri t Building configuration... Current configuration: version 11.2 no service udp-small-servers no service tcp-small-servers hostname shanxi enable secret 5 $1$XN08$Ttr8nfLoP9.2RgZhcBzkk/ enable password shanxi ip subnet-zero controller E1 0 framing NO-CRC4 channel-group 0 timeslots 1 channel-group 1 timeslots 2 channel-group 2 timeslots 3 interface Ethernet0 ip address 133.118.40.1 255.255.0.0 media-type 10BaseT interface Ethernet1 no ip address shutdown 16 406 0311-6074490 EMIAL boway@263.net 12

interface Serial0:0 ip address 202.119.96.1 255.255.255.252 no ip mroute-cache interface Serial0:1 ip address 202.119.96.5 255.255.255.252 no ip mroute-cache interface Serial0:2 ip address 202.119.96.9 255.255.255.252 no ip mroute-cache no ip classless ip route 133.210.40.0 255.255.255.0 Serial0:0 ip route 133.210.41.0 255.255.255.0 Serial0:1 ip route 133.210.42.0 255.255.255.0 Serial0:2 line con 0 line aux 0 line vty 0 4 password shanxi login end PPP PPP(Point-to-Point Protocol) SLIP(Serial Line IP protocol) (router-to-router) (host-to-network) CHAP(Challenge Handshake Authentication Protocol) PAP(Password Auth entication Protocol) (PAP) PPP CHAP PAP, CHAP PAP RFC 1334 1. PPP encapsulation ppp1 ppp authentication {chap chap pap pap chap pap} [i f-needed] [list-name default] [callin] username name password secret 16 406 0311-6074490 EMIAL boway@263.net 13

DCE clockrate speed 1 CHAP/PAP PPP Cisco PPP Cisco HDLC 2. Router1 Router2 S0 PPP CHAP Rou ter1 rout er2 Router2 router1 password Router1: hostname router1 username router2 password xxx interface Serial0 ip address 192.200.10.1 255.255.255.0 clockrate 1000000 ppp authentication chap Router2: hostname router2 username router1 password xxx interface Serial0 ip address 192.200.10.2 255.255.255.0 ppp authentication chap X.25 1. X25 X.25 OSI X.25 X. 16 406 0311-6074490 EMIAL boway@263.net 14

25 LAPB Link Access Procedure, Balanced DTE/DCE X.25 X.25 DTE DCE PSE DTE X.25 Cisco DTE DCE PSE X.25 x.25 x.1 21 SVC x.25 x.121 x.25 x.121 htc x.25 X.25 PVC DDN 2. : X.25 encapsulation x25 [dce] X.121 x25 address x.121-address x25 map protocol address [protocol2 address2 [...[protocol9 address9]]] x121-address [option] x25 htc citcuit-number1 x25 nvc count2 x25 x25 idle minutes x25 svc pvc clear x25 {serial num ber cmns-interface mac-address} [vc-number] 3 x25 clear x25-vc x25 show interfaces serialshow x25 interfaceshow x 25 mapshow x25 vc 1 1 4095 Cisco 1024 16 2 1 8 1 3 x.25 x25( clear x25 {seria l number cmns-interface mac-address} [vc-number] clear x25-vc ) x.25 3. 3.1. svc 10.0.0.0/24, NAT ISDN 26 3 Internet 263 ISDN 2633 263 263 16 406 0311-6074490 EMIAL boway@263.net 15

PPP/IPCP IP ip address negotiated ip nat {inside outside} ppp/pap ppp authentication pap callin 1 dialer-group 1 1 IP dialer-list 1 protocol ip permit 2633 dialer string 2633 263 ppp pap sent-username 263 password 263 ip route 0.0.0.0 0.0.0.0 bri 0 2 bri 0 ip nat insid e source list 2 interface bri 0 overload 2 access-list 2 permit any hostname Cisco2503 isdn switch-type basic-net3 ip subnet-zero no ip domain-lookup ip routing interface Ethernet 0 ip address 10.0.0.1 255.255.255.0 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 multilink dialer-group 1 16 406 0311-6074490 EMIAL boway@263.net 16

dialer hold-queue 10 dialer string 2633 dialer idle-timeout 120 ppp pap sent-username 263 password 263 no cdp enable no ip split-horizon no shutdown ip classless Static Routes ip route 0.0.0.0 0.0.0.0 bri 0 Access Control List 2 access-list 2 permit any dialer-list 1 protocol ip permit Dynamic NAT ip nat inside source list 2 interface bri 0 overload snmp-server community public ro line console 0 exec-timeout 0 0 line vty 0 4 end 5. Cisco765M ISDN 263 Cisco765 Cisco Cisco765 263 Internet >set system c765 c765> set multidestination on c765> set switch net3 c765> set ppp multilink on c765> cd lan c765:lan> set ip routing on c765:lan> set ip address 10.0.0.1 c765:lan> set ip netmask 255.0.0.0 16 406 0311-6074490 EMIAL boway@263.net 17

c765:lan> set briding off c765:lan>cd c765> set user remotenet New user remotenet being created c765:remotenet> set ip routing on c765:remotenet> set bridging off c765:remotenet> set ip framing none c765:remotenet> set ppp clientname 263 c765:remotenet> set ppp password client Enter new Password: 263 Re-Type new Password: 263 c765:remotenet> set ppp authentication out none c765:remotenet> set ip address 0.0.0.0 c765:remotenet> set ip netmask 0.0.0.0 c765:remotenet> set ppp address negotiation local on c765:remotenet> set ip pat on c765:remotenet> set ip route destination 0.0.0.0/0 gateway 0.0.0.0 c765:remotenet> set number 2633 c765:remotenet> set active set system c765 set multidestination on ISDN NET3 set switch net3 set ppp multilink on set briding off - set user remotenet PPP/IPCP set ip framing none set ppp clientname 263 set ppp password cliententer new Password: 263Re-Type ne w Password: 263 PPP/CHAP PAP set ppp authentication out none set ppp address negotiation local on set ip pat on set ip route destination 0.0.0.0/0 gateway 0.0.0.0 ISP set number 2633 set active PSTN (PSTN) 16 406 0311-6074490 EMIAL boway@263.net 18

(DDR) ISP 1. Router1: interface Serial0 encapsulation x25 ip address 192.200.10.1 255.255.255.0 x25 address 110101 x25 htc 16 x25 nvc 2 x25 map ip 192.200.10.2 110102 broadcast x25 map ip 192.200.10.3 110103 broadcast Router2: interface Serial0 encapsulation x25 ip address 192.200.10.2 255.255.255.0 x25 address 110102 16 406 0311-6074490 EMIAL boway@263.net 19

x25 htc 16 x25 nvc 2 x25 map ip 192.200.10.1 110101 broadcast x25 map ip 192.200.10.3 110103 broadcast Router: interface Serial0 encapsulation x25 ip address 192.200.10.3 255.255.255.0 x25 address 110103 x25 htc 16 x25 nvc 2 x25 map ip 192.200.10.1 110101 broadcast x25 map ip 192.200.10.2 110102 broadcast clear x25-vc show interfaces serial show x25 map show x25 route show x25 vc 3.2. router1 router2 svc router r outer1 router2 svc RIP router1 router2 router1 router2 Subinterface split horizon ( X.25 Frame Relay) (vc) C isco subinterface, split horizon 16 406 0311-6074490 EMIAL boway@263.net 20

Router1: interface Serial0 encapsulation x25 ip address 192.200.10.1 255.255.255.0 x25 address 110101 x25 htc 16 x25 nvc 2 x25 map ip 192.200.10.3 110103 broadcast router rip network 192.200.10.0 Router2: interface Serial0 encapsulation x25 ip address 192.200.11.2 255.255.255.0 x25 address 110102 x25 htc 16 x25 nvc 2 x25 map ip 192.200.11.3 110103 broadcast router rip network 192.200.11.0 Router: interface Serial0 encapsulation x25 16 406 0311-6074490 EMIAL boway@263.net 21

x25 address 110103 x25 htc 16 x25 nvc 2 interface Serial0.1 point-to-point ip address 192.200.10.3 255.255.255.0 x25 map ip 192.200.10.1 110101 broadcast interface Serial0.2 point-to-point ip address 192.200.11.3 255.255.255.0 x25 map ip 192.200.11.2 110102 broadcast router rip network 192.200.10.0 network 192.200.11.0 16 406 0311-6074490 EMIAL boway@263.net 22

Frame Relay 1. WAN OSI X.25 X.25 WAN X.25 WAN OSI X.25 X.25 DTE DCE Cisco DTE DLCI DLCI PVC SVC LMI 2. : Frame Relay encapsulation frame-relay[ietf] 1 16 406 0311-6074490 EMIAL boway@263.net 23

Frame Relay LMI frame-relay lmi-type {ansi cisco q933 a}2 interface interface-type interface-number.subinterface -number [multipoint point-to-point] DLCI frame-relay map protocol protocol-address dlci [broadcast]3 FR DLCI frame-relay interface-dlci dlci [broadcast] 1. Cisco Internet IETF 2. Cisco IOS 11.2 LMI LMI L MI 3.broadcast 3. point to point Router1: interface serial 0 encapsulation frame-relay interface serial 0.1 point-to-point ip address 172.16.1.1 255.255.255.0 frame-reply interface-dlci 105 interface serial 0.2 point-to-point ip address 172.16.2.1 255.255.255.0 16 406 0311-6074490 EMIAL boway@263.net 24

frame-reply interface-dlci 102 interface serial 0.3 point-to-point ip address 172.16.4.1 255.255.255.0 frame-reply interface-dlci 104 Router2: interface serial 0 encapsulation frame-relay interface serial 0.1 point-to-point ip address 172.16.2.2 255.255.255.0 frame-reply interface-dlci 201 interface serial 0.2 point-to-point ip address 172.16.3.1 255.255.255.0 frame-reply interface-dlci 203 show frame-relay lmi show frame-relay map show frame-relay pvc show frame-relay route show interfaces serial 4. Multipoint : 16 406 0311-6074490 EMIAL boway@263.net 25

Router1: interface serial 0 encapsulation frame-reply interface serial 0.1 multipoint ip address 172.16.1.2 255.255.255.0 frame-reply map ip 172.16.1.1 201 broadcast frame-reply map ip 172.16.1.3 301 broadcast frame-reply map ip 172.16.1.4 401 broadcast Router2: interface serial 0 encapsulation frame-reply interface serial 0.1 multipoint ip address 172.16.1.1 255.255.255.0 frame-reply map ip 172.16.1.2 102 broadcast frame-reply map ip 172.16.1.3 102 broadcast frame-reply map ip 172.16.1.4 102 broadcast ISDN 1. ISDN ISDN ISDN BRI 2 B 1 D 2B+D BRI B 64Kbps, D 16Kbps ISDN PRI 23 B 1 D 1.544Mbps D 64Kbps ISDN PRI 30 B 1 64Kbps D 2.048Mbps ISDN PRI 30B+D 2. ISDN isdn switch-type switch-type1 interface bri 0 PPP encapsulation ppp dialer map protocol next-hop-address [na me hostname] [broadcast] [dial-string] PPP ppp multilink B dialer load-threshold load ISDN show isdn {active history memory services s tatus [dsl interface-type number] timers} 1., basic-net3 Australia 16 406 0311-6074490 EMIAL boway@263.net 26

basic-ts013 Australian TS013 switches Europe basic-1tr6 German 1TR6 ISDN switches basic-nwnet3 Norway NET3 switches (phase 1) basic-net3 NET3 ISDN switches (UK, Denmark, and other nations); cover s the Euro-ISDN E-DSS1 signalling system primary-net5 NET5 switches (UK and Europe) vn2 French VN2 ISDN switches vn3 French VN3 ISDN switches Japan ntt Japanese NTT ISDN switches primary-ntt Japanese ISDN PRI switches North America basic-5ess AT&T basic rate switches basic-dms100 NT DMS-100 basic rate switches basic-ni1 National ISDN-1 switches primary-4ess AT&T 4ESS switch type for the U.S. (ISDN PRI only) primary-5ess AT&T 5ESS switch type for the U.S. (ISDN PRI only) primary-dms100 NT DMS-100 switch type for the U.S. (ISDN PRI only) New Zealand basic-nznet3 New Zealand Net3 switches 3. ISDN DDR dial-on-demand routing 16 406 0311-6074490 EMIAL boway@263.net 27

Router1: hostname router1 user router2 password cisco isdn switch-type basic-net3 interface bri 0 ip address 192.200.10.1 255.255.255.0 encapsulation ppp dialer map ip 192.200.10.2 name router2 572 dialer load-threshold 80 ppp multilink dialer-group 1 ppp authentication chap dialer-list 1 protocol ip permit Router2: hostname router2 user router1 password cisco isdn switch-type basic-net3 interface bri 0 ip address 192.200.10.2 255.255.255.0 encapsulation ppp dialer map ip 192.200.10.1 name router1 571 dialer load-threshold 80 ppp multilink dialer-group 1 ppp authentication chap dialer-list 1 protocol ip permit Cisco Router1 Callback Server, Router2 Callback Client : PPP dialer map protocol address name hostname class classname dial 16 406 0311-6074490 EMIAL boway@263.net 28

-string PPP ppp callback accept PPP map-class dialer classname dialer map. dialer callback-server [username] PPP ppp callback request Router1: hostname router1 user router2 password cisco isdn switch-type basic-net3 interface bri 0 ip address 192.200.10.1 255.255.255.0 encapsulation ppp dialer map ip 192.200.10.2 name router2 class s3 572 dialer load-threshold 80 ppp callback accept ppp multilink dialer-group 1 ppp authentication chap map-class dialer s3 dialer callback-server username dialer-list 1 protocol ip permit Router2: hostname router2 user router1 password cisco isdn switch-type basic-net3 interface bri 0 ip address 192.200.10.2 255.255.255.0 encapsulation ppp dialer map ip 192.200.10.1 name router1 571 dialer load-threshold 80 ppp callback request ppp multilink dialer-group 1 ppp authentication chap 16 406 0311-6074490 EMIAL boway@263.net 29

dialer-list 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. router1#debug dialer router2#ping 192.200.10.1 router1# 00:03:50: %LINK-3-UPDOWN: 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: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down 00:03:50: BRI0:1: disconnecting call 00:03:50: BRI0:1: disconnecting call 00:03:51: %LINK-3-UPDOWN: 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: %LINK-3-UPDOWN: 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: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up 00:04:05: BRI0:1: No callback negotiated 00:04:05: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up 00:04:05: dialer Protocol up for Vi1 00:04:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, cha 16 406 0311-6074490 EMIAL boway@263.net 30

nged state to up 00:04:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Acc ess1, chang ed state to up 00:04:11: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 572 #router1 4. ISDN 263 : 10.0.0.0/24, NAT ISDN 26 3 Internet 263 ISDN 2633 263 263 PPP/IPCP IP ip address negotiated ip nat {inside outside} ppp/pap ppp authentication pap callin 1 dialer-group 1 1 IP dialer-list 1 protocol ip permit 2633 dialer string 2633 263 ppp pap sent-username 263 password 263 ip route 0.0.0.0 0.0.0.0 bri 0 2 bri 0 ip nat insid e source list 2 interface bri 0 overload 2 access-list 2 permit any hostname Cisco2503 16 406 0311-6074490 EMIAL boway@263.net 31

isdn switch-type basic-net3 ip subnet-zero no ip domain-lookup ip routing interface Ethernet 0 ip address 10.0.0.1 255.255.255.0 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 multilink dialer-group 1 dialer hold-queue 10 dialer string 2633 dialer idle-timeout 120 ppp pap sent-username 263 password 263 no cdp enable no ip split-horizon no shutdown ip classless Static Routes ip route 0.0.0.0 0.0.0.0 bri 0 Access Control List 2 16 406 0311-6074490 EMIAL boway@263.net 32

access-list 2 permit any dialer-list 1 protocol ip permit Dynamic NAT ip nat inside source list 2 interface bri 0 overload snmp-server community public ro line console 0 exec-timeout 0 0 line vty 0 4 end 5. Cisco765M ISDN 263 Cisco765 Cisco Cisco765 263 Internet >set system c765 c765> set multidestination on c765> set switch net3 c765> set ppp multilink on c765> cd lan c765:lan> set ip routing on c765:lan> set ip address 10.0.0.1 c765:lan> set ip netmask 255.0.0.0 c765:lan> set briding off c765:lan>cd c765> set user remotenet New user remotenet being created c765:remotenet> set ip routing on c765:remotenet> set bridging off c765:remotenet> set ip framing none c765:remotenet> set ppp clientname 263 c765:remotenet> set ppp password client Enter new Password: 263 Re-Type new Password: 263 c765:remotenet> set ppp authentication out none c765:remotenet> set ip address 0.0.0.0 c765:remotenet> set ip netmask 0.0.0.0 c765:remotenet> set ppp address negotiation local on 16 406 0311-6074490 EMIAL boway@263.net 33

c765:remotenet> set ip pat on c765:remotenet> set ip route destination 0.0.0.0/0 gateway 0.0.0.0 c765:remotenet> set number 2633 c765:remotenet> set active set system c765 set multidestination on ISDN NET3 set switch net3 set ppp multilink on set briding off - set user remotenet PPP/IPCP set ip framing none set ppp clientname 263 set ppp password cliententer new Password: 263Re-Type ne w Password: 263 PPP/CHAP PAP set ppp authentication out none set ppp address negotiation local on set ip pat on set ip route destination 0.0.0.0/0 gateway 0.0.0.0 ISP set number 2633 set active PSTN (PSTN) (DDR) ISP 1. 16 406 0311-6074490 EMIAL boway@263.net 34

1.1. Access Server Cisco2511, IP. WIN95 username username password password IP ip local pool {default pool-name low-ip-address [high-ip-address]} ip address-pool [dhcp-proxy-client local] PPP encapsulation ppp async default routing PPP async mode {dedicated interactive} IP peer default ip address {ip-address dhcp pool [pool-name]} IP Ethernet0 ip unnumbered ethernet0 line modem modem {inout dialin} modem modem autoconfig discovery speed speed flowcontrol {none software [lock] [in out] 16 406 0311-6074490 EMIAL boway@263.net 35

hardware [in out]} autocommand command Router: hostname Router enable secret 5 $1$EFqU$tYLJLrynNUKzE4bx6fmH// interface Ethernet0 ip address 10.111.4.20 255.255.255.0 interface Async1 ip unnumbered Ethernet0 encapsulation ppp keepalive 10 async mode interactive peer default ip address pool Cisco2511-Group-142 ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36 line con 0 exec-timeout 0 0 password cisco line 1 16 modem InOut modem autoconfigure discovery flowcontrol hardware line aux 0 transport input all line vty 0 4 password cisco end show interface show line 1.2. Access Server Tacacs WINDOWS NT Tacacs 10.111.4.2, Cis co2511 Easy ACS 1.0. 16 406 0311-6074490 EMIAL boway@263.net 36

AAA aaa new-model Tacacs+ AAA aaa authentication login default tacacs+ no_tacacs ENABLE aaa authentication login no_t acacs enable PPP Tacacs+ aaa authentication ppp default tacacs+ TACACS+ EXEC aaa authorization exec tacacs+ TACACS+ aaa authorization network t acacs+ EXEC. TACACS+ aaa accou nting exec start-stop tacacs+ SLIP,PPP,PPP NCPs,ARAP. TACACS+ aaa accounting network start-stop t acacs+ Tacacs tacacs-server host 10.111.4.2 Tacacs+ tac tacacs -server key tac hostname router aaa new-model aaa authentication login default tacacs+ aaa authentication login no_tacacs enable aaa authentication ppp default tacacs+ aaa authorization exec tacacs+ aaa authorization network tacacs+ aaa accounting exec start-stop tacacs+ aaa accounting network start-stop tacacs+ enable secret 5 $1$kN4g$CvS4d2.rJzWntCnn/0hvE0 interface Ethernet0 ip address 10.111.4.20 255.255.255.0 interface Serial0 no ip address shutdown interface Serial1 no ip address shutdown 16 406 0311-6074490 EMIAL boway@263.net 37

interface Group-Async1 ip unnumbered Ethernet0 encapsulation ppp async mode interactive peer default ip address pool Cisco2511-Group-142 no cdp enable group-range 1 16 ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36 tacacs-server host 10.111.4.2 tacacs-server key tac line con 0 exec-timeout 0 0 password cisco login authentication no_tacacs line 1 16 login authentication tacacs modem InOut modem autoconfigure type usr_courier autocommand ppp transport input all stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware line aux 0 transport input all line vty 0 4 password cisco end 2. DDR dial-on-demand routing 16 406 0311-6074490 EMIAL boway@263.net 38

Cisco 2500 aux DDR Router1 Router2 PPP/CHAP Router1 Router2 er1 Router2 Rout password modem chat-script script-name EXPECT SEND EXPE CT SEND (etc.) dialer idle-timeout seconds dialer map protocol next-hop-address [na me hostname] [broadcast] [modem-scriptmodem-regexp] [system-script sy stem-regexp] [dial-string] dialer string dial-string chat-script script {dialer reset} s cript-name Router1: hostname Router1 enable secret 5 $1$QKI7$wXjpFqC74vDAyKBUMallw/ username Router2 password cisco chat-script cisco-default "" "AT" TIMEOUT 30 OK "ATDT T" TIMEOUT 30 CONNECT c interface Ethernet0 ip address 10.0.0.1 255.255.255.0 16 406 0311-6074490 EMIAL boway@263.net 39

interface Async1 ip address 192.200.10.1 255.255.255.0 encapsulation ppp async default routing async mode dedicated dialer in-band dialer idle-timeout 60 dialer map ip 192.200.10.2 name Router2 modem-script cisco-default 57 3 dialer-group 1 ppp authentication chap ip route 10.0.1.0 255.255.255.0 192.200.10.2 dialer-list 1 protocol ip permit line con 0 line aux 0 modem InOut modem autoconfigure discovery flowcontrol hardware Router2: hostname Router2 enable secret 5 $1$F6EV$5U8puzNt2/o9g.t56PXHo. username Router1 password cisco interface Ethernet0 ip address 10.0.1.1 255.255.255.0 interface Async1 ip address 192.200.10.2 255.255.255.0 encapsulation ppp async default routing async mode dedicated dialer in-band dialer idle-timeout 60 dialer map ip 192.200.10.1 name Router1 dialer-group 1 ppp authentication chap ip route 10.0.0.0 255.255.255.0 192.200.10.1 16 406 0311-6074490 EMIAL boway@263.net 40

dialer-list 1 protocol ip permit line con 0 line aux 0 modem InOut modem autoconfigure discovery flowcontrol hardware debug dialer debug ppp authentication debug ppp error debug ppp negotiation debug ppp packet show dialer 3. DDN DDN DDN S0 up line protocol up, standby line protocol down down X.25 X.25 X.25 line protocol up, 4 X.25 backup delay {enable-d 16 406 0311-6074490 EMIAL boway@263.net 41

elay never} {disable-delay never} backup interface type number hostname c2522rb enable secret 5 $1$J5vn$ceYDe2FwPhrZi6qsIIz6g0 enable password cisco username c4700 password 0 cisco ip subnet-zero chat-script cisco-default "" "AT" TIMEOUT 30 OK "ATDT T" TIMEOUT 30 CONNECT c chat-script reset atz interface Ethernet0 ip address 16.122.51.254 255.255.255.0 no ip mroute-cache interface Serial0 backup delay 10 10 backup interface Serial2 ip address 16.250.123.18 255.255.255.252 no ip mroute-cache no fair-queue interface Serial1 no ip address no ip mroute-cache shutdown interface Serial2 physical-layer async ip address 16.249.123.18 255.255.255.252 encapsulation ppp async mode dedicated dialer in-band dialer idle-timeout 60 dialer map ip 16.249.123.17 name c4700 6825179 dialer-group 1 ppp authentication chap interface Serial3 no ip address 16 406 0311-6074490 EMIAL boway@263.net 42

shutdown no cdp enable interface Serial4 no ip address shutdown no cdp enable interface Serial5 no ip address no ip mroute-cache shutdown interface Serial6 no ip address no ip mroute-cache shutdown interface Serial7 no ip address no ip mroute-cache shutdown interface Serial8 no ip address no ip mroute-cache shutdown interface Serial9 no ip address no ip mroute-cache shutdown interface BRI0 no ip address no ip mroute-cache shutdown router eigrp 200 network 16.0.0.0 ip classless dialer-list 1 protocol ip permit 16 406 0311-6074490 EMIAL boway@263.net 43

line con 0 line 2 script dialer cisco-default script reset reset modem InOut modem autoconfigure discovery rxspeed 38400 txspeed 38400 flowcontrol hardware line aux 0 line vty 0 4 password cisco login end c2522rb# 4. X.25: X.25, X.25,. EIGRP, Metric 200, EIGRP Metric 90,, Metric, X.25, X.25 Metric 16 406 0311-6074490 EMIAL boway@263.net 44

Router1 : hostname router1 enable secret 5 $1$UTvD$99YiY2XsRMxHudcYeHn.Y. enable password cisco username router2 password cisco ip subnet-zero chat-script cisco-default "" "AT" TIMEOUT 30 OK "ATDT T" TIMEOUT 30 CONNECT c chat-script reset atz interface Ethernet0 ip address 202.96.38.100 255.255.255.0 interface Serial0 ip address 202.96.0.1 255.255.255.0 encapsulation x25 x25 address 10112227 x25 htc 16 x25 map ip 202.96.0.2 10112225 broadcast interface Serial1 no ip address shutdown interface Async 1 ip address 202.96.1.1 255.255.255.252 encapsulation ppp dialer in-band dialer idle-timeout 60 dialer map ip 202.96.1.2 name router2 modem-script cisco-default 2113 470 dialer-group 1 ppp authentication chap router eigrp 200 redistribute connected network 202.96.0.0 ip route 202.96.37.0 255.255.255.0 202.96.1.2 200 dialer-list 1 protocol ip permit 16 406 0311-6074490 EMIAL boway@263.net 45

line con 0 line aux 0 script dialer cisco-default script reset reset modem InOut modem autoconfigure discovery transport input all rxspeed 38400 txspeed 38400 flowcontrol hardware line vty 0 4 password cisco login end Router2 : hostname router2 enable secret 5 $1$T4IU$2cIqak8f/E4Ug6dLT0k.J0 enable password cisco username router1 password cisco ip subnet-zero chat-script cisco-default "" "AT" TIMEOUT 30 OK "ATDT T" TIMEOUT 30 CONNECT c chat-script reset atz interface Ethernet0 ip address 202.96.37.100 255.255.255.0 interface Serial0 ip address 202.96.0.2 255.255.255.0 no ip mroute-cache encapsulation x25 x25 address 10112225 x25 htc 16 x25 map ip 202.96.0.1 10112227 broadcast interface Serial1 no ip address shutdown interface Async1 16 406 0311-6074490 EMIAL boway@263.net 46

ip address 202.96.1.2 255.255.255.252 encapsulation ppp keepalive 30 async default routing async mode dedicated dialer in-band dialer idle-timeout 60 dialer wait-for-carrier-time 120 dialer map ip 202.96.1.1 name router1 modem-script cisco-default 2113 469 dialer-group 1 ppp authentication chap router eigrp 200 redistribute static network 202.96.0.0 no ip classless ip route 202.96.38.0 255.255.255.0 202.96.1.1 200 dialer-list 1 protocol ip permit line con 0 exec-timeout 0 0 line aux 0 script reset reset modem InOut modem autoconfigure discovery transport input all rxspeed 38400 txspeed 38400 flowcontrol hardware line vty 0 4 password cisco login end RIP RIP(Routing information Protocol) (Interior Gateway Protocol, IGP) (distance-vector) RFC1058 RFC1723 16 406 0311-6074490 EMIAL boway@263.net 47

RIP UDP 30 RIP (hop count) RIP RIP 15 15 16 1. RIP router rip RIP version {1 2}1 network network 1.Cisco RIP 2 (CID R) (VLSMs) 2. Router1: router rip version 2 network 192.200.10.0 network 192.20.10.0 show ip protocol show ip route IGRP 16 406 0311-6074490 EMIAL boway@263.net 48

IGRP (Interior Gateway Routing Protocol) Cisco IGRP 90 3 ( 270 ) 7 630 Cisco IOS 1. RIP router igrp autonomous-system1 network network neighbor ip-address 1 autonomous-system autonomous-sys tem, IGRP autonomous-system 2 16 406 0311-6074490 EMIAL boway@263.net 49