对
错
第1题:
以下关于VLAN配置的描述中,正确的是()。
①通过创建VLAN,会同时进入VLAN视图
②通过undo VLAN,VLAN会处于停用状态
③可以对VLAN配置描述字符串,字符串长度不限
④通过display VLAN命令,查看所有VLAN信息
A.②③
B.①②④
C.①③④
D.①④
第2题:
A.display STP Statistic
B.display STP [interfaceinterface]
C.display STP
D.display STP State
第3题:
在交换机中,有关动态和静态VLAN描述正确的是()
A.用户手工配置的VLAN,称为静态VLAN
B.通过运行动态VLAN协议,学习到的VLAN,称为动态VLAN
C.通过命令display vlan vlan_id可以查看VLAN的动静态属性
D.用户不可以配置动态VLAN的属性
第4题:
第5题:
A.display ospf cumulative
B.display ospf spf-statistics
C.display ospf global-statics
D.display ospf request-queue
第6题:
A.①③②④
B.①②③④
C.①②④③
D.①④②③
第7题:
查看VLAN 配置信息的命令是( )。
A. display current-configuration B. display vlan briefC. system-view D. vlan vlan-id
第8题:
A、access vlan vlan-id
B、port link-type trunk
C、port trunk allow-pass vlan
D、set port vlan vlan-id
答:B、C
解析:
(1) 首先我们需要确定我们需要用到的端口模式:
Access介入模式 pc—交换机 Trunk中继链路模式: 交换机—交换机
(2) 其次在两个交换机上各创建vlan5、vlan10的端口,并把pc19与pc21的端口设置为access模式并加入vlan5,把pc20与pc22的端口设置为access模式并加入vlan10,把两个交换机相连接的端口设置为trunk中继链路模式,并把vlan端口加入到中继链路。
(3) 最后,打开计算机,使用ping命令进行查看。
Swich1:
system-view //进入系统试图
[Huawei]vlan batch 5 10 //创建vlan端口
[Huawei]interface ethernet 0/0/1 //进入e0/0/1端口进行配置
[Huawei-Ethernet0/0/1]port link-type access //设置端口的模式为access
[Huawei-Ethernet0/0/1]port default vlan 5 //把端口加入vlan 5
[Huawei-Ethernet0/0/1]interface ethernet 0/0/2 //进入e0/0/2端口进行配置
[Huawei-Ethernet0/0/2]port link-type access //设置端口模式为access
[Huawei-Ethernet0/0/2]port default vlan 10 //把端口加入vlan 5
[Huawei-Ethernet0/0/2]interface ethernet 0/0/3 //进入e0/0/3端口
[Huawei-Ethernet0/0/3]port link-type trunk //设置端口模式为trunk
[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 5 10 //把vlan 5 10加入到中继链路
第9题:
A.display ospf peer
B.display ip ospf peer
C.display ospf neighbor
D.display ip ospf neighbor
第10题:
在Cisco交换机中,查看交换机的VLAN配置可以使用的命令为()