下面是某路由器的部分配置信息,解释 (n) 处标有下划线的部分含义。
Router#config
Router wg config#hostname wg
Shanghai#
Router#config/
Wg config#secret ccidnet //设置用户登录口令为ccidnet
Wg config#vty password //设置登录方式为口令登录(默认方式)
interface seria1 0 //选择配置串行口
ip address 10.1.1.1 255.255.255.0 (1)
encapsulation hdlc: (2)
interface seria1 1 //选择配置串行口
encapsulation slip//封装slip协议physical—layer async物理层封装异步方式
ip address 10.1.1.2 255.255.255.0 //指定串行口的IP地址和子网掩码
port speed 57600 (3)
interface seria1 0 //选择配置串行口
encapsulation flame—relay (4)
ip address 10.1.1.1 255.255.255.0 //指定串行口的IP地址和掩码
flame—relay intf—type dte //指定为数据终端设备
flame—relay 1mi—type ansi //指定LMI消息类型为ANSI标准
flame—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地址和掩码
local pool poo11 10.1.1.30 10.1.1.40
local pool poo12 10.1.1.51 10.1.1.60 //定义IP地址池poo12
Router(config)ip route 10.2.1.0 255.255.255.0 10.1.1.1
Router ip
Network 192.168.1.0
Network 10.0.0.0
Version 2
参考答案:(1)指定串行口的IP地址和子网掩码
(2)封装HDLC协议
(3)设定端口速率
(4)封装帧中继协议
(5)以太网接口e0
解析: 本题考查了路由器基本配置命令。