CMS专题

单选题R1 is currently advertising prefixes 1.0.0.0/8, 2.0.0.0/8, and 3.0.0.0/8 over its eBGP connection to neighbor 2.2.2.2 (R2). An engineer configures a prefix list (fred) on R1 that permits only 2.0.0.0/8 and then enables the filter with the neighbor R2 p

题目
单选题
R1 is currently advertising prefixes 1.0.0.0/8, 2.0.0.0/8, and 3.0.0.0/8 over its eBGP connection to neighbor 2.2.2.2 (R2). An engineer configures a prefix list (fred) on R1 that permits only 2.0.0.0/8 and then enables the filter with the neighbor R2 prefix- list fred out command. Upon exiting configuration mode, the engineer uses some show commands on R1, but no other commands. Which of the following is true in this case?()
A

The show ip bgp neighbor 2 .2.2.2 received -routes command lists the three original prefixes.

B

The show ip bgp neighbor 2.2.2.2 advertised - routes command lists the three original prefixes.

C

The show ip bgp neighbor 2.2.2.2 routes command lists the three original prefixes.

D

T he show ip bgp neighbor 2.2.2.2 routes command lists only 2.0.0.0/8.

E

The show ip bgp neighbor 2.2.2.2 advertised - routes command lists only 2.0.0.0/8.

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

( 29 )有如下程序

#include <iostream>

using namespace std;

class A{

public:

A(int i=0):r1(i) { }

void print() {cout<< ' E ’ <<r1<< ' - ' ;}

void print() const {cout<< ' C ' <<r1*r1<< ' - ' ;}

void print(int x) {cout << ' P ' <<r1*r1*r1<< ' - ' ;}

private:

int r1;

};

int main() {

A a1;

const A a2(4);

a1.print(2);

a1.print();

return 0;

}

运行时的输出结果是

A ) P8-E4

B ) P8-C16-

C ) P0-E4-

D ) P0-C16-


正确答案:D

第2题:

若有以下程序段: int r=8; print("%d\n",r>>1): 输出结果是( )。 A.16B.8S

若有以下程序段: int r=8; print("%d\n",r>>1): 输出结果是( )。

A.16

B.8

C.4

D.2


正确答案:C
本题考查移位运算。将8转为二进制数为1000,右移一位不足补0,结果为0100,转化为十进制结果为4。

第3题:

若有以下程序段

int r=8;

printf("%d\n",r>>1);

输出结果是

A ) 16

B ) 8

C ) 4

D ) 2


正确答案:C

第4题:

两个电阻R1=4Ω,R2=8Ω,其并联的总电阻值是()。

  • A、8/3Ω
  • B、12Ω
  • C、3/8Ω
  • D、2Ω

正确答案:A

第5题:

Routers R1 and R2, currently EIGRP neighbors over their Fa0/0 interfaces (respectively),both use EIGRP authentication. Tuesday at 8 p.m. the neighborship fails.Which of the following wo uld not be useful when investigating whether authenticationhad anything to do with the failure?()

A. debug eigrp packet

B. show key chain

C. show ip eigrp neighbor failure

D. show clock


参考答案:C

第6题:

有如下程序: #inClude using nameSpace std; Class A{ public: A(inti=0):r1(i){ } void plint(){cout<<‘E’<<r1<<‘-’;} void print()const{cout<<‘C’<<r1*r1<<‘-’;} void print(int X){cout<<‘P’<<r1*r1*r1<<‘-’;} prlvate: intrl; }; intmain(){ Aal; constA a2(4); a1.print(2); a2.print(); returh0; } 运行时的输出结果是( )。

A.P8-E4

B.P8-C16-

C.P0-E4-

D.P0-C16-


正确答案:D
解析:略。

第7题:

Examine the above configuration. What does the route map named test accomplish?()

A. permits only the 10.0.0.0/8 prefix to be advertised to the 10.1.1.1 neighbor

B. marks all prefixes received fro m the 10.1.1.1 neighbor with a MED of 200

C. marks the 10.0.0.0/8 prefix advertised to the 10.1.1.1 neighbor with a MED of 200

D. permits only the 10.0.0.0/8 prefix to be received from the 10.1.1.1 neighbor

E. marks all prefixes advertised to the 10.1.1 .1 neighbor with a MED of 200

F. marks the 10.0.0.0/8 prefix received from the 10.1.1.1 neighbor with a MED of 200


参考答案:C

第8题:

若有以下程序段:

int r=8;

print("%d\n",r>>1): 输出结果是( )。

A.16

B.8

C.4

D.2


正确答案:C

本题考查移位运算。将8转为二进制数为1000,右移一位不足补0,结果为0100,转化为十进制结果为4。

第9题:

若对关系R1按( )进行运算,可以得到关系R2。

A.σ商品名=‘毛巾’?‘钢笔’(R1)
B.σ价格≥‘8’(R1)
C.π1,2,3(R1)
D.σ商品编号=‘01020211’?‘02110200’(R1)

答案:B
解析:
本题考查关系代数概念和性质。选项A“σ商品名=‘毛巾’?‘钢笔’(R1)”的结果有商品编号为01020211、01020212、01020213和02110200的商品,而R2中没有商品编号为01020213的商品,因此该选项是错误的。选项B“σ价格≥‘8’(R1)”的结果只有价格大于8的商品,运算结果为表2。所以选项B是正确的。选项C“σ商品编号=‘01020211’?‘02110200’(R1)”的结果只有商品编号为010202111和02110200的商品,而没有商品编号为01020213的商品,因此该选项是错误的。选项D“π1,2,3(R1)”的结果等价于无条件对R1进行投影,运算结果就为R1。所以,选项D是错误的。

第10题:

有R1和R2两个电阻串联,已知R1=2R2,R1消耗功率为8W,则R2消耗的功率为()W。


正确答案:4

更多相关问题