Configuring Static IPv6 Address on a Cisco Router Interface | CCNA Exam 200-125

Assigning a Static IPv6 Address to a Router Interface

Prev Question Next Question

Question

Which command can you use to manually assign a static IPv6 address to a router interface?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

To assign an IPv6 address to an interface, use the "ipv6 address" command and specify the IP address you wish to use.

The command that can be used to manually assign a static IPv6 address to a router interface is option B: ipv6 address 2001:db8:2222:7272::72/64.

IPv6 is the latest version of the Internet Protocol, and it has a different address format from IPv4. In IPv6, an address is 128 bits long and is represented in hexadecimal format. To assign a static IPv6 address to a router interface, you can use the "ipv6 address" command.

The syntax for the "ipv6 address" command is:

ipv6 address ipv6-address/prefix-length

Where:

  • ipv6-address: the IPv6 address you want to assign to the interface.
  • prefix-length: the length of the network prefix for the address.

For example, to assign the static IPv6 address 2001:db8:2222:7272::72/64 to the interface, you would use the following command:

Router(config-if)# ipv6 address 2001:db8:2222:7272::72/64

This command assigns the IPv6 address 2001:db8:2222:7272::72 to the interface and specifies a prefix length of 64. The prefix length determines the size of the network portion of the IPv6 address.

Option A, "ipv6 autoconfig 2001:db8:2222:7272::72/64", is not a valid command. The "ipv6 autoconfig" command is used to enable or disable IPv6 address autoconfiguration on an interface, but it does not assign a static IPv6 address.

Option C, "ipv6 address PREFIX_1 ::1/64", is not a valid command either. It uses an undefined variable "PREFIX_1" and is incomplete.

Option D, "ipv6 autoconfig", is used to enable or disable IPv6 address autoconfiguration on an interface, but it does not assign a static IPv6 address.