Adsense

Translate the website into your language :)

Latest News

Powered by Blogger.

Some importnt sample commands for ccna 4: ACCESSING THE WAN



Frame relay configuration


R1(config)#int s3/0
R1(config-if)#en
R1(config-if)#encapsulation fr
R1(config-if)#encapsulation frame-relay
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

R1(config-if)#no sh

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to down

R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

R1(config-if)#ex
R1(config)#int s3/0.102 po
R1(config)#int s3/0.102 point-to-point

%LINK-5-CHANGED: Interface Serial3/0.102, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0.102, changed state to up
R1(config-subif)#ip ad
R1(config-subif)#ip address 192.168.5.1 255.255.255.0
R1(config-subif)#fr
R1(config-subif)#frame-relay in
R1(config-subif)#frame-relay interface-dlci 102
R1(config-subif)#no sh
R1(config-sub
Router dhcp configuration

R3(config)#ip dh
R3(config)#ip dhcp ex
R3(config)#ip dhcp excluded-address 192.168.1.2
R3(config)#ip dh
R3(config)#ip dhcp po
R3(config)#ip dhcp pool LAN1
R3(dhcp-config)#net
R3(dhcp-config)#network 192.168.1.0 255.255.255.0
R3(dhcp-config)#de
R3(dhcp-config)#default-router 192.168.1.1
R3(dhcp-config)#




NAT=Network Address Translation
er configuration commands, one per line.  End with CNTL/Z.
R0(config)#ip nat in
R0(config)#ip nat inside so
R0(config)#ip nat inside source st
R0(config)#ip nat inside source static 192.168.2.1 209.165.200.11
R0(config)#int ran
R0(config)#int fa0/0
R0(config-if)#ip na
R0(config-if)#ip nat in
R0(config-if)#ip nat inside
R0(config-if)#int fa1/0
R0(config-if)#ip nat ins
R0(config-if)#ip nat inside
R0(config-if)#int s2/0
R0(config-if)#ip nat ou
R0(config-if)#ip nat outside


PAP
R0(config)#username n2 pas cisco
R0(config)#int s2/0
R0(config-if)#en
R0(config-if)#encapsulation ppp

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
R0(config-if)#ppp au
R0(config-if)#ppp authentication pa
R0(config-if)#ppp authentication pap
R0(config-if)#ppp pap se
R0(config-if)#ppp pap sent-username n1 pas cisco
R0(config-if)#


R1>en
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s2/0
R1(config-if)#ex
R1(config)#us n1 pas cisco
R1(config)#int s2/0
R1(config-if)#en ppp
R1(config-if)#pp au pa
R1(config-if)#pp pa se n2 pas cisco
R1(config-if)#

Dynamic NAT:

R1(config) # ip nat pool mypool 209.165.202.131 209.165.202.141 netmask         255.255.255.248
R1(config)#ip access-list extended aclan
             # permit ip 192.168.10.0 0.0.0.7 any
             # ip nat inside source list aclan pool mypool overload


For more CCNA 4 materials click here
no image
  • Title : Some importnt sample commands for ccna 4: ACCESSING THE WAN
  • Posted by :
  • Date : 13:53:00
  • Labels :
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Top