ItsBeautifulToBeAliveAfterYourDeath!
[CCNA]CiscoCommandsCheatSheet#5
CCNARnS,Cisco,Network September30,2013 Comments:6
HereisthelastpostintheCiscoCommandsCheatSheetforCCNAstudents.
CiscoCommandsCheatSheet#1(https://boubakr92.wordpress.com/2013/09/16/ccnacheatsheetpart1/)
CiscoCommandsCheatSheet#2(https://boubakr92.wordpress.com/2013/09/19/ccnacheatsheetpart2/)
CiscoCommandsCheatSheet#3(https://boubakr92.wordpress.com/2013/09/23/ccnacheatsheetpart3/)
CiscoCommandsCheatSheet#4(https://boubakr92.wordpress.com/2013/09/26/ccnacheatsheetpart4/)
PPPConfiguration:
1
2
R1(config)#interfaceserial0/0
R1(configif)#encapsulationppp
PPPAuthentication:
CHAP:
Configurethehostname:
1
R1(config)#hostnameALPHA
Configurethenameoftheotherendrouterandthesharedpassword:
1
2
!Thepasswordusedissharedpassword,thatmeansitmustbethesameonbothrouters
ALPHA(config)#usernameBETApasswordXYZ
EnableCHAPauthenticationontheinterface:
1
2
ALPHA(config)#interfaceserial0/0
ALPHA(configif)#pppauthenticationchap
PAP:
Configurethehostname:
1
R1(config)#hostnameALPHA
Configurethenameoftheotherendrouterandthesharedpassword:
1
ALPHA(config)#usernameBETApasswordXYZ
EnablePAPauthenticationontheinterfaceanddefinetheusernameandpasswordtobesentbyPAP:
1
2
3
ALPHA(config)#interfaceserial0/0
ALPHA(configif)#pppauthenticationpap
ALPHA(configif)#ppppapsentusernameALPHApasswordXYZ
PPPVerificationandtroubleshoot:
ShowstheencapsulationtypeandthecontrolprotocolsofPPP:
1
R1#showinterfaces0/0
UsefulforviewingtheconfigurationofusernamesandpasswordsusedtoauthenticatePPP:
1
R1#showrunningconfig
DisplaystheauthenticationprocessofPPPinrealtime:
1
R1#debugpppauthentication
FrameRelay:
(https://boubakr92.files.wordpress.com/2013/09/framerelay.png)
Multipoint(onesubnet)
GivetheinterfaceanipaddressandenableFrameRelayencapsulation:
1
2
3
R1(config)#interfaceserial0/0
R1(configif)#ipaddress1.1.1.1255.255.255.0
R1(configif)#encapsulationframerelay(ietf)
ConfigureLMIsignalingtype:(OptionalasdiscussedwithISP):
1
R1(configif)#framerelaylmitypeansi!options:ansi,cisco,q933a
ConfigureFrameRelaymapping:
1
2
3
4
5
6
7
8
9
10
11
12
R1(configif)#framerelaymapip1.1.1.2102broadcast(ietf)
R1(configif)#framerelaymapip1.1.1.3103broadcast
R2(config)#interfaceserial0/0
R2(configif)#ipaddress1.1.1.2255.255.255.0
R2(configif)#encapsulationframerelay
R2(configif)#framerelaymapip1.1.1.1201broadcast
R2(configif)#framerelaymapip1.1.1.3201broadcast
R3(config)#interfaceserial0/0
R3(configif)#ipaddress1.1.1.3255.255.255.0
R3(configif)#encapsulationframerelay
R3(configif)#framerelaymapip1.1.1.1301broadcast
R3(configif)#framerelaymapip1.1.1.2301broadcast
Pointtopoint(differentsubnetsonesubnetpersubinterface)
EnableFrameRelayencapsulation:
1
2
R1(config)#interfaceserial0/0
R1(configif)#encapsulationframerelay
GiveanipaddresstoasubinterfaceandconfigureitsDLCI:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
R1(config)#interfaceserial0/0.102pointtopoint
R1(configsubif)#ipaddress1.1.1.1255.255.255.0
R1(configsubif)#framerelayinterfacedlci102
R1(config)#interfaceserial0/0.103pointtopoint
R1(configsubif)#ipaddress2.2.2.1255.255.255.0
R1(configsubif)#framerelayinterfacedlci103
R2(config)#interfaceserial0/0
R2(configif)#encapsulationframerelay
R2(config)#interfaceserial0/0.201pointtopoint
R2(configsubif)#ipaddress1.1.1.2255.255.255.0
R2(configsubif)#framerelayinterfacedlci201
R3(config)#interfaceserial0/0
R3(configif)#encapsulationframerelay
R3(config)#interfaceserial0/0.301pointtopoint
R3(configsubif)#ipaddress2.2.2.2255.255.255.0
R3(configsubif)#framerelayinterfacedlci301
FrameRelayVerificationandtroubleshoot:
Showstheencapsulationtype:
1
R1#showinterfacesserial0/0
ListsPVCstatusinformation:
1
R1#showframerelaypvc
ListsDLCItoIPmapping:
1
R1#showframerelaymap
ListsLMIstatusinformation:
R1#showframerelaylmi
DisplaysthecontentofLMImessages:
1
R1#debugframerelaylmi
ListsmessagesaboutcertainFrameRelayevents,includingInverseARPmessaeges:
1
R1#debugframerelayevents
NetworkAddressTranslation(NAT):
StaticNAT:
Definetheoutsideandinsideinterfaces:
1
2
3
4
R1(config)#interfaceserial0/0
R1(configif)#ipnatoutside
R1(config)#interfaceFastEthernet1/1
R1(configif)#ipnatinside
ConfigurestaticNATstatement:
1
R1(config)#ipnatinsidesourcestatic192.168.1.10200.1.1.1
DynamicNAT:
Definetheoutsideandinsideinterfaces
CreateanACLthatdeterminestheIPaddressesthatareallowedtobetranslated:
1
R1(config)#accesslist3permit192.168.1.00.0.0.255
CreateapoolofpublicIPaddresses:
1
R1(config)#ipnatpoolPUB200.1.1.1200.1.1.6netmask255.255.255.248
ConfigureNATstatement:
1
2
3
4
5
6
7
8
R1(config)#ipnatinsidesourcelist3poolPUB</pre>
<h4>NATOverload(PAT):</h4>
<ul>
<li>ThesameasdynamicNATwiththeuseoftheoverloadkeywordattheendofNATstatement:</li>
</ul>
<pre>
1
R1(config)#ipnatinsidesourcelist3poolPUBoverload
NATverificationandtroubleshoot:
UsefulinviewingtheconfigurationofNATpoolandtheinsideandoutsideinterfaces:
1
R1#showrunningconfig
Displaysaccesslists,includingtheoneusedforNAT:
1
R1#showaccesslists
ShowscountersforpacketsandNATtableentries,aswellasbasicconfigurationinformation:
1
R1#showipnatstasitics
DisplaystheNATtable:
1
R1#showipnattranslations
ClearsallthedynamicentriesintheNATtable:
R1#clearipnattranslations*
IssuesalogmessagedescribingeachpacketwhoseipaddressistranslatedwithNAT:
1
R1#debugipnat
Enjoy!
About these ads
Tagged:ccna(https://boubakr92.wordpress.com/tag/ccna2/),cheatsheet(https://boubakr92.wordpress.com/tag/cheatsheet/),cisco
(http://wordpress.com/aboutthese-ads/)
(https://boubakr92.wordpress.com/tag/cisco2/),framerelay(https://boubakr92.wordpress.com/tag/framerelay/),nat
(https://boubakr92.wordpress.com/tag/nat/),ppp(https://boubakr92.wordpress.com/tag/ppp/),wan
(https://boubakr92.wordpress.com/tag/wan/)
6thoughtson[CCNA]CiscoCommandsCheatSheet#5
1. [CCNA]CiscoCommandsCheatSheet|BoubakrTechOctober3,2013at12:05amReply
[]CiscoCommandsCheatSheet#5[]
2. [CCNA]CiscoCommandsCheatSheetSummary|BoubakrTechOctober3,2013at12:47amReply
[]CiscoCommandsCheatSheet#5[]
3. JohnathonaaronFebruary26,2014at6:22amReply
thankyou!
4. EEUUMay23,2014at12:09amReply
Youareawesome!!Iwillbeextremelyutilized
5. abdullahJuly20,2014at9:34amReply
thanxalot
6. sensusibyAugust17,2014at2:56pmReply
thanks:)
CreateafreewebsiteorblogatWordPress.com.|TheDelicacyTheme.
Follow
FollowBoubakrTech
BuildawebsitewithWordPress.com