CCNA • CLI Questions — 50 Questions
50 CCNA CLI Questions questions with answers and detailed explanations. Command-line and scenario-based questions. Free, no signup.
You are connected to R1. Configure IPv4 and IPv6 addressing on R1's interfaces and verify reachability to R2. The current configuration has a wrong subnet mask on G0/0, missing default gateway for IPv4, and R1's IPv6 address is configured using EUI-64 while R2 uses a static IPv6 address. Fix these issues so that R1 can ping both R2's IPv4 and IPv6 addresses.
R1#show running-config Building configuration... hostname R1 ! interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.0 ipv6 address 2001:db8:1::/64 eui-64 no shutdown ! interface GigabitEthernet0/1 ip address 198.51.100.1 255.255.255.0 ipv6 address 2001:db8:2::1/64 no shutdown ! ip route 0.0.0.0 0.0.0.0 192.0.2.254 ! end R2#show running-config Building configuration... hostname R2 ! interface GigabitEthernet0/0 ip address 192.0.2.2 255.255.255.252 ipv6 address 2001:db8:1::2/64 no shutdown ! interface GigabitEthernet0/1 ip address 203.0.113.1 255.255.255.0 no shutdown ! end R1#show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.0.2.1 YES manual up up GigabitEthernet0/1 198.51.100.1 YES manual up up R1#ping 192.0.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.0.2.2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) R1#ping 2001:db8:1::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:db8:1::2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5)
R1#show running-config Building configuration... hostname R1 ! interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.0 ipv6 address 2001:db8:1::/64 eui-64 no shutdown ! interface GigabitEthernet0/1 ip address 198.51.100.1 255.255.255.0 ipv6 address 2001:db8:2::1/64 no shutdown ! ip route 0.0.0.0 0.0.0.0 192.0.2.254 ! end R2#show running-config Building configuration... hostname R2 ! interface GigabitEthernet0/0 ip address 192.0.2.2 255.255.255.252 ipv6 address 2001:db8:1::2/64 no shutdown ! interface GigabitEthernet0/1 ip address 203.0.113.1 255.255.255.0 no shutdown ! end R1#show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.0.2.1 YES manual up up GigabitEthernet0/1 198.51.100.1 YES manual up up R1#ping 192.0.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.0.2.2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) R1#ping 2001:db8:1::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:db8:1::2, timeout is 2 seconds: ..... Success rate is 0 percent (0/5)