WAN Interface Configuration
The first step to establish the WAN
connection is to configure the Serial (WAN) interface.
By default the serial interface on
the Router does not have IP address, encapsulation is HDLC and the interface is
in shutdown state.
Note: To check the DTE or DCE interface, so that the clock
rate can be configured on the DCE interface.
Syntax:
Router#show controllers serial <no>
Output:
Router#show controllers serial0/0/0
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
idb at 0x81081AC4, driver data
structure at 0x81084AC0
SCC Registers:
General [GSMR]=0x2:0x00000000,
Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask
[SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data
Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F80, Pending
[CIPR]=0x0000C000
Mask
[CIMR]=0x00200000, In-srv
[CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C0F,
[PBPAR]=0x0800E [PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C, [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2,
[PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C
address 3B6DAC4
rmd(68012838): status B000 length 60C
address 3B6D444
Transmit Ring
--More—
The following are the commands to
assign IP, encapsulation & enable the serial port:
Syntax:
Router(config)#interface serial <no>
Router(config-if)#ip address <ip>
<mask>
Router(config-if)#encapsulation <ppp>
or <hdlc>
Router(config-if)#clockrate
<bandwidth>
Router(config-if)#no shutdown
WAN CONFIGRATION EXAMPLE:-
ON DELHI:-
DELHI #configure terminal
DELHI(config) #interface serial 0
DELHI(config-if)#ip address 172.16.0.1 255.255.0.0
DELHI(config-if) #no shutdown
DELHI(config-if) #encapsulation hdlc
DELHI(config-if) #exit
DELHI(config) #exit
DELHI#
ON KOLKATA:-
KOLKATA #configure terminal
KOLKATA(config) #interface serial 0
KOLKATA(config-if)#ip address 172.16.0.2 255.255.0.0
KOLKATA(config-if) #no shutdown
KOLKATA(config-if) #encapsulation hdlc
KOLKATA(config-if) #clock rate 64000
KOLKATA(config) #exit
KOLKATA(config) #interface serial 1
KOLKATA(config-if)#ip address 172.17.0.1 255.255.0.0
KOLKATA(config-if) #no shutdown
KOLKATA(config-if) #encapsulation hdlc
KOLKATA(config-if) #clock rate 64000
KOLKATA(config) #exit
KOLKATA #
ON MUMBAI:-
MUMBAI#configure terminal
MUMBAI(config) #interface serial 0
MUMBAI(config-if)#ip address 172.17.0.2 255.255.0.0
MUMBAI(config-if) #no shutdown
MUMBAI(config-if) #encapsulation hdlc
MUMBAI(config-if) #exit
MUMBAI(config) #exit
MUMBAI#
To Verify, the following commands can be give on all Routers :-
Router#show controllers serial <number>
Router#show interface serial <number>
Check the serial interface connectivity
Syntax:
Router#show interface serial <no>
Output:-
Kolkata#show interfaces serial 0/0/0
Serial0/0/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 172.16.0.2/16
MTU 1500 bytes, BW 1544 Kbit, DLY
20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never,
output hang never
Last clearing of "show
interface" counters never
Input queue: 0/75/0 (size/max/drops);
Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max
total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0
(allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0
packets/sec
5 minute output rate 0 bits/sec, 0
packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0
giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0
overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0
underruns
0 output errors, 0 collisions, 2
interface resets
0 output buffer failures, 0 output
buffers swapped out
0 carrier transitions
DCD=up DSR=up
DTR=up RTS=up CTS=up
From the output, the first line indicates the status of the serial
interface, there are 4 different states:
<!--[if !supportLists]
(Layer 1 & Layer 2 Connectivity
and configuration is fine)
2. Serial 0/0
is administratively down, line protocol is down
(No Shutdown has to be given on the local router serial
interface)
3. Serial 0/0
is up, line protocol is down
(Encapsulation mismatch, clock rate
has not been given on the DCE
interface or Lease Line problem)
4. Serial 0/0
is down, line protocol is down
(Problem with the v.35 cable, csu/dsu or 'no shutdown' has not been given
on the remote Router)
No comments:
Post a Comment