Professional Documents
Culture Documents
enable
configure terminal
hostname S1
service password-encryption
enable secret class
no ip domain-lookup
banner motd #warn#
vlan 99
name admin
interface vlan 1
ip address 192.168.1.2 255.255.255.0
no shutdown
ip default-gateway 192.168.1.1
ip domain-name R4
crypto key generate rsa
username admin password cisco
interface fastEthernet 0/2
switchport mode access
switchport port-security mac-address sticky
switchport port-security maximum 3
switchport port-security violation shutdown
switchport port-security mac-address 2222.4444.6666
switchport port-security aging time 60
line con 0
password cisco
login
logging synchronous
line vty 0 4
transport input ssh
login local
mac address-table static 00E0.B027.2245 vlan 1 interface fastethernet 0/1
vlan
name
vlan
name
vlan
name
vlan
name
10
Faculty/Staff
20
Students
30
Guest(Default)
99
Management&Native
interface FastEthernet0/1
switchport trunk native vlan 99
switchport trunk allowed vlan 10,99
switchport mode trunk
interface range FastEthernet 0/2-24
ipv6 unicast-routing
ipv6 route ::/0 2001:DB8:1:A002::1
ipv6 router ospf 10
router-id 1.1.1.1
log-adjacency-changes
passive-interface GigabitEthernet0/0
ipv6 router ospf 1
router-id 1.1.1.1
log-adjacency-changes
interface g0/1
ipv6 address 2001:DB8:ACAD:A::/64 eui-64
no shutdown
interface serial 0/0/1
ipv6 address FC00::1/64
no shutdown
ipv6 route 2001:DB8:ACAD:B::/64 serial 0/0/1 O
ipv6 route 2001:DB8:ACAD:B::/64 FC00::2 O
ipv6 route ::/0 serial 0/0/1
R3(config)# ipv6 unicast-routing
interface GigabitEthernet0/0
description R1 LAN
no ip address
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
ipv6 ospf 10 area 0
interface Serial0/0/0
description Link to R2
no ip address
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:A001::1/64
ipv6 ospf 1 area 0
clock rate 64000
!
interface Serial0/0/1
description Link to R3
no ip address
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:A003::1/64
ipv6 ospf 10 area 0
interface Loopback0
ipv6 address 2001:DB8:5F73:6::1/64
ipv6 router ospf 10
router-id 1.1.1.1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 172.16.2.0 0.0.0.255 area 0
network 192.168.10.8 0.0.0.3 area 0
ip helper-address 192.168.2.254
interface g0/1
ip helper-address 192.168.2.254
R2
router eigrp 1
network 192.168.2.252 0.0.0.3
redistribute static
ip route 0.0.0.0 0.0.0.0 209.165.200.225
ip route 192.168.0.0 255.255.252.0 209.165.200.226
ip dhcp excluded-address 192.168.0.1 192.168.0.9
ip dhcp excluded-address 192.168.1.1 192.168.1.9
ip dhcp pool R1G1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 209.165.200.225
domain-name ccna-lab.com
lease 2
ip dhcp pool R1G0
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 209.165.200.225
domain-name ccna-lab.com
lease 2
interface g0/0
ip address dhcp
interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
ip helper-address 10.1.1.1
ip helper-address 10.1.1.2
duplex auto
speed auto
iip dhcp excluded-address 10.10.4.1
!
ip dhcp pool R4
network 10.10.4.0 255.255.255.0
default-router 10.10.4.1
dns-server 209.165.44.2
interface GigabitEthernet0/0
ip address 10.10.4.1 255.255.255.0
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:A:4::1/64
ipv6 ospf 1 area 0
!
!
interface Serial0/0/1
ip address 64.103.17.2 255.255.255.252