在交换机中,需要对G 0/0/1 到G0/0/10 的连续10个接口进行批设置,

练习题库2022-08-02  40

问题 在交换机中,需要对G 0/0/1 到G0/0/10 的连续10个接口进行批设置,使其默认Vlan为vlan 10的命令,正确的是A.[Huawei]Port-member 1    [Huawei-port- member -1]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-port- member -1]port default vlan 10B.[Huawei] group-member 1    [Huawei-group- member -1]port-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-group- member -1]port default vlan 10C.[Huawei]Port-group 1    [Huawei-port-group-1]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-port-group-1]port default vlan 10D.[Huawei]member-group 1    [Huawei-member-group-1]group-port  GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-member-group-1]port default vlan 10

选项 A.[Huawei]Port-member 1    [Huawei-port- member -1]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-port- member -1]port default vlan 10
B.[Huawei] group-member 1    [Huawei-group- member -1]port-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-group- member -1]port default vlan 10
C.[Huawei]Port-group 1    [Huawei-port-group-1]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-port-group-1]port default vlan 10
D.[Huawei]member-group 1    [Huawei-member-group-1]group-port  GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 [Huawei-member-group-1]port default vlan 10

答案 C

解析 如要将接口GigabitEthernet0/0/1 到GigabitEthernet0/0/10的这个是10个接口,统一配置成默认的vlan是vlan10的命令如下:system-view Enter system view, return user view with Ctrl+Z. [Huawei]vlan 10[Huawei-vlan10]quit[Huawei]Port-group 1[Huawei-port-group-1]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/10 //把1到10口加入分组[Huawei-port-group-1]port default vlan 10 //设置接口的默认PVID,系统自动在10个端口中执行命令,并在屏幕输出
转载请注明原文地址:https://tihaiku.com/congyezige/2405070.html

最新回复(0)