以下哪个命令定义了native VLAN?A、nativev lan 1B、switchport native vlan 1C、switchport mode native 1D、switehport trunk native vlan 1A.B.C.D.

题目

以下哪个命令定义了native VLAN?

A、nativev lan 1

B、switchport native vlan 1

C、switchport mode native 1

D、switehport trunk native vlan 1

A.

B.

C.

D.


相似考题
更多“以下哪个命令定义了native VLAN?A、nativev lan 1B、switchport native vlan 1C、switchport mode n ”相关问题
  • 第1题:

    使Switch1的千兆端口允许所有VLAN通过的配置命令如下,请给出空白处的配置内容:

    Switch1(config)interface gigabit0/1 (进入端u配置模式)

    Switch1(config-if)switchport (6)

    Switch1(config-if)switchport (7) (设置封装协议为dotlq)


    正确答案:(6)mode trunk (7)trunk encaps dotlq
    (6)mode trunk (7)trunk encaps dotlq 解析:的作用是将当前端口设置为trunk(干道)模式,其命令是“switchport mode trunk”:空(7)的作用是设置trunk中数据帧的封装形式为dotlq,其命令“switchport trunk encaps dotlq”。

  • 第2题:

    IEEE802.1Q VLAN中继协议将(48)定义为本征(Native) VLAN。

    A.VLAN0

    B.VLANl

    C.VLAN2

    D.VLAN4096


    正确答案:B
    解析:当配置一台新的交换机时,交换机的所有端口默认属于同一VLAN,即VLAN1。连接在不同交换机上的、属于同一VLAN的数据帧必须通过Trunk链路传输。IEEE802.1QVLAN中继协议将VLAN1定义为本征(Native)VLAN。当交换机收到VLAN1的数据时,并不改变此帧的结构,即并不给此帧打标记而是直接传送。换句话说,如果路由器快速以太网子接口采用IEEE802.1Q封装形式,则VLAN1的数据将不被重新封装。

  • 第3题:

    阅读以下说明和交换机的配置信息,回答问题1至问题3,将解答填入对应栏内。

    某公司下设三个部门,为了便于管理,每个部门组成一个VLAN,公司网络结构如图5-1所示。

    阅读交换机Switch1的部分配置信启,将(1)~(4)处空缺的内容填写在答题纸相应位置。

    Switch1>en

    switch1vlan database (设置VLAN配置子模式)

    Switch1(vlan) (1) (设置本交换机为Server模式)

    Switch1(vlan)vtp domain ABC (设置域名为ABC)

    Switch1(vlan) (2) (启动修剪功能)

    Switch1(vlan)…… (创建VLAN11~VLAN13,略)

    Switch1(vlan)exit (退出VLAN配置模式)

    Switch1config t

    Switch1(config)interface f0/9

    Switch1(config-if)switchport mode access

    Switch1(config-if)switchport (3) (将端口9配给vlan11)

    Switch1(config)interface f0/24

    Switch1(config-if)switchport mode trunk

    Switch1(config-if)switchport (4) (设置封装协议为isl)

    Switch1(config-if)exit

    Switch1copy run start


    正确答案:(1)vtp server (2)vtp pruning (3)access vlan 11 (4)trunk encapsulation isl
    (1)vtp server (2)vtp pruning (3)access vlan 11 (4)trunk encapsulation isl 解析:主要是对VTP的配置和端口工作模式的设置。配置交换机的VTP模为Server的命令是“vtp server”;启动VTP修剪功能的命令是“vtp pruning”;将端口分配给某个vlan的命令是“switchport access vlanVLANID>或VLAN名称>”;设置trunk中数据帧的封装形式的命令是“switchport trunk encaps封装协议>”。

  • 第4题:

    使Switch1的千兆端口允许所有VLAN通过的配置命令如下,请给出空白处的配置内容:

    Switchl(config)interface gigabit0/1(进入千兆端口配置模式)

    Switch1(config-if)switchport(4)

    Switch1(config-if)switchport(5)


    正确答案:(4)_Switch1(config-if)#switchport mode trunk (5) Switch1(config-if)#switchport trunk allowed vlan all(或tiunk encapsulation isl)
    (4)_Switch1(config-if)#switchport mode trunk (5) Switch1(config-if)#switchport trunk allowed vlan all(或tiunk encapsulation isl) 解析:(4)设置trunk模式:Switch1(config-if)#switchport mode trunk
    (5)设置该千兆端口允许所有VLAN通过:Switch1(config-if)#switchport trunk allo-wed vlan all(或trunk encapsulation isl)

  • 第5题:

    [说明]

    图4-1是在网络中划分VLAN的连接示意图。VLAN可以不考虑用户的物理位置,而

    根据功能、应用等因素将用户从逻辑上划分为一个个功能相对独立的工作组,每个用户主机都连接在支持VLAN的交换机端口上,并属于某个VLAN。

    [问题1](2分)

    同一个VLAN中的成员可以形成一个广播域,从而实现何种功能

    [问题2](2分)

    在交换机中配置VLAN时,VLAN l是否需要通过命令创建为什么

    [问题3](3分)

    创建一个名字为v2的虚拟局域网的配置命令如下,请给出空白处的配置内容:

    Switch ___(1)___(进入VLAN配置模式)

    Switch(vlan) ___(2)___(创建v2并命名)

    Switch(vlan) ___(3)___(完成并退出)

    [问题4](2分)

    使Switch l的千兆端口允许所有VLAN通过的配置命令如下,请给出空白处的配置内容:

    Switch l (config)interfacegigabit0/1(进入端口6配置模式)

    Switch l (config-if)switchport___(4)___

    Switch l (config-if)switchport ___(5)___

    [问题5](2分)

    若交换机Switchl和Switch2没有千兆端口,在图4-1中能否实现VLAN Trunk的功能若能,如何实现

    [问题6](2分)

    将Switch l的端1216划入v2的配置命令如下,请给出空白处的配置内容:

    Switch l (config)interface fastEthernet0/6(进入端口6配置模式)

    Switch l (config-if)switchport ___(6)___

    Switch l (config-if)switchport ___(7)___

    [问题7](2分)

    若网络用户的物理位置需要经常移动,应采用什么方式划分VLAN


    正确答案:
    [问题1]隔离不同VLAN之间的广播风暴,从而提高网络通信效率;实现各个VLAN之间的逻辑隔离。[问题2]不需要,VLAN1由系统自动创建。[问题3](1)Switch#vlandatabase(2)Switch(vlan)#vlan2namev2(3)Switch(vlan)#exit[问题4](4)_Switch1(config-if)#switchportmodetrunk(5)Switch(config-if)#switchporttrunkallowedvlanall[问题5]若交换机Switch1和Switch2没有千兆端口,在图4-1中可以实现VLANTrunk的功能。在交换机Switch1和Switch2中各牺牲一个普通以太端口(fastEthernet)并将其配置成Trunk模式。[问题6](6)Switch(config-if)#switchportmodeaccess(7)Switch(config-if)#switchportaccessvlan2[问题7]应采用基于MAC地址的方式划分VLAN;或基于网络层协议划分VLAN。

  • 第6题:

    38、当ONU只有宽带一个业务的时候必须配置native-vlan。


    正确