A.Advertise only locally originated routes.
B.Accept all BGP routes and import into inet.0.
C.Advertise all active BGP routes.
D.Advertise only EBGP routes.
第1题:
ABGProuterhasthefollowingconfiguration:
protocols{
bgp{
export[policy-1policy-2policy-3];
}}
policy-options{
policy-statementpolicy-2{
termget-statics{
fromprotocolstatic;
thenaccept;
}
termreject-all{
thenreject;
}
}
policy-statementpolicy-1{
termget-aggregate{
fromprotocolaggregate;
thenaccept;
}
termreject-all{
thenreject;
}
}
policy-statementpolicy-3{
termget-ospf{
fromprotocolospf;
thenaccept;
}
termreject-all{
thenreject;
}
}
}
Whichpolicytermisevaluatedfirstwhenexportingroutes?()
第2题:
有如下代码段:
switch ( x ){
case 1:System.out.println("One");break;
case 2:
case 3:System.out.println("Two");break;
default:System.out.println("end");
}
变量x的取值下列哪些情形时,能使程序输出"Two" 。
A. 1
B. 2
C. 3
D. default
第3题:
A.Local-Preference
B.AS-Path
C.TAG
D.Community
在route-policy中,能够匹配If-match子句的BGP属性有:AS-Path、MED、Community
第4题:
A.ACL
B.ip prefix
C.community-list
D.as-path-acl
E.route-policy
第5题:
A.Local-Preference
B.TAG
C.MED
D.AS-Path
第6题:
给定如下Java代码片段,编译运行时的结果是() int i=2; switch(i) { default: System.out.println(“default”); case 0: System.out.println(“zero”); break; case 1: System.out.println(“one”); case 2: System.out.println(“two”); }
A.输出:default
B.输出:default zero
C.编译出错,default 语句位置不符合switch结构的语法结构
D.输出two