Documente Academic
Documente Profesional
Documente Cultură
interface g0/0.105
encapsulation dot1q 105
ip address 10.1.3.254 255.255.252.0
interface g0/0.205
encapsulation dot1q 205
ip address 10.1.5.254 255.255.254.0
interface g0/0.12
encapsulation dot1q 12 native
ip address 10.1.12.254 255.255.255.0
interface g0/0
no shutdown
exit
int s0/0/0
ip add 10.5.5.66 255.255.255.252
clock rate 4000000
encap ppp
ppp authentication chap
no shut
exit
int tunnel 0
ip add 10.10.10.1 255.255.255.252
tunnel source g0/1
tunnel destination 95.1.1.2
tunnel mode gre ip
no shut
exit
int g0/0.105
ip helper-address 10.5.5.65
int g0/0.205
ip helper-address 10.5.5.65
exit
--------------------------------------------
BRANCH-RTR GRE TUNNEL
--------------------------------------------
conf t
int tunnel 0
ip add 10.10.10.2 255.255.255.252
tunnel source g0/1
tunnel destination 85.1.1.2
tunnel mode gre ip
no shut
exit
-----------------------------------
SWITCH 2 VLANs and Port Security
-----------------------------------
conf t
vlan 105
name PC
vlan 205
name LT
vlan 12
name MGMT
vlan 999
name BLACKHOLE
exit
int f0/24
switchport mode trunk
switchport trunk native vlan 12
no shut
int f0/1
switchport mode access
switchport access vlan 105
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation shutdown
no shut
int f0/10
switchport mode access
switchport access vlan 205
switchport port-security
switchport port-security maximum 1
switchport port-security mac-address sticky
switchport port-security violation shutdown
no shut
int vlan 12
ip add 10.1.12.252 255.255.255.0
no shut
exit
ip default-gateway 10.1.12.254
-----------------------------------------------------
DHCP-RTR PPP/CHAP and SSH Config
------------------------------------------------------
conf t
username admin password cisco
username VLAN-RTR password cisco
int s0/0/0
ip add 10.5.5.65 255.255.255.252
encap ppp
ppp authentication chap
no shut
conf t
ip domain-name CCNA4FinalExam.com
crypto key generate rsa
!
!wait - manually enter 2048
!
!========================================================
! DO NOT PASTE THE LINES BELOW UNTIL YOU
! HAVE SPECIFIED the # of BITS IN KEY MODULUS
!========================================================
line vty 0 4
transport input ssh
login local
exit
ip ssh version 2
ip ssh time-out 60
ip ssh authentication-retries 2