Professional Documents
Culture Documents
Chapter 07 WAN Princinpal and ConfigrationV2 0 PDF
Chapter 07 WAN Princinpal and ConfigrationV2 0 PDF
HUAWEI
www.huawei.com
WAN Overview
HUAWEI
www.huawei.com
Main WAN Connection Technologies
HUAWEI
Point-to-point connection
H D LC , P P P , S L I P
Service
Provider
www.huawei.com
High-level Data Link Control (HDLC)
HUAWEI
Characteristics:
Bit-oriented protocol
Transparent transmission: zero bit filling
method
Run on synchronous serial lines
www.huawei.com
Configurations of the HDLC Protocol
HUAWEI
www.huawei.com
PPP Protocol Introduction
HUAWEI
Access Server
PSTN/ISDN
PPPEncapsulation
PPP
PPPprotocolisdevelopedonthebasisofSLIP
PPPprotocolislocatedatthedatalinklayer,thesecondlayerofOSImodel
Thephysicallayercaneitherbethesynchronousorasynchronousphysicalmedia
www.huawei.com
PPP Composition
HUAWEI
PPPusesNCPtosupportmultipleNetwork
protocols
TCP/IP
Novell IPX PPP
LCP is used to
establish and maintain
links
www.huawei.com
PPP Protocol Stack
HUAWEI
LCP
Physical media
( synchronous / asynchronous ) Physical Layer
www.huawei.com
PPP Negotiation Procedure
HUAWEI
Bottom Layerup
LCP up
Authenticate
Dead Stage Establish Stage Stage
Authentication
passed
Authentication or
Fail failure no authentication
DOWN Terminate
Stage Network Stage
Close
www.huawei.com
PAP Authentication
HUAWEI
Authenticated Authenticating
Party Party
User name+Pasword
ACK / NAK
User database
The PAP is two handshake authentication protocol.
The password is transmitted in plain text and the
authenticated party first originates the
authentication request.
www.huawei.com
CHAP Authentication
HUAWEI
Authenticated Authenticating
Party Party
Host name+random
message
Host name+encrypted
message
Success /
User database
Fail User database
CHAPisa3-handshakeauthenticationprotocol.Itdoesnotsendanypassword. The
authenticatingpartyoriginatestheauthenticationrequest,andithashighersecuritythan
PAP.
www.huawei.com
Brief Introduction to MultiLink PPP Protocol
HUAWEI
NegotiatewhethertouseMPornotattheLCPstage
ThenperformthePPPauthenticationtoobtaintheusernameof
theremotepartyandfindthevirtualinterfacetemplate specified for
theuseraccordingtotheusername
Thenegotiationparametersinclude:MRRU,SSNHFandendpoint
discriminator
Therearetwoflagsusedforbundling:usernameandtheendpoint
discriminator
www.huawei.com
PPP Configuration Commands
HUAWEI
Encapsulate PPP
encapsulation ppp
www.huawei.com
PAP Configuration Command
HUAWEI
www.huawei.com
Typical PPP Configuration Example I
HUAWEI
Authenticatingparty Authenticatedparty
PAPauthentication
S0
S0
Quidway#1 Quidway#2
www.huawei.com
Typical PPP Configuration Example II
HUAWEI
Authenticatingparty Authenticatedparty
CHAP authentication
S0
S0
Quidway#1 Quidway#2
www.huawei.com
MultiLink PPP Configuration Command
HUAWEI
www.huawei.com
Typical MP Configuration Example
HUAWEI
Router B
DDN
Router A
Router C
www.huawei.com
PPP Monitor and Maintenance
HUAWEI
Operation Command
www.huawei.com
PPP Troubleshooting
HUAWEI
www.huawei.com
X.25 Overview
HUAWEI
The X.25 recommendation is the interface specifications between the DTE and the DCE.
Itsmainfunctionistodescribehowtoset upvirtual circuits, transmissionpackets, set up
links, transmit data, releaselinks andtoclear thevirtual circuitsbetweenthe DTEandthe
DCE , and in the meantime, it wil implement the error control, flow control, statistics, etc.
www.huawei.com
X.25 Network Model
HUAWEI
DTE
PSE DCE
PSE DCE
DTE
PSN
www.huawei.com
Hierarchy of X.25
HUAWEI
OSIRM
Application
Higher-level protocol with
Presentation remote DTE
Upper-level
Session Layer Protocol
Transport Layer
Data Link Layer X.25 Data Link Layer Data Link Layer
DTE DCE
www.huawei.com
Transmission of IP Packet through X.25
HUAWEI
Network
IP
Header User Data
LAN LAN
Packet IP Packet
Header
Frame
Header X.25 Packet Frame tail
www.huawei.com
X.25 Virtual Circuit
HUAWEI
www.huawei.com
Link Layer Protocol LAPB
HUAWEI
www.huawei.com
Parameter Configuration of the X.25 Packet
HUAWEI
Layer
www.huawei.com
Configure X.25 Sub-interface
HUAWEI
The sub-interface is a virtual interface, which has its own protocol address and virtual circuit.
Multiple sub-interfaces can be set up at one physical interface.
There are two types of sub-interfaces: point-to-point sub-interface and point-to-multipoint
sub-interface.
Operation Command
Enter the main interface interface serial number
www.huawei.com
Typical X.25 Configuration Example
HUAWEI
20112451 20112452
202.38.160.1 202.38.160.2
Serial 0 Serial 1
V.24/V.35 cable
Router A Router B
www.huawei.com
X.25 Monitor and Maintenance
HUAWEI
Operation Command
View interface information show interface [ type number ]
View the X.25 alias list show x25 alias
View the X.25 address mapping table show x25 map
Enable debugging of the X25 event debug x25 event [ interface type number ]
Enable debugging of the X25 packets debug x25 packet [ interface type number ]
www.huawei.com
X.25 Troubleshooting
HUAWEI
The LAPB has already been in the connected status, but the X.25 protocol cannot be in "UP"
status
Check whether the DCE/DTE configuration is correct
The X.25 protocol has been in the "UP" status, but the virtual circuit cannot be set up, i.e., cannot
ping through
The local X.121 address is not configured
The address mapping is not configured
The remote X.121 address is not configured
The address mapping from the remote end to the local end is not configured
The channel scope is not correct
Carry facility options not allowed by the network
The virtual circuit can be set up, but frequent resets or clears occur in data transmission
Check whether the flow control parameters are set correctly
www.huawei.com
Introduction to Frame Relay
HUAWEI
Local Management
Interface(LMI)
LAN LAN
DLCI DCE
FR
DLCI
DCE
DTE DTE
PVCs
Permanent virtual circuits(PVCs)
use data-link connection
identifiers(DLCIs)
The frame relay protocol is a kind of fast packet switching technology based upon the X.25
packet switching technology, it is a kind of improved X.25 protocol.
The frame relay is based upon virtual circuits.
www.huawei.com
Characteristics of Frame Relay
HUAWEI
Theframerelayprotocoltransmitsdatainformationintheformof frames
Thetransmissionlinksusedbytheframerelayfordatatransmissionarelogicconnection,notthe
physicalconnections
Itadoptstwo-levelarchitecture(thePhysicalLayerandtheLinkLayer)
It implements statistic multiplexing,transparentframetransmissionanderrordetectionintheLinkLayer,
but it doesnotprovideretransmissionoperationaftertheerrorisdetected
Themaximumreservedframelengthatleastshouldreach1600bytes/frame,appropriatefor
encapsulatingLANdataunit
Itprovidesasetofreasonablebandwidthmanagementandcongestionpreventingmechanism
Theframerelayadoptstheswitchingtechnologyorientedtoconnection
www.huawei.com
Frame Relay Protocol Stack
HUAWEI
www.huawei.com
Frame Relay Terms
HUAWEI
DLCI 31
DLCI 21
DLCI 32
DLCI 22
DLCI 23
DLCI 33
frame relay switch
www.huawei.com
Allocation of Frame Relay DLCI
HUAWEI
MAP
Network Address
DLCI 48
172.16.11.3
172.16.11.2 172.16.11.3
DLCI 48
DSU/CSU
frame relay switch
Token
Ring
Obtain the allocated DLCIs from the frame relay network service
provider
Each DLCI has only local meaning
Map the remote network address to the DLCIs
www.huawei.com
Inverse ARP Protocol Used for Network
HUAWEI
Discovery
DLCI 48 DLCI 66
172.16.11.2 172.16.11.3
FR
Router B
Switch Notification Router A
DLCI 48
Switch Notification
Router B
DLCI 66
Notifies IP
172.16.11.26
to DLCI 66
Router A notifies IP
172.16.11.3
to DLCI 48
TheInverseARPautomaticallyfindsthenetworkaddressofthedestinationroutersoas
to simplify theframerelayconfiguration
www.huawei.com
LMI Supported by Quidway
HUAWEI
Cisco
Gang of Four
Compatible
www.huawei.com
Frame Relay Network Topology
HUAWEI
Full-meshed connection
www.huawei.com
Split Horizon and Frame Relay
HUAWEI
to C through S0 of Router A
Router B DLCI 16 to
B
DLCI 17 to
C
s0
DLCI 18 to
D
Router C Router A
Router D
If mapping three DLCIs in the serial interface S0 of Router A to three routers, then the incoming
routing information from S0 will not be sent out from this serial interface.
www.huawei.com
Frame Relay Subinterface
HUAWEI
Subnet1
Router B s0.1
s0.2
s0.3
Subnet 2
Router C Router A
Subnet3
Router D
www.huawei.com
Frame Relay Configuration
HUAWEI
www.huawei.com
Configure Frame Relay Address Mapping
HUAWEI
www.huawei.com
Configure Local Virtual Circuits of Frame
HUAWEI
Relay
Create frame relay subinterface and enter the subinterface configuration mode
interface type number.subinterface-number [ multipoint | point-to-point ]
Configure the virtual circuit number for the frame relay subinterfaces
frame-relay interface-dlci dlci
The command for creating the address mapping is the same as that of the physical interface, you
may either use the static or dynamic address mapping. The address mapping is only needed in
point-to-multipoint condition.
www.huawei.com
Configure Frame Relay Switching
HUAWEI
www.huawei.com
Typical Frame Relay Configuration Case 1
HUAWEI
www.huawei.com
Typical Frame Relay Configuration Case 2
HUAWEI
IP:202.38.163.251 IP:202.38.163.253
Router C
www.huawei.com
Frame Relay Monitor and Maintenance
HUAWEI
Operation Command
Show the receiving/transmitting statistics information show frame-relay lmi [ interface type number ]
of LMI frame relay messages
Show the mapping table of the protocol address and show frame-relay map
the frame relay address
Show statistic information of the frame relay PVC show frame-relay pvc
Fault1:ThePhysicalLayerisDOWN
checkthephysicallines
checktheremoteequipment
ThePhysicalLayerisUP,buttheLinkLayerisDOWN
Protocol encapsulation
WhetherdoesDTE/DCEcorrespondstoeachother
Monitor the transmitting/receiving status of the LMI message
TheLinkLayerprotocolisUP,butitcannotpingthroughtheremoteequipment
WhethertheLinkLayerprotocolsoftheequipmentatbothendsareinUpstatus
Whethertheaddressmappingiscorrect
checktheroutingtabletoseewhetherthereisroutetotheremoteequipment
www.huawei.com
PPP Summary
HUAWEI
www.huawei.com
X.25 Summary
HUAWEI
The X.25 corresponds to the three lower layers of the OSI architecture.
The Lapb is the Data Link Layer of the X.25
the data of the other protocols (such as IP, IPX, etc.) can be encapsulated into packets and
transmitted through the X.25.
You need to perform the following operations to configure the X.25 in an interface:
Encapsulate the interface
Set the parameters
Set the X.121 address of the interface
Configure the X.25 map
www.huawei.com
Frame Relay Summary
HUAWEI
UsethelocalDLCIastheframerelayPVCidentifiertothedestinationend
TheQUIDWAYsupportsthreeLMItypes:
ANSI(AnnexD)
CCITT(AnnexA)b
CISCOcompatible
Define static framerelayMAP
Definesubinterfacetoavoidtheproblemofsplithorizonconcerningroutingupdate
Bydefault,theInverseARPcanfindremoteprotocoladdressforthelocalDLCIautomatically
Usethecommandsshowanddebugto monitor the framerelay
www.huawei.com