路由器基本配置命令详解(9)
发布时间:2021-06-08
发布时间:2021-06-08
路由器的基本配置命令详解
description Link to R2
ip address 192.168.2.1 255.255.255.0
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
line con 0
password cisco
line vty 0 4
password cisco
login
!
end
步骤 3:探索 show interfaces 命令。
show interfaces 命令显示路由器上配置的所有接口的统计信息。可以在此命令的后面添加特定的接口以便仅显示该接口的统计信息。在 R1 路由器的特权执行模式中,检查 show interfaces fastEthernet0/0 命令的输出。如果出现 –-More-- 提示符,请按空格键查看命令输出的其余部分。
R1# show interfaces fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0007.eca7.1511 (bia 0002.1625.1bea) Description: R1 LAN
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles