Showing posts with label CCIE. Show all posts
Showing posts with label CCIE. Show all posts

Sunday, August 15, 2010

Advance WAN Configuration, Frame Relay

While preparing for my CCIE (Routing & Switching), I am going through the detail concept of each topic, lets talk little bit about frame relay. The different terminology that are used in frame realy are as under:

Terminlogy

Permanent Virtual Circuti (PVC)
Data-Link Connection Identifier (DLCI)
Local Management Interface (LMI)
Network-to-Network Interface (NNI)
Local Access Rate / Committed Information Rate

Configuration

Base Config, W/Inverse-ARP
Manual Config, Sub-Interfaces
Hybrid Config Example
Verification
Frame-Relay Config, W/Inverse ARP

What this Inverse-ARP means, when Router-A sends request with DLCI 102 so the response of Router-B is positve that I available here so this response of Router-B is Inverse-ARP. Whenever configuration of frame relay is done so we can have any one of the following state by issuing a single command:

Router-B # Show frame-relay map

Status:

Active: This means that Local and Remote connection are working
InActive: This means that Local Connection is woring while Remote is not working
Deleted: Local Connection is not working while Remote is unknown
Let suppose Router-A say to Router-B that I want to reach DLCI 109 and in response Router-B say I am unaware of this DLCI so this is Deleted Status.
Lets look at the output on one router

Router-C#show frame-relay map

Serial1/0 (up): ip 172.16.1.3 dlci 301(0x12D,0x48D0), static,
broadcast,
CISCO, status defined, active
Serial1/0 (up): ip 172.16.1.1 dlci 301(0x12D,0x48D0), static,
broadcast,
CISCO, status defined, active


NOTE: In CCIE Lab and actual lab we have to turn off this INVERSE-ARP as it will dynamically find the DLCI and Traffice will send to those route to which we don’t want to send.

Frame Relay Configuration, Sub Interfaces

First Let me clear why we using sub-interfaces, why not single interfaces so there are couple of reason for it, 1st Reason is that we have two different subnets, 2nd Reason is Due to Split Horizon (“It states that don’t send traffic back on interface on which it arrives” for further deatil see Here), 3rd Reason is that look at the topology when LAN traffic of Router-B send to Router-A so it will send to Router-C and Routing loops will be created and split-horizon rules tells us not to do this, so we use sub-interfaces for this reason.


Look at the configuration below, but let me explain two commands that why I used that here:

Router-A (config) # interface serial 1/0
Router-A (config-if) # no frame-relay inverse-arp


We block to discover who is on other side

Router-A (config-if) # no arp frame-relay

This command states that one any onw try to access you, so don’t response
After configuration between Router-A and Router-B as Point-to-Point and Router-A and Router-C, Router-D as Multipoint so when we chek connectivity between Router-C and Router-D so it will not work as we have to do the DLCI mapping for them also.
Another most important thing is that at end of all configuraion The Router-D LAN traffice will be there in Router-A but not in Router-B and Router-C and it is because of split-horizon, so we have to turn off it manually (Traffice send from Router-D on interface serial 1/0.2)

Router-A(config)# interface serial 1/0.2
Router-A(config-subif)# no ip split-horizon eigrp 1

Router-C # show ip route

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:01:12, Null0
C 172.16.1.0/24 is directly connected, Serial1/0
D 10.0.0.0/8 [90/2681856] via 172.16.1.1, 00:00:12, Serial1/0
C 192.168.2.0/24 is directly connected, FastEthernet2/0
D 192.168.3.0/24 [90/2684416] via 172.16.1.1, 00:00:07, Serial1/0
The Router-D LAN route is shown as bold in the output.

Now lets look at the detail configuration on each router:

Frame-Relay Switch

hostname FRS
!
boot-start-marker
boot-end-marker
!

ip cef
!
frame-relay switching
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
no fair-queue
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial1/1 201
frame-relay route 103 interface Serial1/2 301
frame-relay route 104 interface Serial1/3 401
!
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial1/0 102
!
interface Serial1/2
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Serial1/0 103
!
interface Serial1/3
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 401 interface Serial1/0 104
!

Router-A CONFIGURATIONS
!
hostname A
!
ip cef
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
no fair-queue
no arp frame-relay
no frame-relay inverse-arp
!
interface Serial1/0.1 point-to-point
ip address 10.1.1.1 255.255.255.0
frame-relay interface-dlci 102
!
interface Serial1/0.2 multipoint
ip address 172.16.1.1 255.255.255.0
no ip split-horizon eigrp 1
frame-relay map ip 172.16.1.3 104 broadcast
frame-relay map ip 172.16.1.2 103 broadcast
!
router eigrp 1
network 10.0.0.0
network 172.16.0.0
auto-summary
!

Router-C CONFIGURATIONS
!
hostname C
!
no aaa new-model
!
!
ip cef

interface Serial1/0
ip address 172.16.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
no arp frame-relay
frame-relay map ip 172.16.1.3 301 broadcast
frame-relay map ip 172.16.1.1 301 broadcast
no frame-relay inverse-arp
frame-relay lmi-type cisco
!
interface FastEthernet2/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 1
network 172.16.0.0
network 192.168.2.0
auto-summary
!

I Hope this will be informative for You !

Cheers :)

Friday, August 6, 2010

Core Knowledge Questions Removed for CCIE R&S and Voice Lab Exams

I am going to appear for CCIE (R&S) Bootcamp on 9th August 2010 in Corvit Lahore. Last Night i was looking on www.cisco.com. I was reading about CCIE, i came across with this statement "CCIE R&S and CCIE Voice Lab Exams, in all global locations, will no longer include the four open-ended Core Knowledge questions" for further detail consult reference links.

Reference:

www.cisco.com/web/learning/le3/ccie/index.htm

or

https://learningnetwork.cisco.com/docs/DOC-6484

Cheers :)

Thursday, October 29, 2009

Booting XM Images on Non-XM 2600 Series Routers

CCIE Preparation in progress and we fell that some of our routers are not able to fulfill our requirements like one of the limitation we can face and I personally faced that our 2600 series routers (2610, 2611, 2620 etc) lack the memory capacity to run the new IOS images, within CCIE (Routing & Switching) boot camp we can quote this problem that it doesn’t support OSPFv3 for IPv6. For us we are lucky that the old 2600 series platform is same as 2600xm series routers just with a bit difference of less processing power and memory capacity. What this means that 2600 series router can boot 2600XM images and therefore run IOS version that support OSPFv3. Now to accomplish this task we have to use “tftpdnld –r” command in rommon mode to boot an IOS image into RAM. As the image will be running from RAM, a TFTP download will be required every time the router is rebooted.

CONFIGURATIONS:

Following is the configuration of a 2610 router running the 12.2(15) T7 IP Plus image. While it does support IPv6 routing but it lacks OSPFv3 support which is our requirement in this case:

CCIE-Router-9 # show version

Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.2(15) T7, RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc
Compiled Sat 09-Aug-03 07:18 by ccai
Image text-base: 0x80008098, data-base: 0x8195144C

ROM: System Bootstrap, Version 11.3(2) XA4, RELEASE SOFTWARE (fc1)

Router uptime is 5 hours, 8 minutes
System returned to ROM by power-on
System image file is "flash: c2600-j1s3-mz.122-15.T7.bin"

cisco 2610 (MPC860) processor (revision 0x202) with 59392K/6144K bytes of memory.
Processor board ID JAD03337409 (4221326695)
M860 processor: part number 0, mask 49
Bridging software
X.25 software, Version 3.0.0
TN3270 Emulation software
2 Ethernet/IEEE 802.3 interface(s)
4 Serial network interface(s)
32K bytes of non-volatile configuration memory
16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2142 (will be 0x2102 at next reload)


CCIE-Router-9 # config terminal
Enter configuration commands, one per line. End with CNTL/Z.
CCIE-Router-9 (config) # ipv6 unicast-routing
CCIE-Router-9 (config) # ipv6 router ospf 1
CCIE-Router-9 (config) # interface e0/0
CCIE-Router-9 (config-if) # ipv6 ospf 1 area 0

% Invalid input detected at '^' marker.

CCIE-Router-9 (config-if) # exit
CCIE-Router-9 #

In order to boot the XM image we first have to boot the router into rommon mode. To do this reloads the router and press CTRL-BREAK as the router begins to boot.

CCIE-Router-9 # reload

System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]


*Oct 1 10:59:13.751: %SYS-5-RELOAD: Reload requested by console.
System Bootstrap, Version 11.3(2) XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC: Home:SW:IOS:Specials for info
PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0
C2600 platform with 65536 Kbytes of main memory

PC = 0xfff0a530, Vector = 0x500, SP = 0x80004864

monitor: command "boot" aborted due to user interrupt


rommon 1 >

Setting ENVIRONMENT Varaibles:


1. Now next we have to set the environment variables for loading an IOS image via tftp.

rommon 1 > IP_ADDRESS=10.110.9.2
rommon 2 > IP_SUBNET_MASK=255.0.0.0
rommon 3 > DEFAULT_GATEWAY=10.110.9.102
rommon 4 > TFTP_SERVER=10.110.9.102
rommon 5 > TFTP_FILE=FileName.bin

2. Next, issue the "tftpdnld -r" command.

Note: The -r switch is required to instruct the router to load the image to RAM instead of writing it to flash.

rommon 6 > tftpdnld -r

IP_ADDRESS: 10.110.9.2
IP_SUBNET_MASK: 255.0.0.0
DEFAULT_GATEWAY: 10.110.9.102
TFTP_SERVER: 10.110.9.102
TFTP_FILE: FileName.bin


Receiving 2600xm.bin from 192.10.4.254!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!
File reception completed.

Program load complete, entry point: 0x80008000, size: 0x1176b34
Self decompressing the image: #######################################
############################################################ [OK]


Do show running-config, we can now see that the router has booted and is running IOS 12.2(15) T14 Enterprise Plus, which is only officially supported as a 2600XM image. Most importantly our 2610 router now has OSPFv3 support.

CCIE-Router-9 > enable
CCIE-Router-9 # configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

CCIE-Router-9 (config) # ipv6 unicast-routing
CCIE-Router-9 (config) # ipv6 router ospf 1
CCIE-Router-9 (config-rtr) # ?

area: OSPF area parameters
auto-cost: Calculate OSPF interface cost according to bandwidth
compatible: OSPF compatibility list
default: Set a command to its defaults
default-information: Distribution of default information
default-metric: Set metric of redistributed routes
discard-route: Enable or disable discard-route installation
distance: Administrative distance


CCIE-Router-9 (config) # interface e0/0

CCIE-Router-9 (config-if) #ipv6 ospf ?
<1-65535>: Process ID
cost: Interface cost
database-filter: Filter OSPF LSA during synchronization and flooding
dead-interval: Interval after which a neighbor is declared dead
demand-circuit: OSPF demand circuit
flood-reduction: OSPF Flood Reduction
hello-interval: Time between HELLO packets
mtu-ignore: Ignores the MTU in DBD packets
neighbor: OSPF neighbor
network: Network type
priority: Router priority
retransmit-interval: Time between retransmitting lost link state
advertisements
transmit-delay: Link state transmit delay

Note: The router may not or may display a warning that it is short on processor memory. Ensure to save your configuration early and often in order to avoid losing our work due to a router crash.

To store your router configuration automatically when you save your configuration using write command, consult my post here

Any comments and suggestion will be highly appreciated :)

I hope this will be informative for you !

Cheers :)