问题 问答题

以下是三层交换机Switch1上配置VRRP的部分内容,请将(10)~(12)空缺处的配置语句或命令解释填写完整。
Switch1 (config) # track 100 interface GigabitEthernet1/1/1 line-protocol (10)
Switch1 (config) # interface VLAN 1
Switch1 (config-if) # vrrp 1 ip 10.1.1.253
Switch1 (config-if) # vrrp 1 priority 120
Switch1 (config-if) # (11) (配置VRRP抢占)
Switch1 (config-if) # vrrp 1 track 100 decrement 30 ( (12) )

答案

参考答案:跟踪目标100,当目标出现故障时,优先级降低30

解析:由互联网工程任务组(the Internet Engineering Tast Force,IETF)组织制定的虚拟路由器冗余协议(Virtual RouterRedundancy Protocol,VRRP),是为具有多播或广播能力的局域网(如以太网)设计的容错协议。以下给出试题中三层交换机Switch1上部分VRRP配置语句的命令解释。
Switch1 (config) # track 100 interface GigabitEthernet1/1/1 line-protocol
(定义一个跟踪目标号100,被跟踪对象为GE1/1/1接口
Switch1 (config) # interface VLAN 1 (进入VLAN 1虚子接口)
Switch1 (config) # vrrp 1 ip 10.1.1.253 (启用VRRP功能,并设置虚拟IP地址为10.1.1.253)
Switch1 (config-if) # vrrp 1 priority 120 (设置三层交换机的VRRP优先级)
Switch1 (config-if) # vrrp 1 preemp (配置VRRP抢占)
Switch1 (config-if) # vrrp 1 track 100 decrement 30
(跟踪目标100,当目标出现故障时,优先级降低30)
Switch1 (config-if) # vrrp 1 authentication md5 key-string abcl23
(配置VRRP认证方式为MD5,认证密码为abc123)

单项选择题
判断题