Explanation: To configure interfaces 1/1/1 and 1/1/2 as VLAN 10 access ports in ArubaOS-CX switches, the following commands are required:
switch(config)# vlan 10
switch(config-vlan-10)# name VLAN10
switch(config-vlan-10)# exit
switch(config)# interface 1/1/1
switch(config-if)# no shutdown
switch(config-if)# vlan access 10
switch(config-if)# exit
switch(config)# interface 1/1/2
switch(config-if)# no shutdown
switch(config-if)# vlan access 10
switch(config-if)# exit
Option B shows the correct syntax and sequence of commands to create VLAN 10, assign a name to it, and configure the interfaces as access ports in that VLAN. Option A is incorrect because it uses the wrong keyword vlan-id instead of vlan access. Option C is incorrect because it does not create VLAN 10 before assigning the interfaces to it. Option D is incorrect because it uses the wrong keyword vlan mode instead of vlan access. References: ArubaOS-CX 10.05 Fundamentals Guide 6200 Switch Series, Configuring VLANs on AOS-CX - Aruba