CCIE实验室考试指南(7)
添加时间: 2008-1-4 4:20:52 作者: Cisco教程指导 阅读次数:18 来源: http://www.d9soft.com
lab 07-
isdn lab
configure isdn on routers 800 and router_b with bi-directional
calling
use chap authentication
allow all ip traffic that is non-broadcast
此主题相关图片如下:

router 800
800#sh run
building configuration...
current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 800
!
username router_b password 0 ccieprep
username 800 password 0 ccieprep
!
ip subnet-zero
!
isdn switch-type basic-ni
!
interface ethernet0
no ip address
no ip directed-broadcast
shutdown
!
interface bri0
ip address 10.0.0.1 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer map ip 10.0.0.2 name router_b 8358661
dialer-group 1
isdn spid1 0835866201
isdn spid2 0835866401
ppp authentication chap
hold-queue 75 in
!
router rip
network 10.0.0.0
!
ip classless
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
stopbits 1
line vty 0 4
!
end
verification of configuration:
800#ping 10.0.0.2
type escape sequence to abort.
sending 5, 100-byte icmp echos to 10.0.0.2, timeout is 2 seconds:
21:34:25: %link-3-updown: interface bri0:1, changed state to up.!!!!
success rate is 80 percent (4/5), round-trip min/avg/max = 32/40/56 ms
800#
21:34:25: br0:1 ppp: treating connection as a callout
21:34:26: br0:1 ppp: phase is authenticating, by both
21:34:26: br0:1 chap: o challenge id 31 len 24 from "800"
21:34:26: br0:1 chap: i challenge id 31 len 29 from "router_b"
21:34:26: br0:1 chap: o response id 31 len 24 from "800"
21:34:26: br0:1 chap: i success id 31 len 4
21:34:26: br0:1 chap: i response id 31 len 29 from "router_b"
21:34:26: br0:1 chap: o success id 31 len 4
21:34:27: %lineproto-5-updown: line protocol on interface bri0:1, changed state
to up
800#ping 10.0.0.2
type escape sequence to abort.
sending 5, 100-byte icmp echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms
800#sh isdn stat
global isdn switchtype = basic-ni
isdn bri0 interface
dsl 0, interface isdn switchtype = basic-ni
layer 1 status:
active
layer 2 status:
tei = 85, ces = 1, sapi = 0, state = multiple_frame_established
tei = 86, ces = 2, sapi = 0, state = multiple_frame_established
spid status:
tei 85, ces = 1, state = 8(established)
spid1 configured, no ldn, spid1 sent, spid1 valid
endpoint id info: epsf = 0, usid = 2, tid = 1
tei 86, ces = 2, state = 8(established)
spid2 configured, no ldn, spid2 sent, spid2 valid
endpoint id info: epsf = 0, usid = 4, tid = 1
layer 3 status:
1 active layer 3 call(s)
activated dsl 0 ccbs = 1
ccb:callid=0x801c, sapi=0x0, ces=0x1, b-chan=1 calltype = data
total allocated isdn ccbs = 1
router_b
router_b#sh run
building configuration...
current configuration:
!
version 11.3
no service password-encryption
!
hostname router_b
!
username router_b password 0 ccieprep
username 800 password 0 ccieprep
ip subnet-zero
isdn switch-type basic-ni1
!
interface serial0
ip address 10.16.0.6 255.255.255.252
no ip mroute-cache
clockrate 56000
!
interface serial1
no ip address
shutdown
!
interface serial2
no ip address
shutdown
!
interface serial3
no ip address
shutdown
!
interface tokenring0
no ip address
shutdown
!
interface bri0
ip address 10.0.0.2 255.255.255.0
encapsulation ppp
dialer map ip 10.0.0.1 name 800 8358662
dialer-group 1
isdn spid1 0835866101
isdn spid2 0835866301
ppp authentication chap
!
router ospf 100
network 10.16.0.0 0.0.0.255 area 0
!
ip classless
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
line vty 0 4
login
!
end
上一篇文章: CCIE实验室考试指南(6) 下一篇文章: CCIE实验室考试指南(4)

