下面是某路由器的部分配置信息,解释(n)处标有下划线的部分含义。RouterconfigRouter wg confighos

14 查阅

下面是某路由器的部分配置信息,解释(n)处标有下划线的部分含义。

Routerconfig

Router wg confighosmame wg

Shanghai

Routerconfig/

Wg configsecret ccidnet //设置用户登录口令为ccidnet

Wg configvty password //设置登录方式为口令登录(默认方式)

interface serial 0 //选择配置串行口

ip address 10.1.1.1 255.255.255.0 (1)

encapsulation hdlc (2)

interface serial l //选择配置串行口

encapsulation slip//封装slip协议physical—layer async物理层封装异步方式

ip address 10.1.1.2 255.255.255.0 //指定串行口的II,地址和子网掩码

port speed 57600 (3)

interface serial 0 //选择配置串行口

encapsulation frame—relay (4)

ip address 10.1.1.1 255.255.255.0 //指定串行口的IP地址和掩码

frame—relay inff—type dte //指定为数据终端设备

frame—relay Imi—type ansi //指定LMI消息类型为ANSI标准

frame—relay map ip 10.1.1.2 16 //映射对端IP地址和DLCI号

interface ethernet 0 (5)

ip address 10.3.1.254 255.255.255.0 //指定以太网口的IP地址和掩码

1Ocal pool pooll 10.1.1.30 10.1.1.40

10cal p00l p0012 10.1.1.51 10.1.1.60 //定义IP,地址池p0012

Router(config)ip route 10.2.1.0 255.255.255.0 10.1.1.1

Router ip

Network 192.168.1.O

Network 10.0.0.0

Version 2

参考答案:

(1)指定串行口的IP地址和子网掩码(2)封装HDLC协议(3)设定端口速率(4)封装帧中继协议(5)以太网接口e0(1)指定串行口的IP地址和子网掩码(2)封装HDLC协议(3)设定端口速率(4)封装帧中继协议(5)以太网接口e0 解析:本题考查了路由器基本配置命令。

计算机四级