此实验过程是使用Boson NetSim for CCNP version 6.0 BETA 1软件下做的。其中使用两台R3640路由器。
第一台
R3640
路由器的配置如下:
Press Enter to Start
Router>
Router>enable
Router#show version
Boson Operating Simulation Software
BOSS (tm) C3600 Software (C3600-Enterprise), Version 12.1, RELEASE SOFTWARE
Copyright (c) 1998-2003 by Boson Software, Inc.
BOSS ROM: System Bootstrap, Version 12.2, RELEASE SOFTWARE
Router Uptime Is 0 days, 0 hours, 0 minutes
System restarted by power-on
System image file is ""flash:c3600-enterprise.12.1.boss"", booted via flash
Boson 3600 (BOSS) processor (revision 5.0)
1 Fast Ethernet/IEEE 802.3 interface(s)
6 ISDN Basic Rate interface(s)
32K bytes of simulated non-volatile configuration memory.
8192K bytes of simulated System flash (Read/Write)
Configuration register is 0X2102
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#username R2 password cisco
R1(config)#isdn switch-type basic-net3
R1(config)#dialer-list 1 protocol ip permit
R1(config)#interface bri0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#isdn spid 32177820010100
R1(config-if)#dialer-group 1
R1(config-if)#dialer string 7782001
R1(config-if)#dialer map ip 192.168.1.2 name R2 7782001
R1(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Bri0/0, changed state to up
%LINK-3-UPDOWN: Interface Bri0/0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0/0, changed state to down
%LINK-3-UPDOWN: Interface Bri0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Bri0/0, changed state to up
R1(config-if)#end
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#
R1#
R1#
R1#
R1#show running-config
Building configuration...
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
username R2 password dsfeng
!
!
!
ip subnet-zero
spanning-tree vlan 1 priority
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
bandwidth 100000
shutdown
!
interface Bri0/0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
dialer string 7782001
dialer-group 1
isdn spid1 32177820010100
dialer map ip 192.168.1.2 name R2 7782001
encapsulation ppp
ppp authentication chap
!
interface Bri0/1
no ip address
no ip directed-broadcast
shutdown
!
!
ip classless
no ip http server
!
!
!
dialer-list 1 protocol ip permit
!
isdn switch-type basic-net3
line con 0
transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end
R1#
R1#
R1#
R1#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-net3
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 64, ces = 1, state = 8(established)
spid1 configured, no LDN, spid1 sent, spid1 valid
Layer 3 Status:
1 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0
ISDN BRI1 interface
dsl 0, interface ISDN Switchtype = basic-net3
Layer 1 Status:
TESTING
Layer 2 Status:
Layer 2 NOT Activated
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0
R1#
R1#
R1#
第二台
R3640
路由器的配置如下:
Press Enter to Start
Router>
Router>
Router>
Router>enable
Router#show version
Boson Operating Simulation Software
BOSS (tm) C3600 Software (C3600-Enterprise), Version 12.1, RELEASE SOFTWARE
Copyright (c) 1998-2003 by Boson Software, Inc.
BOSS ROM: System Bootstrap, Version 12.2, RELEASE SOFTWARE
Router Uptime Is 0 days, 0 hours, 10 minutes
System restarted by power-on
System image file is ""flash:c3600-enterprise.12.1.boss"", booted via flash
Boson 3600 (BOSS) processor (revision 5.0)
1 Fast Ethernet/IEEE 802.3 interface(s)
3 ISDN Basic Rate interface(s)
32K bytes of simulated non-volatile configuration memory.
8192K bytes of simulated System flash (Read/Write)
Configuration register is 0X2102
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#username R1 password cisco
R2(config)#isdn switch-type basic-net3
R2(config)#dialer-list 1 protocol ip permit
R2(config)#interface bri0/0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#isdn spid 32177820020100
R2(config-if)#dialer-group 1
R2(config-if)#dialer string 7782002
R2(config-if)#dialer map ip 192.168.1.1 name R1 7782002
R2(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Bri0/0, changed state to up
R2(config-if)#end
R2#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R2#
R2#show isdn status
Global ISDN Switchtype = basic-net3
ISDN BRI0 interface
dsl 0, interface ISDN Switchtype = basic-net3
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
TEI 64, ces = 1, state = 8(established)
spid1 configured, no LDN, spid1 sent, spid1 valid
Layer 3 Status:
1 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Number of L2 Discards = 0, L2 Session ID = 100
Total Allocated ISDN CCBs = 0
R2#
R2#
R2#show running-config
Building configuration...
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
username R1 password dsfeng
!
!
!
ip subnet-zero
spanning-tree vlan 1 priority
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
bandwidth 100000
shutdown
!
interface Bri0/0
ip address 192.168.1.2 255.255.255.0
no ip directed-broadcast
dialer string 7782002
dialer-group 1
isdn spid1 32177820020100
dialer map ip 192.168.1.1 name R1 7782002
encapsulation ppp
ppp authentication chap
!
!
ip classless
no ip http server
!
!
!
dialer-list 1 protocol ip permit
!
isdn switch-type basic-net3
line con 0
transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end
R2#
R2#
R2#
R2#