多个VLAN要跨跃多台交换机,不需要设置Trunk Link。
第1题:
以下关于虚拟局域网中继(VLAN Trunk)的描述中,错误的是()。
A.VLAN Trunk是在交换机与交换机之间、交换机与路由器之间存在的物理链路上传输多个VLAN信息的一种技术
B.VLAN Trunk的标准机制是帧标签
C.在交换设备之间实现Trunk功能,VLAN协议可以不同
D.目前常用的vlan协议有ISL、IEEE802.10和国际标准IEEE802.1Q
第2题:
VLAN Tagging, also known as Frame Tagging, is a method developed by Cisco to help identify packets travelling through trunk links. When an Ethernet frame traverses a trunk link, a special VLAN tag is added to the frame and sent across the trunk link .How does ERS use the VLAN tag?()
A. provide service internetworking
B. support transparency for Layer 2 frames
C. indicate destination as a connection identifier
D. map to the DLCI in service internetworking
第3题:
下面关于虚拟局域网中继(VLAN Trunk)的描述中,错误的是( )。
A) VLAN Trunk是交换机与交换机之间、交换机与路由器之间在的物理链路上传输多个VLAN信息的一种技术
B) VLAN Trunk的标准机制是帧标签
C)目前通常采用的VLAN协议有LSL、IEEE802.10和国际标准1EEE802.1Q
D)在交换设备之间实现Trunk功能,VLAN协议可以不同
第4题:
当同一交换机所在端口被划分为两个以上的vlan时,必须要创建Trunk才能在线路上承载多个vlan。
第5题:
第6题:
A. All defined VLANs are allowed on the trunk by default.
B. Each VLAN, or VLAN range, that is specified with the switchport mode command.
C. Each VLAN, or VLAN range, that is specified with the vtp domain command.
D. Each VLAN, or VLAN range, that is specified with the vlan database command.
第7题:
A.By default, all defined VLANs are allowed on the trunk.
B.Each single VLAN, or VLAN range, must be specified with the switchport mode command.
C.Each single VLAN, or VLAN range, must be specified with the vtp domain command.
D.Each single VLAN, or VLAN range, must be specified with the vlan database command.
第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题:
第10题:
由于园区网中部署了多个VLAN,因此工程师会将交换机之间的链路配置为Trunk,以标记的方式承载不同VLAN的流量。对于锐捷交换机的Trunk接口,以下陈述正确的是()