Network Configuration for Three Routers and Three Switches
Hostname: R1
Enable Secret
enable secret cisco
IP Domain Name
ip domain-name reprobe.cl
Crypto Key
crypto key generate rsa
2048
Username and Password
username alumno password alumno
Line VTY Configuration
line vty 0 4
transport input ssh
login local
exit
SSH Configuration
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
Interface Configuration
FastEthernet 0/0.15
encapsulation dot1Q 15
ip address 172.16.0.1 255.255.192.0
FastEthernet 0/0.30
encapsulation dot1Q 30
ip address 172.16.96.1 255.255.240.0
FastEthernet 0/0.45
encapsulation dot1Q 45
ip address 172.16.64.1 255.255.224.0
FastEthernet 0/0.100
encapsulation dot1Q 100
ip address 172.16.112.1 255.255.255.248
Serial 0/0/0
ip address 204.106.142.1 255.255.255.252
clock rate 128000
no shutdown
OSPF Configuration
router ospf 1
net 204.106.142.0 0.0.0.3 area 0
exit
Interface Configuration
FastEthernet 0/0
no shutdown
Line CON Configuration
line con 0
pass cisco
login
exit
Hostname: R2
Enable Secret
enable secret cisco
IP Domain Name
ip domain-name reprobe.cl
Crypto Key
crypto key generate rsa
2048
Username and Password
username alumno password alumno
Line VTY Configuration
line vty 0 4
transport input ssh
login local
exit
SSH Configuration
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
Interface Configuration
FastEthernet 0/0
ip address 192.168.0.1 255.255.255.0
no shutdown
Serial 0/0/0
ip address 204.106.142.2 255.255.255.252
clock rate 128000
no shutdown
Serial 0/0/1
ip address 200.0.0.1 255.255.255.252
clock rate 128000
no shutdown
OSPF Configuration
router ospf 1
network 204.106.142.0 0.0.0.3 area 0
network 200.0.0.0 0.0.0.3 area 0
network 192.168.0.0 0.0.0.255 area 0
exit
Static Route
ip route 172.16.112.0 255.255.255.248 204.106.142.1
Line CON Configuration
line con 0
pass cisco
login
exit
Hostname: R3
Enable Secret
enable secret cisco
IP Domain Name
ip domain-name reprobe.cl
Crypto Key
crypto key generate rsa
2048
Username and Password
username alumno password alumno
Line VTY Configuration
line vty 0 4
transport input ssh
login local
exit
SSH Configuration
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
Interface Configuration
FastEthernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
Serial 0/0/1
ip address 200.0.0.2 255.255.255.252
clock rate 128000
no shutdown
OSPF Configuration
router ospf 1
network 200.0.0.0 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0
exit
Default Route
ip route 0.0.0.0 0.0.0.0 200.0.0.1
Line CON Configuration
line con 0
pass cisco
login
exit
Hostname: SW1
VLAN Configuration
vlan 15
exit
vlan 30
exit
vlan 45
exit
vlan 100
exit
VTP Configuration
vtp domain reprobe.cl
vtp version 2
vtp password reprobe
Interface Configuration
FastEthernet 0/1 – 7
switchport mode access
switchport access vlan 15
FastEthernet 0/8 – 13
switchport mode access
switchport access vlan 30
FastEthernet 0/1
switchport mode access
switchport access vlan 45
FastEthernet 0/24
switchport mode trunk
switchport trunk native vlan 100
FastEthernet 0/23
switchport mode trunk
switchport trunk native vlan 100
VTP Server Configuration
vtp version 2
vtp domain reprobe.cl
vtp password reprobe
vtp mode server
VLAN 100 Interface Configuration
interface vlan 100
ip add 172.16.112.2 255.255.255.248
exit
Default Gateway
ip default-gateway 172.16.112.1
Port Security Configuration
interface fa 0/1
switchport port-security mac-address 0001.C986.98C9
switchport port-security maximum 1
switchport port-security violation protect
exit
Line VTY Configuration
line vty 0 15
password cisco
login
exit
Enable Secret
enable secret cisco
Hostname: SW2
VLAN Configuration
vlan 15
exit
vlan 30
exit
vlan 45
exit
vlan 100
exit
VTP Configuration
vtp domain reprobe.cl
vtp version 2
vtp password reprobe
Interface Configuration
FastEthernet 0/1 – 7
switchport mode access
switchport access vlan 15
FastEthernet 0/8 – 13
switchport mode access
switchport access vlan 30
FastEthernet 0/24
switchport mode trunk
switchport trunk native vlan 100
FastEthernet 0/23
switchport mode trunk
switchport trunk native vlan 100
VTP Client Configuration
vtp version 2
vtp domain reprobe.cl
vtp password reprobe
vtp mode client
VLAN 100 Interface Configuration
interface vlan 100
ip add 172.16.112.3 255.255.255.248
exit
Default Gateway
ip default-gateway 172.16.112.1
Line VTY Configuration
line vty 0 15
password cisco
login
exit
Enable Secret
enable secret cisco
Hostname: SW3
VLAN Configuration
vlan 15
exit
vlan 30
exit
vlan 45
exit
vlan 100
exit
VTP Configuration
vtp domain reprobe.cl
vtp version 2
vtp password reprobe
Interface Configuration
FastEthernet 0/1 – 7
switchport mode access
switchport access vlan 15
FastEthernet 0/8 – 13
switchport mode access
switchport access vlan 30
FastEthernet 0/1
switchport mode access
switchport access vlan 45
FastEthernet 0/24
switchport mode trunk
switchport trunk native vlan 100
VTP Client Configuration
vtp version 2
vtp domain reprobe.cl
vtp password reprobe
vtp mode client
VLAN 100 Interface Configuration
interface vlan 100
ip add 172.16.112.4 255.255.255.248
exit
Default Gateway
ip default-gateway 172.16.112.1
Port Security Configuration
interface fa 0/22
switchport port-security mac-address sticky
switchport port-security maximum 1
switchport port-security violation shutdown
exit
Line VTY Configuration
line vty 0 15
password cisco
login
exit
Enable Secret
enable secret cisco