PRATIQUE 3
PRATIQUE 3
PRATIQUE 3
Answer Configurations:
———————
enable
conf t
ipv6 unicast-routing
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/2
ip route 0.0.0.0 0.0.0.0 Serial0/1/0 10
ip route 192.168.3.122 255.255.255.255 Serial0/1/1
ip route 192.168.10.0 255.255.255.0 GigabitEthernet0/0/2
ip route 192.168.10.0 255.255.255.0 S0/1/0 10
ipv6 route ::/0 2001:DB8:ACAD:A::2
ipv6 route ::/0 2001:DB8:ACAD:B::2 10
ipv6 route 2001:DB8:ACAD:3::122/128 2001:DB8:ACAD:D::2
end
——————–
enable
conf t
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.10.254
ip dhcp pool WLAN-hosts
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 198.51.100.163
ipv6 unicast-routing
interface GigabitEthernet0/0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
interface GigabitEthernet0/0/1
ip address dhcp
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0/1
ip route 0.0.0.0 0.0.0.0 Serial0/1/0 10
ipv6 route ::/0 2001:DB8:ACAD:C::1
ipv6 route ::/0 2001:DB8:ACAD:B::1 10
end
—————–
enable
conf t
vlan 10
name users
vlan 999
name unused
ip arp inspection vlan 10,999
ip dhcp snooping vlan 10,999
ip dhcp snooping
spanning-tree mode pvst
spanning-tree extend system-id
interface FastEthernet0/1
switchport access vlan 10
ip dhcp snooping limit rate 5
switchport mode access
switchport port-security
switchport port-security maximum 4
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security mac-address 00D0.D3DC.2825
switchport port-security aging time 10
spanning-tree portfast
spanning-tree bpduguard enable
interface FastEthernet0/2
switchport access vlan 10
ip dhcp snooping limit rate 5
switchport mode access
switchport port-security
switchport port-security maximum 4
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security mac-address sticky
switchport port-security aging time 10
spanning-tree portfast
spanning-tree bpduguard enable
interface FastEthernet0/3
switchport access vlan 10
ip dhcp snooping limit rate 5
switchport mode access
switchport port-security
switchport port-security maximum 4
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security aging time 10
spanning-tree portfast
spanning-tree bpduguard enable
interface FastEthernet0/4
switchport access vlan 10
ip dhcp snooping limit rate 5
switchport mode access
switchport port-security
switchport port-security maximum 4
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security aging time 10
spanning-tree portfast
spanning-tree bpduguard enable
interface FastEthernet0/5
switchport access vlan 10
ip dhcp snooping limit rate 5
switchport mode access
switchport port-security
switchport port-security maximum 4
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security aging time 10
spanning-tree portfast
spanning-tree bpduguard enable
interface FastEthernet0/6
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/7
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/8
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/9
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/10
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/11
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/12
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/13
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/14
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/15
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/16
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/17
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/18
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/19
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/20
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/21
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/22
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/23
switchport access vlan 999
switchport mode access
shutdown
interface FastEthernet0/24
switchport access vlan 999
switchport mode access
shutdown
interface GigabitEthernet0/1
ip arp inspection trust
ip dhcp snooping trust
switchport mode access
switchport access vlan 10
interface GigabitEthernet0/2
switchport access vlan 999
switchport mode access
shutdown
end