Beruflich Dokumente
Kultur Dokumente
STEP 1 : Verify that you have a console cable attached to your Cisco device
console port .The other end of the cable should be attached to your PC
serial communication port with DB-9 Conector.
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
STEP 3 : In the following window, name your connection int name field and
select the telephone icon.Click OK button.
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
STEP 5 : Select bit per second 9600, databits 8, parity None, stop bits 1 and click
OK button.
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
hostname Corvit
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
10
Corvit(config-line)#login
Corvit(config-line)#password cisco
Corvit(config-line)#exit
Corvit(config)#exit
Corvit#exit
REMOVE CONSOLE PASSWORD
Corvit>enable
Corvit#configure terminal
Corvit(config)#line console 0
Corvit(config-line)#no login
Corvit(config-line)#no password
Corvit(config-line)#exit
Corvit(config)#exit
Corvit#exit
REMOVE PASSWORD FOR EXECUTIVE MODE
Corvit>enable
Corvit#configure terminal
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
11
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
12
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
13
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
14
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
15
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
16
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
17
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6114816 bytes copied in 87.123 secs (70285 bytes/sec)
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
18
PASSWORD RECOVERY
1) Turn the power switch off and back on to recycle the power.
2) Press the Break key or key sequence to put the router into ROM Monitor mode. The
Break key varies by computer or terminal software. The sequence might be CTRL-D,
CTRL-Break or another combination.
3) At the > prompt, type o to record the current value of the configuration register (usually
0x2102, or 0x102):
>o
Configuration register = 0x2102 at last boot
Bit#
Configuration register option settings:
15
Diagnostic mode disabled
4) Type o/r 0x2142 to tell the router to boot from flash without loading the configuration in
NVRAM at the next reload.
5) Type i to have the router reboot. The router ignores the configuration in NVRAM.
6) The router runs the Setup Dialog. Type no or press Ctrl-C to skip the Initial Setup
Dialog.
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
19
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
20
EXTENDED PING
RouterA#ping
Protocol [ip]:
Target IP address: 1.1.1.2
Repeat count [5]:
Datagram size [100]:
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
21
RouterA#ping
Protocol [ip]:
Target IP address: 5.1.1.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: yes
Source address or interface: 3.1.1.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/38/56 ms
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
22
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
23
CDP INFORMATION
RouterA#show cdp ?
entry
Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
traffic CDP statistics
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
24
CDP NEIGHBORS
RouterA#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID
RouterC
RouterB
Local Intrfce
Ser 0/0
Ser 0/1
Holdtme
140
153
CDP INTERFACE
RouterA#show cdp interface
Ethernet0/0 is up, line protocol is down
Encapsulation ARPA
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/0 is up, line protocol is up
Encapsulation HDLC
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1 is up, line protocol is up
Encapsulation HDLC
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
25
IP address: 3.1.1.1
Platform: cisco 2500, Capabilities: Router
Interface: Serial0/0, Port ID (outgoing port): Serial0
Holdtime : 151 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS56I-L), Version 11.3(11b)T1, RELEASE
SOFTWARE (
fc2)
TAC Support: http://www.cisco.com/cgi-bin/ibld/view.pl?i=support
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Thu 08-Mar-01 02:58 by cmong
advertisement version: 1
Device ID: RouterB
Entry address(es):
IP address: 1.1.1.2
Platform: cisco 2610, Capabilities: Router
Interface: Serial0/1, Port ID (outgoing port): Serial0/1
Holdtime : 146 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IS56I-M), Version 12.0(4)T, RELEASE
SOFTWARE (fc
advertisement version: 2
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
26
L0 192.168.1.0
RouterA
1.1.1.1
S0/1
S0/0
3.1.1.2
S0/1 1.1.1.2
S0 3.1.1.1
S0/0 2.1.1.1
S1 2.1.1.2
RouterB
RouterC
L0 192.168.2.0
L0 192.168.3.0
RouterA#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
27
RouterB#show ip route
Gateway of last resort is not set
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
28
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
29
RouterC#configure terminal
RouterC(config)#ip route 1.0.0.0 255.0.0.0 2.1.1.1
RouterC(config)#ip route 192.168.2.0 255.255.255.0 2.1.1.1
RouterC(config)#ip route 192.168.1.0 255.255.255.0 3.1.1.2
RouterC#show ip route
Gateway of last resort is not set
S 1.0.0.0/8 [1/0] via 2.1.1.1
C 2.0.0.0/8 is directly connected, Serial1
C 3.0.0.0/8 is directly connected, Serial0
S 192.168.1.0/24 [1/0] via 3.1.1.2
S 192.168.2.0/24 [1/0] via 2.1.1.1
C 192.168.3.0/24 is directly connected, Loopback0
RIP CONFIGURATION
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
30
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
31
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
NOTE:(Configuring Rip on RouterA)
RouterA#configure terminal
RouterA(config)#router rip
RouterA(config-router)#network 3.0.0.0
RouterA(config-router)#network 1.0.0.0
RouterA(config-router)#network 192.168.1.0
RouterA(config-router)#exit
RouterA(config)#
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
R 2.0.0.0/8 [120/1] via 1.1.1.2, Serial0/1
[120/1] via 3.1.1.1, Serial0/0
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
R 192.168.2.0/24 [120/1] via 1.1.1.2, Serial0/1
R 192.168.3.0/24 [120/1] via 3.1.1.1, Serial0/0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
32
RouterA#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 16 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Redistributing: rip
Default version control: send version 1, receive any version
Routing for Networks:
1.0.0.0
3.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
3.1.1.1
120
00:00:16
1.1.1.2
120
00:00:20
Distance: (default is 120)
RouterB#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 2.0.0.0/8 is directly connected, Serial0/0
C 192.168.2.0/24 is directly connected, Loopback0
NOTE:(Configuring Rip on RouterB)
RouterB#configure terminal
RouterA(config)#router rip
RouterB(config-router)#network 1.0.0.0
RouterB(config-router)#network 2.0.0.0
RouterB(config-router)#network 192.168.2.0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
33
RouterB#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 2.0.0.0/8 is directly connected, Serial0/0
R 3.0.0.0/8 [120/1] via 1.1.1.1, Serial0/1
[120/1] via 2.1.1.2, Serial0/0
R 192.168.1.0/24 [120/1] via 1.1.1.1, Serial0/1
C 192.168.2.0/24 is directly connected, Loopback0
R 192.168.3.0/24 [120/1] via 2.1.1.2, Serial0/0
RouterC#show ip route
Gateway of last resort is not set
C 2.0.0.0/8 is directly connected, Serial1
C 3.0.0.0/8 is directly connected, Serial0
C 192.168.3.0/24 is directly connected, Loopback0
NOTE:(Configuring RIP on RouterC)
RouterC#configure terminal
RouterA(config)#router rip
RouterC(config-router)#network 2.0.0.0
RouterC(config-router)#network 3.0.0.0
RouterC(config-router)#network 192.168.3.0
RouterC(config-router)#exit
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
34
RouterC#show ip route
Gateway of last resort is not set
R 1.0.0.0/8 [120/1] via 2.1.1.1, 00:00:23, Serial1
[120/1] via 3.1.1.2, 00:00:14, Serial0
C 2.0.0.0/8 is directly connected, Serial1
C 3.0.0.0/8 is directly connected, Serial0
R 192.168.1.0/24 [120/1] via 3.1.1.2, 00:00:14, Serial0
R 192.168.2.0/24 [120/1] via 2.1.1.1, 00:00:23, Serial1
C 192.168.3.0/24 is directly connected, Loopback0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
35
IGRP CONFIGURATION
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
36
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
NOTE:(Configuring igrp on RouterA)
RouterA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#router igrp 10
RouterA(config-router)#network 1.0.0.0
RouterA(config-router)#network 3.0.0.0
RouterA(config-router)#network 192.168.1.0
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
I 2.0.0.0/8 [100/10476] via 1.1.1.2, Serial0/1
[100/10476] via 3.1.1.1, Serial0/0
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
I 192.168.2.0/24 [100/8976] via 1.1.1.2, Serial0/1
I 192.168.3.0/24 [100/8976] via 3.1.1.1, Serial0/0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
37
RouterA#show ip protocols
Routing Protocol is "igrp 10"
Sending updates every 90 seconds, next due in 50 seconds
Invalid after 270 seconds, hold down 280, flushed after 630
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
IGRP maximum hopcount 100
IGRP maximum metric variance 1
Redistributing: igrp 10
Routing for Networks:
1.0.0.0
3.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
3.1.1.1
100
00:01:15
1.1.1.2
100
00:00:42
Distance: (default is 100)
RouterB#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 2.0.0.0/8 is directly connected, Serial0/0
C 192.168.2.0/24 is directly connected, Loopback0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
38
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
39
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
40
EIGRP CONFIGURATION
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
41
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
NOTE:(Configuring Eigrp on RouterA)
RouterA#configure terminal
RouterA(config)#router eigrp 100
RouterA(config-router)#network 1.0.0.0
RouterA(config-router)#network 3.0.0.0
RouterA(config-router)#network 192.168.1.0
RouterA#show ip route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial0/1
D 2.0.0.0/8 [90/2681856] via 1.1.1.2, Serial0/1
[90/2681856] via 3.1.1.1, Serial0/0
C 3.0.0.0/8 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, Loopback0
D 192.168.2.0/24 [90/2297856] via 1.1.1.2, Serial0/1
D 192.168.3.0/24 [90/2297856] via 3.1.1.1, Serial0/0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
42
RouterA#show ip protocols
Routing Protocol is "eigrp 100"
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 100
Automatic network summarization is in effect
Automatic address summarization:
1.0.0.0/8 for Serial0/0, Loopback0
3.0.0.0/8 for Serial0/1, Loopback0
192.168.1.0/24 for Serial0/0, Serial0/1
Routing for Networks:
1.0.0.0
3.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
3.1.1.1
90
00:03:04
1.1.1.2
90
00:03:04
Distance: internal 90 external 170
RouterB#show ip route
Gateway of last resort is not set
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
43
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
44
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
45
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
46
RouterA#configure terminal
RouterA(config)#router ospf 10
RouterA(config-router)#network 1.0.0.0 0.255.255.255 area 0
RouterA(config-router)#network 3.0.0.0 0.255.255.255 area 0
RouterA(config-router)#network 192.168.1.0 0.0.0.255 area 0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
47
RouterA#show ip protocols
Routing Protocol is "ospf 10"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Redistributing: ospf 10
Routing for Networks:
1.0.0.0
3.0.0.0
192.168.1.0
Routing Information Sources:
Gateway
Distance
Last Update
192.168.3.1
110
00:00:50
192.168.2.1
110
00:00:50
Distance: (default is 110)
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
48
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 192.168.3.1
Suppress hello for 0 neighbor(s)
RouterA#show ip ospf neighbor
Neighbor ID
192.168.3.1
192.168.2.1
Pri State
1 FULL/ 1 FULL/ -
Interface
Serial0/0
Serial0/1
RouterB#configure terminal
RouterB(config)#router ospf 20
RouterB(config-router)#network 1.0.0.0 0.255.255.255 area 0
RouterB(config-router)#network 2.0.0.0 0.255.255.255 area 0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
49
Pri State
1 FULL/ 1 FULL/ -
Interface
Serial0/0
Serial0/1
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
50
RouterA(config)#router ospf 10
RouterA(config-router)#network 1.0.0.0 0.255.255.255 area 0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
51
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
52
Neighbor ID
192.168.3.1
192.168.2.1
Pri State
1 FULL/ 1 FULL/ -
Interface
Serial0/0
Serial0/1
RouterB#configure terminal
RouterB(config)#router ospf 20
RouterB(config-router)#network 1.0.0.0 0.255.255.255 area 0
RouterB(config-router)#network 2.0.0.0 0.255.255.255 area 0
RouterB(config-router)#network 192.168.2.0 0.0.0.255 area 0
RouterB#show ip route ospf
O IA 3.0.0.0/8 [110/128] via 1.1.1.1, Serial0/1
[110/128] via 2.1.1.2, Serial0/0
192.168.1.0/32 is subnetted, 1 subnets
O IA 192.168.1.1 [110/65] via 1.1.1.1, Serial0/1
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/65] via 2.1.1.2, Serial0/0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
53
RouterC#configure terminal
RouterC(config)#router ospf 30
RouterC(config-router)#network 3.0.0.0 0.255.255.255 area 2
RouterC(config-router)#network 2.0.0.0 0.255.255.255 area 0
RouterC(config-router)#network 192.168.3.0 0.0.0.255 area 1
RouterC#show ip route ospf
O 1.0.0.0/8 [110/128] via 2.1.1.1, 00:08:42, Serial1
192.168.1.0/32 is subnetted, 1 subnets
O
192.168.1.1 [110/65] via 3.1.1.2, 00:09:00, Serial0
192.168.2.0/32 is subnetted, 1 subnets
O
192.168.2.1 [110/65] via 2.1.1.1, 00:08:42, Serial1
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
54
HOSTNAME CONFIGURATION
>enable
#configure terminal
(config)#hostname Switch-A
Switch-A(config)#exit
Switch-A#exit
LINE CONSOLE PASSWORD
Switch-A#configure terminal
Switch-A(config)#line console 0
Switch-A(config-line)#password corvit
Switch-A(config-line)#exit
Switch-A(config)#exit
Switch-A#exit
Switch-A con0 is now available
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
55
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
56
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
57
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
58
line con 0
login
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
59
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
60
DESCRIPTION ON INTERFACE
Switch-A#configure terminal
Switch-A(config)#interface fastethernet 0/1
Switch-A(config-if)#description This interface belongs to Corvit-marson lab
Switch-A(config-if)#exit
Switch-A(config)#
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
61
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
62
Status
notconnect
notconnect
notconnect
connected
notconnect
connected
notconnect
notconnect
notconnect
notconnect
notconnect
notconnect
Vlan
Duplex Speed Type
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
a-full a-100 10/100BaseTX
1
auto auto 10/100BaseTX
1
a-full a-100 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
1
auto auto 10/100BaseTX
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
63
000c.ceb9.f107
DYNAMIC
Fa0/7
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
64
Switch-A#show running-config
interface FastEthernet0/2
switchport mode access
switchport port-security
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0200.1111.2222
no ip address
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
65
Switch-A#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 000c.8534.4f80
Cost
19
Port
11 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 000c.ceb9.f100
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
66
CREATE A VLAN
Switch-A#vlan database
Switch-A(vlan)#vlan 2 name corvit
VLAN 2 added:
Name: corvit
Switch-A(vlan)#?
VLAN database editing buffer manipulation commands:
abort Exit mode without applying the changes
apply Apply current changes and bump revision number
exit Apply changes, bump revision number, and exit mode
no Negate a command or set its defaults
reset Abandon current changes and reread current database
show Show database information
vlan Add, delete, or modify values associated with a single VLAN
vtp Perform VTP administrative functions.
Switch-A(vlan)#exit
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
67
APPLY completed.
Exiting....
DISPLAY A VLAN
Switch-A#show vlan
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active
Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
2 corvit
active
1002 fddi-default
active
1003 token-ring-default
active
1004 fddinet-default
active
1005 trnet-default
active
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode Trans1
Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001
1500 - - 0
0
2 enet 100002
1500 - - 0
0
1002 fddi 101002 1500 - - 0
0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
68
1003 tr 101003
1004 fdnet 101004
1005 trnet 101005
- - srb
ieee ibm -
0
0
0
0
0
0
Ports
VLAN MEMBERSHIP
Switch-A#configure terminal
Switch-A(config)#int fastEthernet 0/1
Switch-A(config-if)#switchport mode access
Switch-A(config-if)#switchport access vlan 2
Switch-A(config)#int fastEthernet 0/3
Switch-A(config-if)#switchport mode access
Switch-A(config-if)#switchport access vlan 2
Switch-A#show vlan
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active Fa0/2, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
69
Fa0/11, Fa0/12
2 corvit
1002 fddi-default
1003 token-ring-default
1004 fddinet-default
1005 trnet-default
active
active
active
active
active
Fa0/1, Fa0/3
VTP INFORMATION
Switch#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 64
Number of existing VLANs
:6
VTP Operating Mode
: Server
VTP Domain Name
:
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0xE0 0x2D 0x90 0xFF 0x12 0x58 0x21 0x3
Configuration last modified by 0.0.0.0 at 3-1-93 00:45:42
Local updater ID is 0.0.0.0 (no valid interface found)
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
70
VTP DOMAIN
Switch(config)#vtp domain corvit
Switch#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 64
Number of existing VLANs
:6
VTP Operating Mode
: Server
VTP Domain Name
: corvit
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x14 0x9A 0xF0 0x35 0xD3 0xB3 0x0B
0x25
VTP PASSWORD
Switch(config)#vtp password cisco
Switch#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 64
Number of existing VLANs
:6
VTP Operating Mode
: Server
VTP Domain Name
: corvit
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x2F 0xAB 0xD3 0xCD 0xC4 0x29 0x73
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
71
VTP CLIENT
Switch(config)#vtp mode client
Switch#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 64
Number of existing VLANs
:6
VTP Operating Mode
: Client
VTP Domain Name
: corvit
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x2F 0xAB 0xD3 0xCD 0xC4 0x29 0x73
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
72
RouterA#configure terminal
RouterA(config)#access-list 1 remark stop all trafic whose source ip 1.1.1.2
RouterA(config)#access-list 1 deny 1.1.1.2 0.0.0.0
RouterA(config)#access-list 1 permit any
RouterA(config)#int s0/0
RouterA(config-if)#ip access-group 1 in
RouterA#show access-lists
Standard IP access list 1
deny 1.1.1.2
permit any
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
73
RouterB#ping
Protocol [ip]:
Target IP address: 1.1.1.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: yes
Source address or interface: 1.1.1.2
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
74
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
75
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
76
RouterB#ping
Protocol [ip]:
Target IP address: 1.1.1.1
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
77
RouterB#telnet 1.1.1.1
Trying 1.1.1.1 ...
% Destination unreachable; gateway or host down
78
RouterA#show access-lists
Extended IP access list corvit
deny tcp any host 1.1.1.1 eq telnet
permit ip any any (156 matches)
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
79
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
80
RouterB#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/38/52 ms
RouterB#telnet 1.1.1.1
Trying 1.1.1.1 ...
% Destination unreachable; gateway or host down
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
81
ROUTER A
version 12.0
service timestamps debug uptime
no service password-encryption
!
ip nat inside source static 10.1.1.1 5.1.1.3
!
interface Loopback0
ip address 10.1.1.1 255.0.0.0
ip nat inside
!
interface Serial0/0
ip address 5.1.1.1 255.0.0.0
ip nat outside
ip route 12.1.1.1 255.255.255.255 5.1.1.2
no ip http server
!
<OUTPUT OMITTED>
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
82
Outside local
---
Outside global
---
RouterA#debug ip nat
IP NAT debugging is on
RouterA#ping
Protocol [ip]:
Target IP address: 12.1.1.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: yes
Source address or interface: 10.1.1.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
01:00:24: NAT: s=10.1.1.1->5.1.1.3, d=12.1.1.1 [20]
01:00:24: NAT: s=12.1.1.1, d=5.1.1.3->10.1.1.1 [20]
01:00:24: NAT: s=10.1.1.1->5.1.1.3, d=12.1.1.1 [21]
01:00:24: NAT: s=12.1.1.1, d=5.1.1.3->10.1.1.1 [21]
01:00:24: NAT: s=10.1.1.1->5.1.1.3, d=12.1.1.1 [22]
01:00:24: NAT: s=12.1.1.1, d=5.1.1.3->10.1.1.1 [22]
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
83
version 12.0
service timestamps debug uptime
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
ip nat pool corvit 5.1.1.3 5.1.1.5 netmask 255.0.0.0
ip nat inside source list 1 pool Corvit
!
interface Ethernet0/0
ip address 10.1.1.1 255.0.0.0 secondary
ip address 10.1.1.2 255.0.0.0 secondary
ip address 10.1.1.3 255.0.0.0 secondary
ip address 10.1.1.4 255.0.0.0
ip nat inside
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
84
no ip http server
!
!
interface Serial0/0
ip address 5.1.1.1 255.0.0.0
ip nat outside
ip route 12.1.1.1 255.255.255.255 5.1.1.2
!
access-list 1 permit 10.1.1.2
access-list 1 permit 10.1.1.3
access-list 1 permit 10.1.1.1
!
line con 0
transport input none
line aux 0
line vty 0 4
no login
!
end
RouterA#debug ip nat
IP NAT debugging is on
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
85
RouterA#ping
Protocol [ip]:
Target IP address: 12.1.1.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: yes
Source address or interface: 10.1.1.3
Type of service [0]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
1.From router A, ping 12.1.1.1 using source address 10.1.1.3
2.From router A, ping 12.1.1.1 using source address 10.1.1.2
3.From router A, ping 12.1.1.1 using source address 10.1.1.1
01:20:43: NAT: s=10.1.1.3->5.1.1.3, d=12.1.1.1 [20]
01:21:59: NAT: s=10.1.1.2->5.1.1.4, d=12.1.1.1 [25]
01:22:43: NAT: s=10.1.1.1->5.1.1.5, d=12.1.1.1 [30]
RouterA#show ip nat translations
Pro Inside global
Inside local
--- 5.1.1.3
10.1.1.3
--- 5.1.1.5
10.1.1.1
--- 5.1.1.4
10.1.1.2
Outside local
-------
Outside global
-------
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
86
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RouterA
!
ip nat pool corvit 5.1.1.3 5.1.1.3 netmask 255.0.0.0
ip nat inside source list 1 pool corvit overload
!
interface Ethernet0/0
ip address 10.1.1.1 255.0.0.0 secondary
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
87
!
interface Serial0/0
ip address 5.1.1.1 255.0.0.0
ip nat outside
ip classless
ip route 12.1.1.1 255.255.255.255 5.1.1.2
no ip http server
!
access-list 1 permit 10.1.1.2
access-list 1 permit 10.1.1.3
access-list 1 permit 10.1.1.1
!
line con 0
transport input none
line aux 0
line vty 0 4
no login
!
end
RouterA#debug ip nat
IP NAT debugging is on
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
88
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
89
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname KHI-CORVIT
!
username LHR-CORVIT password 0 azeem
!
interface Serial0/0
ip address 1.1.1.1 255.0.0.0
encapsulation ppp
ppp authentication chap
!
line con 0
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
90
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname LHR-CORVIT
!
username KHI-CORVIT password 0 azeem
!
interface Serial0/0
ip address 1.1.1.2 255.0.0.0
encapsulation ppp
clock rate 64000
ppp authentication chap
!
ip classless
no ip http server
!
!
line con 0
transport input none
line aux 0
line vty 0 4
no login
!
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
91
end
ROUTER KHI-CORVIT
KHI-CORVIT#configure terminal
KHI-CORVIT (config)#isdn switch-type basic-net3
KHI-CORVIT (config)# dialer-list 1 protocol ip permit
KHI-CORVIT (config)#interface bri0
KHI-CORVIT (config-if)#ip address 1.1.1.1 255.0.0.0
KHI-CORVIT (config-if)#encapsulation ppp
KHI-CORVIT (config-if)#dialer-group 1
KHI-CORVIT (config-if)#dialer map ip 1.1.1.2 5717271
KHI-CORVIT (config-if)#dialer idle-timeout 180
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
92
ROUTER LHR-CORVIT
LHR-CORVIT#configure terminal
LHR -CORVIT (config)#isdn switch-type basic-net3
LHR -CORVIT (config)# dialer-list 1 protocol ip permit
LHR -CORVIT (config)#interface bri0
LHR -CORVIT (config-if)#ip address 1.1.1.2 255.0.0.0
LHR -CORVIT (config-if)#encapsulation ppp
LHR -CORVIT (config-if)#dialer-group 1
LHR -CORVIT (config-if)#dialer map ip 1.1.1.1 4380476
LHR -CORVIT (config-if)#dialer idle-timeout 180
Current configuration:
!
version 12.0
service timestamps debug uptime
no service password-encryption
!
hostname KHI-CORVIT
!
enable password cisco
!
isdn switch-type basic-net3
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
93
!
interface BRI 0
ip address 1.1.1.1 255.0.0.0
encapsulation ppp
dialer map ip 1.1.1.2 5717271
dialer-group 1
dialer idle-timeout 180
!
dialer-list 1 protocol ip permit
!
line con 0
end
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname LHR-CORVIT
!
enable password cisco
!
isdn switch-type basic-net3
interface BRI 0
ip address 1.1.1.2 255.0.0.0
encapsulation ppp
dialer map ip 1.1.1.1 4380476
dialer-group 1
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line aux 0
line vty 0 4
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
94
no login
!
end
Last status
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
95
4380476
6
0
0 incoming call(s) have been screened.
BRI0: B-Channel 1
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is data link layer up
Dial reason: ip (s=1.1.1.2, d=1.1.1.2)
19 secs
Successful
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
96
ROUTER A CONFIGURATION
RouterA#configure terminal
RouterA(config)#int s0/0
RouterA(config-if)#ip address 10.0.0.1 255.0.0.0
RouterA(config-if)#encapsulation frame-relay
RouterA(config-if)#frame-relay lmi-type ansi
ROUTER B CONFIGURATION
RouterB#configure terminal
RouterB(config)#int s0/1
RouterB(config-if)#ip address 10.0.0.2 255.0.0.0
RouterB(config-if)#encapsulation frame-relay
RouterB(config-if)#frame-relay lmi-type ansi
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
97
.......CORVIT MARSONS....
..
6th Floor Business Avenue, Shahra-e-Faisal, Karachi
Ph: 4382400, 4382402, Fax: 4380476
Email: khi@corvit.com
98