Above Diagram is the simple topology.I use the frame-relay which is the packet switched technology because It is usually less expensive compared to leased lines.So,I use the cisco router as a frame-relay switch.The following is the topology goals;
- 100,101 and 200,201 of pairs must be point to multi-point PVC.(PVC=perment virtual circuit supported by provider)
- 102,103 pair is must be point to point PVC.
- 200.0.0.0/24 subnet is used for point to multi-point connections.
- 20.0.0.0/24 subnet is used for point to point connections.
- Lastly,All IP Address must be pingable.
Router>en //entering the enable router mode
Router#config t //entering the global configuration mode
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname FR-Switch
FR-Switch(config)#do sh ip int brief //Seeing the brief description of interfaces
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial1/0 unassigned YES unset administratively down down
Serial1/1 unassigned YES unset administratively down down
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
Serial2/0 unassigned YES unset administratively down down
Serial2/1 unassigned YES unset administratively down down
Serial2/2 unassigned YES unset administratively down down
Serial2/3 unassigned YES unset administratively down down
FR-Switch(config)#frame-relay ?
address Address Registration with neighbor
de-list Build a classification list to be used in setting the DE bit
switching enable frame relay pvc switching
I'm using the router as a frame-relay switch,now.So,I must choice the frame-relay switching mode.And than,I must define the DLCI numbers to each interface for PVC.
FR-Switch(config)#frame-relay switching //define the router as a frame-relay switch
FR-Switch(config)#interface serial1/0
//entering the serial0/0 interface
FR-Switch(config-if)#no shutdown //doing up the interface
*Mar 1 00:20:52.639: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
*Mar 1 00:20:53.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
FR-Switch(config-if)#encapsulation ?
atm-dxi ATM-DXI encapsulation
bstun Block Serial tunneling (BSTUN)
frame-relay Frame Relay networks
hdlc Serial HDLC synchronous
lapb LAPB (X.25 Level 2)
ppp Point-to-Point protocol
sdlc SDLC
sdlc-primary SDLC (primary)
sdlc-secondary SDLC (secondary)
smds Switched Megabit Data Service (SMDS)
stun Serial tunneling (STUN)
x25 X.25
FR-Switch(config-if)#encapsulation frame-relay //choosing encapsulation type for interface
*Mar 1 00:23:34.791: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
FR-Switch(config-if)#frame-relay route ?
<16-1007> input dlci to be switched
FR-Switch(config-if)#frame-relay route 103 int s1/2 102 //assign dlci for outgoing
FR-Switch(config-if)#frame-relay route 101 int s1/2 100 //assign dlci for outgoing
FR-Switch(config-if)#int s1/2
//entering the serial1/2 interface
FR-Switch(config-if)#no shut
//doing up the interface
*Mar 1 00:28:56.751: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up
*Mar 1 00:28:57.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up
FR-Switch(config-if)#encap fram
//choosing encapsulation as a frame-relay
*Mar 1 00:29:43.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to down
FR-Switch(config-if)#fram route 200 int s1/1 201 //assign dlci for outgoing
According to Topology,I would like to use remotely to the branches from hard office(Yangon Router) only.So,no need to connect between the branches.No need to configure dlci between the interface of s1/0 and s1/1 of frame-relay switch.However,all interfaces of frame-relay switch must be DCE(Data Communication Equipment).
FR-Switch(config-if)#int s1/1
//entering the s1/1 interface
FR-Switch(config-if)#no shut
//doing up the interface
*Mar 1 00:38:27.695: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
*Mar 1 00:38:28.703: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
FR-Switch(config-if)#encap fram //choosing encapsulation as the frame-relay
FR-Switch(config-if)#frame-relay intf ?
dce Configure a FR DCE
dte Configure a FR DTE
nni Configure a FR NNI
FR-Switch(config-if)#frame-relay intf-type dce
//setting the interface as a dce
FR-Switch(config-if)#int s1/0 //entering the s1/0 interface
FR-Switch(config-if)#frame-relay intf-type dce //setting the interface as a dce
*Mar 1 00:40:37.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
*Mar 1 00:40:52.039: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
*Mar 1 00:40:52.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
FR-Switch(config)#int s1/2 //entering the s1/2 interface
FR-Switch(config-if)#frame relay intf-type dce //setting the interface as a dce
*Mar 1 00:43:53.507: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up
*Mar 1 00:44:08.507: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to down
FR-Switch(config-if)#exi
//exit from interface configuration mode
FR-Switch(config)#exi //exit from global configuration mode
FR-Switch#wr
//save the configuration to NVRAM.
Building configuration...
*Mar 1 00:45:24.839: %SYS-5-CONFIG_I: Configured from console by console[OK]
For CharyMying,
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host CharyMying
//setting up hostname
CharyMying(config)#do sh ip int brief
//seeing the interface brifely
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial1/0 unassigned YES unset administratively down down
Serial1/1 unassigned YES unset administratively down down
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
CharyMying(config)#int s1/0 //entering the s1/0 interface
CharyMying(config-if)#no shut //doing up the interface
CharyMying(config-if)#encap fram //setting encapsulation to the interface
*Mar 1 00:48:11.539: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
*Mar 1 00:48:12.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
Another two routes have to be configured look like above.After configurations finish, frame-relay connections must be active.In the picture above,frame-relay connection not active first.This is because the alternate configuration of outgoing interface dlci have not configured yet.Configure them look like from the picture.They will be active as like in the figure above.Following is seeing lmi(local management interface) type.I have used default lmi(CISCO).:)
Too long post.I shall stop here because it would be so boring that no one would not pay any attention.The next steps configuring IP Address,Routing,Telnet would be in next post.
ေလးစားစြာျဖင့္
Win Tun Hlaing