niusouti.com

An administrator is having a hard time adding a new switch to the network. After verifying that allthe ports are configured correctly on each switch, which of the following should the administratorverily NEXT?()A. Straight-through cable is used to connect

题目

An administrator is having a hard time adding a new switch to the network. After verifying that allthe ports are configured correctly on each switch, which of the following should the administratorverily NEXT?()

A. Straight-through cable is used to connect both switches

B. Loopback plug is connected

C. Crossover cable is used to connect both switches

D. Cable is a rollover cable


相似考题
更多“An administrator is having a hard time adding a new switch to the network. After verifying ”相关问题
  • 第1题:

    Youupdatedtheresourceplandirectivefortheresourceconsumergroup,DSS_USERS.TheresourceplandirectiveisassignedtotheDSS_PLANbyusingthefollowingstatement:

    SQL>EXECDBMS_RESOURCE_MANAGER.UPDATE_PLAN_DIRECTIVE(PLAN=>’DSS_PLAN’,

    GROUP_OR_SUBPLAN=>’DSS_USERS’,

    NEW_CPU_P1=>80,

    NEW_SWITCH_GROUP=>’CANCEL_SQL’,

    NEW_SWITCH_ESTIMATE=>TRUE,

    NEW_SWITCH_TIME=>600);

    Auserconnectstothedatabaseandstartsanoperation.WhatistheoutcomeifOracleestimatesthattheexecutiontimeforthisoperationwillexceed600seconds?()


    参考答案:B

  • 第2题:

    使用VC6打开考生文件夹下的工程test15_3。此工程包含一个test15_3.cpp,其中定义了类Time和Timex,Timex公有继承Time,但定义并不完整。请按要求完成下列操作,将程序补充完整。

    (1)完成类Time构造函数的定义,将数据成员hours和minutes分别初始化为参数new_hours和new_minutes的值。请在注释“//**1**”之后添加适当的语句。

    (2)完成类Timex的构造函数的定义,注意参数的传递。请在注释“//**2**”之后添加适当的语句。

    (3)请按时间格式“hour:minute”和“hour:minute:second”分别输出对象time1和time2所表示的时间,注意必须使用已经定义的成员函数。请在注释“//**3**”之后添加适当的语句。

    输出结果如下:

    20:30

    10:45:34

    注意:除在指定的位置添加语句外,请不要改动程序中的其他语句。

    源程序文件test15_3.cpp清单如下:

    include<iostream.h>

    class Time

    {

    public:

    Time(int new hours,int new_minutes)

    {

    // ** 1 **

    }

    int get_hours();

    int get_minutes();

    protected:

    int hours,minutes;

    };

    int Time::get_hours()

    {

    return hours;

    }

    int Time::get_minutes()

    {

    return minutes;

    }

    class Timex:public Time

    {

    public:

    Timex(int new hours,int new_minutes,int new_seconds);

    int get_seconds();

    protected:

    int seconds;

    };

    // ** 2 **

    {

    seconds=new_seconds;

    }

    int Timex::get_seconds()

    {

    return seconds;

    }

    void main()

    {

    Time time1(20,30);

    Timex time2(10,45,34);

    // ** 3 **

    }


    正确答案:(1) hours=new_hours; minutes=new_minutes; (2) Timex::Timex(int new_hoursint new_minutes int new_seconds):Time(new_hoursnew_minutes) (3) couttime1.get_hours()":"time1.get_minutes()end1; couttime2.get_hours()":"time2.get_minutes()":"time2.get_seconds()endl;
    (1) hours=new_hours; minutes=new_minutes; (2) Timex::Timex(int new_hours,int new_minutes, int new_seconds):Time(new_hours,new_minutes) (3) couttime1.get_hours()":"time1.get_minutes()end1; couttime2.get_hours()":"time2.get_minutes()":"time2.get_seconds()endl; 解析:本题主要考查考生对于类和派生类构造函数的定义以及成员函数的使用,注意(2)中派生类构造函数中必须包括向基类传递参数的调用,应该使用参数列表完成这一操作。

  • 第3题:

    某企业的网络结构如图 4-1 所示

    问题:4.1 (6 分) 根据 4-1 所示,完成交换机的基本配置,请根据描述,将以下配置代 码补充完整。
    (1)
    [HUAWEI] (2)
    Switch [Switch]vlan(3)10 20 30 100 200 [Switch](4)gigabitethernet0/0/1
    [Switch-GigabitEthernet0/0/1]port link-type(5)
    [Switch-GigabitEthernet0/0/1]port trunk allow-pass vlan(6)
    [Switch-GigabitEthernet0/0/1]quit [Switch]interface vlanif 10
    [Switch-Vlanif10]ip address 10.10.1.1.255.255.255.0 [Switch-Vlanif10]quit
    VLAN 20 30 100 200 配置略 ......
    问 题 : 4.2 按 照 公 司 规 定 , 禁 止 市 场 部 和 研 发 部 工 作 日 每 天 8:00~18:00 访问公司视频服务器,其他部门和用户不受此限制。请根 据描述,将以下配置代码补充完整。 ......
    [Switch] (7)satime 8:00 to 18:00 working-day
    [Switch]acl 3002
    [Switch-acl-adv-3002]rule deny ip source 10.10.2.0.0.0.0.255 destination 10.10.20.1 0.0.0.0 timc-range satime
    [Switch-acl-adv-3002]quit
    [Switch]acl 3003
    [Switch-acl-adv-3003]rule deny ip source 10.10.3.0.0.0.0.255 destination 10.10.20.10.0.0.0 time-range satime
    [Switch-acl-adv-3003]quit
    [Switch-acl-adv-3003]rule deny ip source 10.10.3.0.0.0.0.255 destination 10.10.20.10.0.0.0 time-range satime
    [Switch-acl-adv-3003]quit
    [Switch]traffic classifier c_market //(8
    [Switch-classifier-c_market](9)acl 3002 //将 ACL 与流分类关联
    [Switch-classifier-c_market]quit
    [Switch]traffic classifier c_rd
    [Switch-classifier-c_rd]if-match acl 3003 //将 ACL 与流分类关联
    [Switch-classifier-c_rd]quit
    [Switch](10)b_market //创建流行为
    [Switch-behavior-b_market] (11) //配置流行为动作为拒绝报文通过
    [Switch-behavior-b market]quit
    [Switch]traffic behavior b_rd
    [Switch-behavior-b_rd]deny
    [Switch-behavior-b_rd]quit
    [Switch](12)p_market //创建流策略
    [Switch-trafficpolicy-p_market]classifier c_market behavior b_market
    [Switch-trafficpolicy-p_market]quit
    [Switch]traffic policy p_rd //创建流策略
    [Switch-trafficpolicy-p_rd]classifier c_rd behavior b_rd
    [Switch-trafficpolicy-p_rd]quit
    [Switch]interface(13)
    [Switch-GigabitEthernet0/0/2]traffic-policy p_market(14)
    [Switch-GigabitEthernet0/0/2]quit
    [Switch]interface gigabitethernet 0/0/3
    [Switch-GigabitEthernet0/0/3]traffic-policy(15)inbound
    [Switch-GigabitEthernet0/0/3]quit


    答案:
    解析:
    1、 system-view 2、 sysname 3、 batch 4、 interface 5、 trunk 6、 all 或 10 7、 time-range 8、 创建一个 c_market 的流分类 9、 If-match 10、 traffic behavior 11、 Deny 12、 traffic policy 13、 gigabitethernet0/0/2 14、 inbound 15、 p_rd

  • 第4题:

    YouareusingtheDatabaseResourceManagertomanagedatabaseresources.YoucreatedaresourceplandirectivefortheMANAGERSresourceconsumergroupundertheSALES_PLANbyusingthefollowingstatement:

    SQL>EXECDBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE

    (PLAN=>’SALES_PLAN’,

    GROUP_OR_SUBPLAN=>’MANAGERS’,

    CPU_P1=>100,CPU_P2=>0,

    SWITCH_GROUP=>’CLERKS’,

    SWITCH_TIME_IN_CALL=>600);

    Auser,SCOTT,whoisassignedtotheMANAGERSgroup,startsadatabasesessionandexecutesaqueryonthedatabase.Whatistheoutcomeifthequerytakesapproximately15minutestocomplete?()


    参考答案:D

  • 第5题:

    【问题3】(8分)

    企业员工访问互联网时,为了财务部门的安全,必须限制财务部门的互联网访问请求;要求员工只能在周一至周五08:00~18:00和周末08:00~12:00这两个时间段访问互联网。根据需求,完成(或解释)核心交换机Route-Switch的部分配置命令。

    Route-Switch(config)time-range telnettime //定义时间范围

    Route-Switch(config-time-range)periodic weekday (7)

    //定制周期性执行时间为工作日的08:00~18:00

    Route-Switch(config-time-range)periodic weekend 08:00 to 12:00

    //(8)

    Route-Switch(config-time-range)exit

    Route-Switch(config)access-list 104 deny ip 192.168.3.0 0.0.0.255 any

    //(9)

    Route-Switch(config)access-list 104 permit ip any any time-range telnettime

    //应用访问控制时间,定义流量筛选条件

    Route-Switch(config)int f0/6

    Route-Switch(config-if)(10)

    //在接口F0/6的出方向应用acl 104规则


    正确答案:
    【问题3】分析
    此题考查时间访问控制列表(时间ACL),此知识点是第一次出现在软考考试中。若考生没有相关知识基础,在结合第三小问的整个题干,也是可以做出答案来的。
    Route-Switch(config)#time-range telnettime
    //定义时间范围
    Route-Switch(config-time-range)#periodic weekday 08:00to 18:00
    //定制周期性执行时间为工作日的08:00~18:00
    Route-Switch(config-time-range)#periodic weekend 08:00 to 12:00
    //定制周期性执行时间为周末的08:00~12:00
    Route-Switch(config-time-range)#exit
    Route-Switch(config)#access-list 104 deny ip 192.168.3.0 0.0.0.255 any
    //禁止财务部访问互联网或则禁止财务部访问任何网络
    Route-Switch(config)#access-list 104 permit ip any any time-range telnettime
    //应用访问控制时间,定义流量筛选条件
    Route-Switch(config)#int f0/6
    Route-Switch(config-if)#ip access-group 104 out
    //在接口F0/6的出方向应用acl 104规则

    【问题3】(8分,每空2分)
    (7)08:00 to 18:00
    (8)定制周期性执行时间为周末的08:00—12:00
    (9)禁止财务部访问互联网
    (10)ip access-group 104 out

  • 第6题:

    使用哪个函数可插入当前日期?

    A.today()

    B.now()

    C.time()

    D.new()


    today( )