Switch1的f0/24口接在Switch 0的f0/2口上,请根据本题的示意图完成或解释以下 Switch0的配置命令。Switch0(config) interface(8)(进入虚子接口)Switch0(config-if) ip address 203.12.12.1 255.255.255.0(加IP地址)Switch0(config-if) no shutdown(9)Switch0(config-if) standby 1 ip 203.12.12.253(建HSRP组并设虚IP地址)Sw

题目

Switch1的f0/24口接在Switch 0的f0/2口上,请根据本题的示意图完成或解释以下 Switch0的配置命令。

Switch0(config) interface(8)(进入虚子接口)

Switch0(config-if) ip address 203.12.12.1 255.255.255.0(加IP地址)

Switch0(config-if) no shutdown(9)

Switch0(config-if) standby 1 ip 203.12.12.253(建HSRP组并设虚IP地址)

Switch0(config-if) standby 1 priority 110(10)

Switch0(config-if) standby 1 preempt(11)


相似考题
更多“Switch1的f0/24口接在Switch 0的f0/2口上,请根据本题的示意图完成或解释以下 Switch0的配置命令。 ”相关问题
  • 第1题:

    将Switcbl的端口6划入v2的配置命令如下,请给出空白处的配置内容:

    Switch1(config)interface fastEthemet0/6(进入端口6配置模式)

    Switch1(config-if)switchport(6)

    Switch1(config-if)switchport(7)


    正确答案:(6)Switch1(config-if)#switchport mode access (7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。
    (6)Switch1(config-if)#switchport mode access (7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。 解析:(6)Switch1(config-if)#switchport mode access
    (7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。

  • 第2题:

    网络管理员在Cisco交换机Switch1上进行了如下配置:Switch1config terminalSwitch1(config)interface range f0/4 -10Switch1(config-if-range)switchport access vlan 2请问他执行以上操作的结果是( )。

    A、在Switch1上添加VLAN2

    B、将Switch1上的f0/4-10接口添加到VLAN2中

    C、配置Switch1的f0/4-10接口为trunk模式

    D、查看Switch1的f0/4-10接口模式


    正确答案:B


  • 第3题:

    交换机名称别为SWA,写出配置命令分别实现下列功能:(写配置命令的时候要标明各条配置命令所处的模式。)(本题18分) //答案需写在纸上拍照后上传。// (1)在交换机上分别建立VLAN 30和VLAN 40;(4分) (2)把f0/11,f0/12分配到VLAN 30中;(4分) (3)把f0/15,f0/16分配到VLAN 40中;(4分) (4)实现VLAN间路由。(6分)


    AC

  • 第4题:

    阅读以下说明,回答问题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

  • 第5题:

    如果希望在Switch1中创建的VLAN信息也能在Switch2中使用,则分别在Switch1、Switch2上执行下列命令,请给出空白处的配置内容:

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

    Switch1(vlan)vtp (4)

    Switch1(vlan)vtp domain abc (设置域名)

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

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

    Switch2(vlan)vtp (5)

    Switch2(vlan)vtp domain abc (设置域名)

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


    正确答案:(4)server (5)client
    (4)server (5)client 解析:如果希望在Switch1中创建的VLAN信息也能在Switch2中使用,则需要创建VTP域,并将Switch1设置为server模式,把Switch2设置为client模式。