[R1-GigabitEthernet0/0/0]display this
[V200R003C00]
#
interface GigabitEthernet0/0/0
ip address 12.1.1.1 255.255.255.0
#
return
[R1-GigabitEthernet0/0/0]quit
[R1]
[R1-GigabitEthernet0/0/0]return
<R1>
[R2-GigabitEthernet0/0/0]ping 12.1.1.1
PING 12.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 12.1.1.1: bytes=56 Sequence=1 ttl=255 time=160 ms
Reply from 12.1.1.1: bytes=56 Sequence=2 ttl=255 time=40 ms
Reply from 12.1.1.1: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 12.1.1.1: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 12.1.1.1: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 12.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/50/160 ms
precedence 优先级 ----Cisco AD
cost 度量值------------Cisco metric
谁给我的路由条目谁就是我的下一跳(下一个路由器)
[R2]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.1.1.2/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
[R2]dis interface brief
PHY: Physical
*down: administratively down
(l): loopback
(s): spoofing
(b): BFD down
^down: standby
(e): ETHOAM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
GigabitEthernet0/0/0 up up 0% 0% 0 0
GigabitEthernet0/0/1 down down 0% 0% 0 0
GigabitEthernet0/0/2 down down 0% 0% 0 0
NULL0 up up(s) 0% 0% 0
IGP RIP OSPF ISIS
EGP BGP
AS:自治系统
由一个组织统一定义和管理的网络,运行相同的路由策略
[R2]dis arp
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
VLAN/CEVLAN PVC
------------------------------------------------------------------------------
12.1.1.2 00e0-fcf6-7348 I - GE0/0/0
12.1.1.1 00e0-fc92-2a6d 5 D-0 GE0/0/0
------------------------------------------------------------------------------
Total:2 Dynamic:1 Static:0 Interface:1