题目详情

若管理员需要在Switch上创建VLAN 2,并要在GE1/0/1和GE1/0/2接入PC,PC属于VLAN 2,完成以下命令填空或者解释

<HUAWEI> system-view

[HUAWEI] (1)

[Switch] vlan batch 2 //创建VLAN 2

[Switch] interface gigabitethernet 1/0/1

[Switch-GigabitEthernet1/0/1] (2)

[Switch-GigabitEthernet1/0/1] port default vlan 2 //(3)

[Switch-GigabitEthernet1/0/1] quit

正确答案及解析

正确答案
解析

(1)sysname? Switch (2) port link-type access (3)接口GE1/0/1加入VLAN 2或者指定端口默认vlan 【解析】

在Switch上创建VLAN 2,并把接口GE1/0/1和GE1/0/2加入VLAN 2

<HUAWEI> system-view

[HUAWEI] sysname Switch

[Switch] vlan batch 2?//创建VLAN 2

[Switch] interface gigabitethernet 1/0/1

[Switch-GigabitEthernet1/0/1] port link-type access //和接入设备PC相连的接口类型必须是access,

接口默认类型不是access,需要手动配置为access

[Switch-GigabitEthernet1/0/1] port default vlan 2 //接口GE1/0/1加入VLAN 2

[Switch-GigabitEthernet1/0/1] quit

在考试中,第(2)和第(3)空的命令考的比较多,,一定要特别注意,能达到填空和解释命令的能力,不一定要在模拟器上练习,但是这一段一定要熟悉。

类似的把接口配置成hybrid接口,如下:

<Quidway> system-view

[Quidway] sysname SwitchA

[SwitchA] vlan batch 100 200

[SwitchA] interface gigabitethernet 0/0/1

[SwitchA-GigabitEthernet0/0/1] port hybrid pvid vlan 100

[SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 100

[SwitchA-GigabitEthernet0/0/1] quit

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +