试题与答案

首先在R1和R2上做基本配置,完成部分语句的解释或命令。R1Router>enRou

题型:填空题

题目:

首先在R1和R2上做基本配置,完成部分语句的解释或命令。

R1

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host r1

r1(config)#int s0/0

r1(config-if)#ip addr 172.16.1.1 255.255.255.0

r1(config-if)#no shut

%LINK-5-CHANGED:Interface Seria10/0,changed srate to up

r1(config-if)#clock rate 64000

%LINEPROTO-5-UPDOWN:Line protocol on Interface Seria10/0,changed state to u

r1(config-if)#exit

r1(config)#int f0/0

r1(config-if)#no ip addr

r1(config-if)#no shut

r1(config-if)#exit

r1(config)#int f0/0.1配置子接口

r1(config-subif)#encapsulation (1) //配置子接口必须使用dot1Q进行封装

r1(config-subif)#ip addr 192.168.1.1 255.255.255.0

r1(config-subif)#no shut

r1(config-subif)#exit

r1(config)#int f0/0.2配置子接口

r1(config-subif)#encapsulation (2) //配置子接口必须使用dot1Q进行封装

r1(config-subif)#ip addr 192.168.2.1 255.255.255.0

r1(config-subif)#no shut

rl(config-subif)#exit

rl(config)#int f0/0.3配置子接口

rl(config-subif)#encapsulation (3) //配置子接口必须使用dot1Q进行封装

r1(config-subif)#ip addr 192.168.3.1 255.255.255.0

我们把R2当作公网使用,所以只需要在R2的S0/0口上配置ip。

1()

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0719/7153883470fc0d6e8d0a8597f20577e3.html

下面是错误答案,用来干扰机器的。

参考答案:D

试题推荐
微信公众账号搜索答案