如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输ULANID为1、10、20和30的4个VLAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是A.Switch-3548 (config-if) #switchport trunk encapsulation dot 1 q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30B.Switch-3548 (config-if) #

题目

如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输ULANID为1、10、20和30的4个VLAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是

A.Switch-3548 (config-if) #switchport trunk encapsulation dot 1 q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30

B.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation isl Switch-3548 (config-if) #switchport trunk allowed vlan 1-30

C.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation negotiate Switch-3548 (config-if) #switchport trunk allowed vlan 1-30

D.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation dot 1q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30


相似考题
更多“如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输ULANID为1、10、20和30的4个VLAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是A.Switch-3548 (config-if) #switchport trunk encapsulation dot 1 q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30B.Switch-3548 (config-if) #”相关问题
  • 第1题:

    如图1所示,某校园网使用3台Catalyst6500交换机构成万兆以太网的主干,其中交换机S1使用千兆以太网技术下连到学生宿舍楼的一台Catalyst3548交换机S4,S4下连的用户被划分在VLAN ID为2~5,VLAN名为jszx2~jszx5的4个VLAN中,标注S1和S4之间使用IEEE802.1Q国际标准,且在S1和S4之间只允许传输jszx2~jszx5的信息。

    请阅读下列关于交换机S4的VLAN配置信息,并补充空白处的配置命令或参数,按题目要求完成交换机S4的相关配置。

    Switch-S4-3548 vlan data

    Switch-S4-3548 (vlan) vlan2 name jszx2

    Switch-S4-3548 (vlan) vlan3 name jszx3

    Switch-S4-3548 (vlan) vlan4 name jszx4

    Switch-S4-3548 (vlan) vlan5 name jszx5

    Switch-S4-3548 (vlan) exit

    Switch-S4-3548 configure terminal Switch-S4-3548 (config) interface (6) (进入端口配置模式)

    Switch-S4-3548 (config-if) switchport (7) (配置VLAN trunk模式)

    Switch-S4-3548 (config-if) switchport trunk encapsulation (8) (封装协议)

    Switch-S4-3548 (config-if) switchport truck allowed (9) (设置可中继的VLAN)

    Switch-S4-3548 (config-if) switchport truck allowed (10) (去除不允许中继的VLAN)

    Switch-S4-3548 (config-if) exit

    Switch-S4-3548 (config) exit Switch-S4-3548

    (6)


    正确答案:G2/2
    G2/2

  • 第2题:

    You are bringing up a new Ezonexam switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method. When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?

    A.Switch(config)# switchport trunk encapsulation isl

    B.Switch(config)# switchport trunk encapsulation ietf

    C.Switch(config-if)# switchport trunk encapsulation isl

    D.Switch(config-if)# switchport trunk encapsulation ietf

    E.Switch(config-if)# switchport trunk encapsulation dot1q


    正确答案:E
    解析:Explanation:
    The only real choices for setting up switching trunks are ISL and 802.1Q. ISL is Cisco proprietary, while 802.1Q uses the IEEE defined standard for trunking between switches.

    To configure the 802.1Q standard, the keyword "dot1q" is used in Cisco switches.

    Incorrect Answers:
    A, B, D. These are not valid options in a Cisco switch.

    C. ISL is a Cisco proprietary method for setting up trunks, and will only work between Cisco switches.

  • 第3题:

    如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输VIANID为1、10、20和30的4个VLAN信息,Catalyst3548交换机VLANTrunk的正确配置是( )。

    A.

    B.

    C.

    D.

    A.A

    B.B

    C.C

    D.D


    正确答案:D
    D【解析】IEEE802.1Q可用于不同厂家的交换机设备互连,是实现VLANTrunk的唯一标准协议,因此,不同厂家交换机互连要实现VLANTrunk功能时,必须在直接相连的两台交换机端口上都封装dotIq协议。VLANTrunk协议配置的步骤为:(1)进入继模式“#SwitchportModetrunk”。(2)封装协议“#Switch.porttrunkencapsulationdotiq”。(3)指定所属的VLAN“#SwitchporttrunkMlowedVLANl,10,20,30”。故D选项正确。

  • 第4题:

    Which commands, when used together, would create an 802.1Q link?()

    A. Switch(vlan)# mode trunk

    B. Switch(config)# switchport access mode trunk

    C. Switch(config-if)# switchport mode trunk

    D. Switch(config-if)# switchport trunk encapsulation dot1q

    E. Switch(config)# switchport access mode 1

    F. Switch(vlan)# trunk encapsulation dot1q


    参考答案:C, D

  • 第5题:

    如下图所示,Cisco 3548交换机A与B之间需传输名为VL10(ID号为10)和VL15(ID号为15)的VLAN信息。下列为交换机A的g0/1端口分配VLAN的配置,正确的是______。

    A) Switch-3548(config)#interface g0/1

    Switch-3548(config-if)#switchport mode trunk

    Switch-3548(config-if)#switchport trunk allowed

    vlan 10,15

    B) Switch-3548(config)#interface g0/1

    Switch-3548(config-if)#switchport mode trunk

    Switch-3548(config-if)#switchport trunk access

    vlan 10,15

    C) Switch-3548(config)#interface g0/1

    Switch-3548(config-if)#switchport allowed vlan

    vl10,vl15

    D) Switch-3548(config)#interface g0/1

    Switch-3548(config-if)#switchport mode trunk

    Switch-3548(config-if)#switchport trunk allowed

    vlan 10-15

    A.

    B.

    C.

    D.


    正确答案:B
    解析:题中为交换机A的g0/1端口分配VLAN的配置。以Cisco 3548交换机为例:
      步骤一:进入交换机端口配置模式(config)#interface g0/1
      步骤二:配置VLAN Trunk模式(config-if)#switchport mode trunk
      步骤三:为端口分配VLAN(config-if)#switchport trunk access vlan 10,15

  • 第6题:

    Which commands, when used together, would create an 802.1Q link?()

    • A、Switch(vlan)# mode trunk
    • B、Switch(config)# switchport access mode trunk
    • C、Switch(config-if)# switchport mode trunk
    • D、Switch(config-if)# switchport trunk encapsulation dot1q
    • E、Switch(config)# switchport access mode 1
    • F、Switch(vlan)# trunk encapsulation dot1q

    正确答案:C,D

  • 第7题:

    Which interface commands would you enter on a Catalyst 2900 switch, if your goal was to bring all VLAN traffic to another directly connected switch?()

    • A、Switch(config-if)# vlan all
    • B、Switch(config-if)# switchport trunk encapsulation dot1q
    • C、Switch(config-if)# switchport access vlan all
    • D、Switch(config-if)# switchport mode trunk
    • E、Switch(config-if)# switchport access vlan 303

    正确答案:C,D

  • 第8题:

    You are bringing up a new Cisco Catalyst switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method. When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?()

    • A、Switch(config)# switchport trunk encapsulation isl
    • B、Switch(config)# switchport trunk encapsulation ietf
    • C、Switch(config-if)# switchport trunk encapsulation isl
    • D、Switch(config-if)# switchport trunk encapsulation ietf
    • E、Switch(config-if)# switchport trunk encapsulation dot1q

    正确答案:E

  • 第9题:

    单选题
    在锐捷接换机上配置Trunk接口时,如果要从允许的VLAN列中删除VLAN5,所运行的命令是哪一项?()
    A

    Switch(config-if)#Switchport trunk allowed remove 5

    B

    Switch(config-if)#Switchport trunk remove 5

    C

    Switch(config-if)#Switchport trunk Vlan allowed remove 5

    D

    Switch(config-if)#Switchport trunk allowed Vlan remove 5


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    You need to configure a new Company switch for trunking.  Which switch command enables a  trunking protocol that appends a four byte CRC to the packet?()
    A

     CompanySwitch(config-if)#switchport trunk encapsulation dot1q

    B

     CompanySwitch(config-if)#switchport trunk encapsulation itef

    C

     CompanySwitch(config-if)#switchport trunk encapsulation fddi

    D

     CompanySwitch(config-if)#switchport trunk encapsulation isl

    E

     None of the other alternatives apply


    正确答案: C
    解析: 暂无解析

  • 第11题:

    多选题
    Which interface commands would you enter on a Catalyst 2900 switch, if your goal was to bring all VLAN traffic to another directly connected switch?()
    A

    Switch(config-if)# vlan all

    B

    Switch(config-if)# switchport trunk encapsulation dot1q

    C

    Switch(config-if)# switchport access vlan all

    D

    Switch(config-if)# switchport mode trunk

    E

    Switch(config-if)# switchport access vlan 303


    正确答案: E,A
    解析: 暂无解析

  • 第12题:

    多选题
    Which commands, when used together, would create an 802.1Q link?()
    A

    Switch(vlan)# mode trunk

    B

    Switch(config)# switchport access mode trunk

    C

    Switch(config-if)# switchport mode trunk

    D

    Switch(config-if)# switchport trunk encapsulation dot1q

    E

    Switch(config)# switchport access mode 1

    F

    Switch(vlan)# trunk encapsulation dot1q


    正确答案: D,F
    解析: 暂无解析

  • 第13题:

    阅读以下说明,回答问题1至问题3,将解答填入解答栏内。

    【说明】

    某公司租用了一段C类地址203.12.11.0/24~203.12.14.0/24,如下图所示。其网间地址是172.11.5.14/24。要求网内所有PC都能上网。

    接入层交换机Switch1的端口24为trunk口,其余各口属于vlan11,请解释下列命令并完成交换机的配置。

    Switch1config terminal

    Switch1(config)interface f0/24(进入端口24配置模式)

    Switch1(config-if) switchport mode trunk(1)

    Switch1(config-if)switchport trunk encapsulation dotlq(2)

    Switch1(config-if) switchport trunk allowed all(允许所有VLAN从该端口交换数据)

    Switch1(config-if)exit

    Switch1(config)exit

    Swkch1 vlan database

    Switch1(vlan) vlan11 name lab01(3)

    Switch1(vlan)exit

    Switch1 config terminal

    Switch1(config)interface f0/9(进入f0/9的配置模式)

    Switch1(config-if)(4)(设置端口为接入链路模式)

    Switch1(config-if)(5)(把f0/9分配给VLAN11)

    Switch1(config-if)exit

    Switch1(config)exit


    正确答案:(1)设置端口为中继(或Trunk)模式 (2)设置Trunk采用802.1q格式(或dotlq) (3)创建vlanll并命名为lab01 (4)switchport mode access (5)switchport access vlan11
    (1)设置端口为中继(或Trunk)模式 (2)设置Trunk采用802.1q格式(或dotlq) (3)创建vlanll,并命名为lab01 (4)switchport mode access (5)switchport access vlan11 解析:由题目要求可知,Switch1的端口24为trunk口,其余各口属于vlan11,故Switch1的配置及解释如下。
    Switch1# config terminal
    Switch1(config) #interface f0/24 (进入端口24配置模式)
    Switch1(config-if)# switchport mode trunk 设置端口为中继模式
    Switch1(cOnfig-if)# switchport trunk encapsulation dotlq设置Trunk采用 802.1q格式
    Switch1(config-if)# switchport trunk allowed all(允许所有VLAN从该端口交换数据)
    Switch1(config- if)#exit
    Switch1(config)#exit
    Switchl# vlan database
    Switch1(vlan) # vlan11 name lab01 创建vlan11,并命名为lab01
    Switch1(vlan)#exit
    Switch1#config terminal
    Switch1(config)# interface f0/9 (进入f0/9的配置模式)
    Switch1(config- if)# switchport mode access(设置端口为接入链路模式)
    Switch1(config- if)# switchport access vlan11(把f0/9分配给VLAN11)
    Switch1(config-if)#exit
    Switch1(config)#exit

  • 第14题:

    某网络的拓扑结构如图4-1所示,其中路由器Router1和交换机Switch1的部分配置如下:

    以下是路由器Router和Switch1的部分配置信息,请解释部分命令的意义。

    Router(config)interface fastEthernet1/0.1

    Router(config-subif)encapsulation isl 11 (1)

    Router(config-subif)ip address 10.1.1.1 255.255.255.0 (2)

    Router(config-subif)exit

    Router(config)interface fastEthernet1/0.2

    Router(config-subif)encapsulation isl 12

    Router(config-subif)ip address 10.1.2.1 255.255.255.0

    Router(config-subif)exit

    Router(config)interface fastEthernet1/0.3

    Router(config-subi f)encapsulation isl 13

    Router(config-subif)ip address 10.1.3.1 255.255.255.0

    Router(config-subif)exit

    Router(config)ip routing (3)

    [交换机Switch1的部分配置信息]

    Switch1(config)vlan database (4)

    Switch1(vlan)vlan 11 (5)

    Switch1(vlan)vlan 12

    Switch1(vlan)vlan 13

    Switch1(vlan)exit

    Switch1(config)interface fastEthernet0/0

    Switch1(config-if)switchport mode trunk (6)

    Switch1(config-if)switchport trunk allowed all (7)

    Switch1(config-if)exit

    Switch1(config)interface fastEthernet0/1

    Switch1(config-if)switchport mode trunk

    Switch1(config-if)switchport trunk a110wed a11

    Switch1(config-if)exit

    Switch1(config)interface fastEthernet0/2

    Switch1(config-if)switchport mode trunk

    Switch1(config-if)switchport trunk allowed all

    Switch1(config-if)exit


    正确答案:将vlan11的接口封装为ISL 设置vlan11的默认网关为10.1.1.1 启动ip转发 进入VTP配置子模式 定义一个vlan为11 接口设置为trunk模式 允许所有vlan信息在trunk中传递
    将vlan11的接口封装为ISL 设置vlan11的默认网关为10.1.1.1 启动ip转发 进入VTP配置子模式 定义一个vlan为11 接口设置为trunk模式 允许所有vlan信息在trunk中传递

  • 第15题:

    Which interface commands would you enter on a Catalyst 2900 switch, if your goal was to bring all VLAN traffic to another directly connected switch?()

    A. Switch(config-if)# vlan all

    B. Switch(config-if)# switchport trunk encapsulation dot1q

    C. Switch(config-if)# switchport access vlan all

    D. Switch(config-if)# switchport mode trunk

    E. Switch(config-if)# switchport access vlan 303


    参考答案:C, D

  • 第16题:

    You are bringing up a new Cisco Catalyst switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method.When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?()

    A. Switch(config)# switchport trunk encapsulation isl

    B. Switch(config)# switchport trunk encapsulation ietf

    C. Switch(config-if)# switchport trunk encapsulation isl

    D. Switch(config-if)# switchport trunk encapsulation ietf

    E. Switch(config-if)# switchport trunk encapsulation dot1q


    参考答案:E

  • 第17题:

    如图1所示,一台Cisco3500系列交换机上连接2台计算机,他们分别划分在VLAN10(ID号为 10)和VLAN11(ID号为11)中。交换机千兆以太网端口(g0/1)连接一台路由器,使2个VLAN之间能够通信,交换机管理地址为 167.11.45.2/24,缺省路由地址为 167.11.45.1/24。

    请阅读以下交换机的配置信息,并补充【6】~【10】空白处的配置命令或参数。按题目要求完成交换机的配置。(注:填写答案时,配置语句的关键字要求拼写完整)

    Switch-3548>enable

    Password:*********

    Switch-3548

    Switch-3548configure terminal

    Switch-3548(config)hostname Switch-lib

    Switch-lib(config)

    Switch-lib(config)interface vlan 1

    Switch-lib(config-if)no shutdown

    Switch-lib(config-if)ip address 【 6】 配置交换机的管理地址

    Switch-lib(config-if)exit

    Switch-lib(config)ip default-gateway167.11.45.1

    Switch-lib(config)vtp domain lib

    Switch-lib(config)vtp mode transparent

    Switch-lib(config)exit

    Switch-libvlan data

    Switch-lib(vlan)vlan 【7】 建立VLAN10

    …… 建立VLAN11(省略)

    Switch-lib(vlan)exit

    Switch-libconfigure terminal

    Switch-lib(config)interface f0/1

    Switch-lib(config-if)no shutdown

    Switch-lib(config-if)switchport 【8】 为端口f0/1分配VLAN

    Switch-lib(config-if)exit

    Switch-lib(config)interface f0/6

    …… 为端口f0/6分配VLAN(省略)

    Switch-lib(config-if)exit

    Switch-lib(config)interface g0/1

    Switch-lib(config-if)switchport 【9】 设置VLAN trunk 模式

    Switch-lib(config-if)switchport trunkencapsulation dotlq

    Switch-lib(config-if)switchport trunk 【10】 配置允许中继的VLAN

    Switch-lib(config-if)exit

    Switch-lib(config)exit

    Switch-lib


    正确答案:
    答案:【6】167.11.45.2255.255.255.0【7】10namevlan10【8】accessvlan10【9】modetrunk【10】allowedvlan10,11或allowedvlan10-11

  • 第18题:

    能够在CiscoIOS软件中正确地将端口配置为ISL封装的命令是()。

    • A、Switch(config-if)#switchport mode trunk isl
    • B、Switch(config-if)#switchport mode encapsulation isl
    • C、Switch(config-if)#switchport trunk encapsulation isl
    • D、Switch(config-if)#switchport mode trunk encapsulation isl

    正确答案:C

  • 第19题:

    把VLAN20从中继链路中删除的命令是()

    • A、switch(config-if)#switchport trunk vlan remove 20
    • B、switch(config-if)#switchport trunk allowed vlan remove 20
    • C、switch(config)#switchport trunk vlan remove 20
    • D、switch(config)#switchport trunk allowed vlan pruning 20

    正确答案:B

  • 第20题:

    You need to configure a new Company switch for trunking.  Which switch command enables a  trunking protocol that appends a four byte CRC to the packet?()

    • A、 CompanySwitch(config-if)#switchport trunk encapsulation dot1q
    • B、 CompanySwitch(config-if)#switchport trunk encapsulation itef
    • C、 CompanySwitch(config-if)#switchport trunk encapsulation fddi
    • D、 CompanySwitch(config-if)#switchport trunk encapsulation isl
    • E、 None of the other alternatives apply

    正确答案:D

  • 第21题:

    单选题
    You are bringing up a new Cisco Catalyst switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method. When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?()
    A

    Switch(config)# switchport trunk encapsulation isl

    B

    Switch(config)# switchport trunk encapsulation ietf

    C

    Switch(config-if)# switchport trunk encapsulation isl

    D

    Switch(config-if)# switchport trunk encapsulation ietf

    E

    Switch(config-if)# switchport trunk encapsulation dot1q


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输VLAN ID为1、10、20和30的5个VLAN信息,Catalyst3548交换机VLAN Trunk的正确配置是(  )。
    A

    Switch-3548(config-if)#switchport trunk encapsulation dotlq
    Switch-3548(config-if)#switchport trunk allowed vlan 1,10,20,30

    B

    Switch-3548(config-if)#switchport mode trunk
    Switch-3548(config-if)#switchport trunk encapsulation isl
    Switch-3548(config-if)#switchport tnmk allowed vlan 1-30

    C

    Switch-3548(config-if)#switchport mode trunk
    Switch-3548(config-if)#switchport trunk encapsulation negotiate
    Switch-3548(config-if)#switchport trunk allowed vlan 1-30

    D

    Switch-3548(config-if)#switchport mode trunk
    Switch-3548(config-if)#switchport trunk encapsulation dotlq
    Switch-3548(config-if)#switchport trunk allowed vlan 1,10,20,30


    正确答案: D
    解析:
    VLAN trunk的配置任务有:设置交换机端口的VLAN Trunk模式,为VLAN Trunk封装VLAN协议和设置VLAN Trunk允许中继的VLAN。D项正确,即:
    Switch-3548(config-if)#switchport mode trunk //配置VLAN Trunk模式。
    Switch-3548(config-if)#switchport trunk encapsulation dotlq //封装IEEE802.1Q协议。
    Switch-3548(config-if)#switchport trunk allowed vlan 1,10,20,30 //设置允许中继的VLAN。

  • 第23题:

    问答题
    如下图所示,某校园网使用三台Catalyst 6500交换机构成万兆以太网的主干,其中交换机S1使用千兆以太网技术下连到学生宿舍楼的一台Catalyst 3548交换机S4,S4下连的用户被划分在VLAN ID为2~5,VLAN名为jszx2~jszx5的四个VLAN中,要求S1和S4之间使用IEEE802.1Q国际标准,且在S1和S4之间只允许传输jszx2~jszx5的信息。校园网连接图  请阅读下列关于交换机S4的VLAN配置信息,并补充空白处的配置命令或参数,按题目要求完成交换机S4的相关配置。    Switch-S4-3548(config)#interface【1】(进入端口配置模式)  Switch-S4-3548(config-if)#switchport【2】(配置VLAN trunk模式)  Switch-S4-3548(config-if)#switchport trunk encapsulation【3】(封装协议)  Switch-S4-3548(config-if)#switchport truck allowed【4】(设置可中继的VLAN)  Switch-S43548(config-if)#switchport truck allowed【5】(去除不允许中继的VLAN)  Switch-S4-3548(config-if)#exit  Switch S43548(config)#exit  Switch-S4-3548#

    正确答案: 【1】g2/2
    【2】mode trunk
    【3】dot1q
    【4】vlan
    【5】vlan except 6—1000
    解析:except是从允许的VLAN列表中去掉一些VLAN号,也就是参数中给出的是不允许中继的VLAN。
    解析: 暂无解析