Which line assigns an IP address to the VLAN 20 interface in the sample?

Elevate your skills with the HPE Aruba Networking Certified Professional Test. Prepare effectively with flashcards and multiple choice questions, each with helpful insights and explanations. Boost your readiness and ace the exam!

Multiple Choice

Which line assigns an IP address to the VLAN 20 interface in the sample?

Explanation:
An SVI needs an IP address to participate in a subnet, so the actual assignment is done with the ip address command inside the VLAN interface context. The line ip address 10.10.20.1/24 sets the IPv4 address and subnet mask for the VLAN 20 interface, placing it in the 10.10.20.0/24 network and enabling routing for that VLAN. The other lines either enter the interface context without assigning an address, create the VLAN, or configure a routing protocol—none of which actually assigns the IP to the VLAN interface.

An SVI needs an IP address to participate in a subnet, so the actual assignment is done with the ip address command inside the VLAN interface context. The line ip address 10.10.20.1/24 sets the IPv4 address and subnet mask for the VLAN 20 interface, placing it in the 10.10.20.0/24 network and enabling routing for that VLAN. The other lines either enter the interface context without assigning an address, create the VLAN, or configure a routing protocol—none of which actually assigns the IP to the VLAN interface.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy