路由器
1,loopback 路由器的邏輯接口
int loopback 0 配置Loopback接口
作業
所有ping通
R1路由器配置與結果
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn r1
[r1]int loo
[r1]int LoopBack 0
[r1-LoopBack0]ip add 1.1.1.1 32
[r1-LoopBack0]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.10.1 24
Apr 6 2021 13:52:56-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.20.1 24
Apr 6 2021 13:53:32-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]q
[r1]ip ro
[r1]ip route-st
[r1]ip route-static 2.2.2.2 32 192.168.20.2
[r1]ip ro
[r1]ip route-s
[r1]ip route-static 3.3.3.3 24 192.168.10.2
Info: The destination address and mask of the configured static route mismatched
, and the static route 3.3.3.0/24 was generated.
[r1]ip route-static 3.3.3.3 32 192.168.10.2
[r1]ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=20 ms
— 2.2.2.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/20/20 ms
[r1]ping 3.3.3.3
PING 3.3.3.3: 56 data bytes, press CTRL_C to break
Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=255 time=10 ms
Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=255 time=20 ms
— 3.3.3.3 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/18/30 ms
r2路由器配置與結果
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn r2
[r2]int l
[r2]int LoopBack 0
[r2-LoopBack0]ip add 2.2.2.2 32
[r2-LoopBack0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip ad 192.168.20.2 24
Apr 6 2021 13:54:53-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]int g0/0/0
[r2-GigabitEthernet0/0/0]ip ad 192.168.30.1 24
Apr 6 2021 13:55:18-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
sys Enter system view, return user view with Ctrl+Z. [r2]ip ro [r2]ip route-s [r2]ip route-static 1.1.1.1 32 192.168.20.1 [r2]ip ro [r2]ip route-s [r2]ip route-static 3.3.3.3 32 192.168.30.2 [r2] [r2] [r2]ping 1.1.1.1 PING 1.1.1.1: 56 data bytes, press CTRL_C to break Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=60 ms Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=30 ms Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
— 1.1.1.1 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/26/60 ms
[r2]ping 3.3.3.3
PING 3.3.3.3: 56 data bytes, press CTRL_C to break
Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=255 time=30 ms
— 3.3.3.3 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/26/40 ms
[r2]
r3路由器配置與結果
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn r3
[r3]int l
[r3]int LoopBack 0
[r3-LoopBack0]ip ad 3.3.3.3 32
[r3-LoopBack0]int g0/0/0/0
^
Error: Unrecognized command found at ‘^’ position.
[r3-LoopBack0]int g0/0/0
[r3-GigabitEthernet0/0/0]ip ad 192.168.10.2 24
Apr 6 2021 13:57:09-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip ad 192.168.30.2
^
Error:Incomplete command found at ‘^’ position.
[r3-GigabitEthernet0/0/1]ip ad 192.168.30.2 24
Apr 6 2021 13:57:46-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r3-GigabitEthernet0/0/1]
[r3-GigabitEthernet0/0/1]
[r3-GigabitEthernet0/0/1]q
[r3]ip ro
[r3]ip route-s
[r3]ip route-static 1.1.1.1 32 192.168.10.1
[r3]ip ro
[r3]ip route-s
[r3]ip route-static 2.2.2.2 32 192.168.30.1
[r3]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=80 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
— 1.1.1.1 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/80 ms
[r3]ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=50 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=20 ms
— 2.2.2.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/26/50 ms
[r3]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
2, 在路由器中ping -a 原IP 目标IP
故障排查
分層排查 :從實體層檢查,檢視端口狀态來排除接口,線纜等問題
:檢視IP位址和路由等配置是否正确
分段檢查:将網絡劃分為多個小段,逐段排錯
VLAN技術
1,VLAN 是虛拟區域網路,可以分割廣播域,通過邏輯分割
2, VLAN 優勢:控制廣播域,增強網絡安全性,簡化網絡管理
3, VLAN 分為靜态和動态,靜态VLAN 是基于端口進行劃分
動态VLAN是基于MAC 位址進行劃分
4,VLAN範圍分為1—4094
5,建立VLAN常用指令
vlan 10
Dis vlan 檢視VLAN
VLAN batch 30 40 建立兩個
Vlan batch 1 to 15 建立1-15個
Prot link-type access 連接配接主機和路由器用acess
Port default vlan 10 把1接口設定VLAN10
Dis port vlan 檢視所有接口的模式和對應的vlan
Undo batch 1 to 15 删除1-15
Undo port defaut vlan 删除
Undo port link-type 删除類型
Port-group caiwu 将接口起名為caiwu也可以是1-30的數字
Group3- member e0/0/0 e0/0/1
Port l a
P d v 10
6,交換機的三種接口模式
access
trunk
hybrid(預設)
7,runk作用
隻使用一條線路實作
中繼鍊路和接傳入連結路
Port link-type trunk 進入接口,和另外一個交換機連接配接的接口,配置trunk模式
Port trunk allow-pass vlan all 放通
8,VLAN辨別
标準IEEE802.1q
TPID 辨別
Proiority 優先級
CFI
9, VLAN交換機的通信過程
10.單臂路由
dot1q termination vid 10 在0.1上配置
Arp broadcast enble 放空廣播
作業
答:
交換機配置
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn sw1
an b
[sw1]vlan batch 10 20 30
Info: This operation may take a few seconds. Please wait for a moment…done.
[sw1]dis vlan
1 common UT:Eth0/0/1(U) Eth0/0/2(U) Eth0/0/3(U) Eth0/0/4(U)
Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D) Eth0/0/8(D)
Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D) Eth0/0/12(D)
Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D) Eth0/0/16(D)
Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D) Eth0/0/20(D)
Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D) GE0/0/2(D)
10 common
20 common
30 common
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010
20 enable default enable disable VLAN 0020
30 enable default enable disable VLAN 0030
[sw1]int e0/0/2
[sw1-Ethernet0/0/2]p l a
[sw1-Ethernet0/0/2]
Apr 6 2021 14:37:54-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-Ethernet0/0/2]
[sw1-Ethernet0/0/2]p d v 10
[sw1-Ethernet0/0/2]int
[sw1-Ethernet0/0/2]
[sw1-Ethernet0/0/2]
[sw1-Ethernet0/0/2]int e0/0/3
[sw1-Ethernet0/0/3]p l a
[sw1-Ethernet0/0/3]
Apr 6 2021 14:38:34-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 8, the c
hange loop count is 0, and the maximum number of records is 4095.p
Error: The interface is already a L2 interface.
[sw1-Ethernet0/0/3]
[sw1-Ethernet0/0/3]p d v 20
[sw1-Ethernet0/0/3]int e0/0/4
[sw1-Ethernet0/0/4]p l a
Error: The interface is already a L2 interface.
[sw1-Ethernet0/0/4]p d v 30
[sw1-Ethernet0/0/4]
[sw1-Ethernet0/0/4]int e0/0/1
[sw1-Ethernet0/0/1]p l t
[sw1-Ethernet0/0/1]
hernet0/0/1]p t a v a
[sw1-Ethernet0/0/1]dis vlan
1 common UT:Eth0/0/1(U) Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D)
Eth0/0/8(D) Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D)
Eth0/0/12(D) Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D)
Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D)
Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D)
GE0/0/2(D)
10 common UT:Eth0/0/2(U)
TG:Eth0/0/1(U)
20 common UT:Eth0/0/3(U)
TG:Eth0/0/1(U)
30 common UT:Eth0/0/4(U)
TG:Eth0/0/1(U)
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010
20 enable default enable disable VLAN 0020
30 enable default enable disable VLAN 0030
[sw1-Ethernet0/0/1] User interface con0 is available
[sw1]dis p
[sw1]dis port vl
Ethernet0/0/1 trunk 1 1-4094
Ethernet0/0/2 access 10 -
Ethernet0/0/3 access 20 -
Ethernet0/0/4 access 30 -
路由器配置
sys Enter system view, return user view with Ctrl+Z. [Huawei]sysnr1 ^ Error: Unrecognized command found at '^' position. [Huawei]sysn r1 [r1]int g0/0/0.1 [r1-GigabitEthernet0/0/0.1]ip add 192.168.1.2 24 [r1-GigabitEthernet0/0/0.1]ot1 [r1-GigabitEthernet0/0/0.1]do [r1-GigabitEthernet0/0/0.1]dot1q t v 10 . [r1-GigabitEthernet0/0/0.1]a b e [r1-GigabitEthernet0/0/0.1]int g0/0/0.2 [r1-GigabitEthernet0/0/0.2]ip ad 192.168.2.2 24 [r1-GigabitEthernet0/0/0.2]do
[r1-GigabitEthernet0/0/0.2]do
[r1-GigabitEthernet0/0/0.2]dot1q t v 20
[r1-GigabitEthernet0/0/0.2]a b e
[r1-GigabitEthernet0/0/0.2]int g0/0/0.3
[r1-GigabitEthernet0/0/0.3]ip ad 192.168.3.2 24
[r1-GigabitEthernet0/0/0.3]do
[r1-GigabitEthernet0/0/0.3]dot1q t v 30
Apr 6 2021 14:47:53-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0.3 has entered the UP state.
[r1-GigabitEthernet0/0/0.3]a b e
[r1-GigabitEthernet0/0/0.3]dis this
[r1-GigabitEthernet0/0/0.3]d
[r1-GigabitEthernet0/0/0.3]dot
[r1-GigabitEthernet0/0/0.3]dot1q ter
[r1-GigabitEthernet0/0/0.3]dot1q termination vlan 30
^
[r1]int g0/0/0.1
[r1-GigabitEthernet0/0/0.1]ip add 192.168.1.254 24
[r1-GigabitEthernet0/0/0.1]int g0/0/0.2
[r1-GigabitEthernet0/0/0.2]ip add 192.168.2.254 24
[r1-GigabitEthernet0/0/0.2]int g0/0/0.3
[r1-GigabitEthernet0/0/0.3]ip add 192.168.3.254 24
pc1 通pc2和pc3
pc2 通pc1和pc3
pc3 通pc1和pc2
作業
答:
交換機sw1配置參數
The device is running!
Apr 6 2021 15:27:03-08:00 Huawei %%01PHY/1/PHY(l)[0]: Ethernet0/0/5: change status to up sys Enter system view, return user view with Ctrl+Z. [Huawei]sysn sw1
[sw1]
[sw1]vlan b
[sw1]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment…done.
[sw1]int e0/0/1
[sw1-Ethernet0/0/1]p l a
[sw1-Ethernet0/0/1]p d v 10
[sw1-Ethernet0/0/1]
[sw1-Ethernet0/0/1]
[sw1-Ethernet0/0/1]int e
Error: Unrecognized command found at ‘^’ position.
[sw1-Ethernet0/0/1]int e0/0/2
[sw1-Ethernet0/0/2]p l a
[sw1-Ethernet0/0/2]p d v 20
[sw1-Ethernet0/0/2]
[sw1-Ethernet0/0/2]
[sw1-Ethernet0/0/2]int g0/0/2
[sw1-GigabitEthernet0/0/2]int e0/0/3
[sw1-Ethernet0/0/3]p l a
[sw1-Ethernet0/0/3]p
Error: The interface is already a L2 interface.
[sw1-Ethernet0/0/3]p d v 10
[sw1-Ethernet0/0/3]int e0/0/4
[sw1-Ethernet0/0/4]p l t
[sw1-Ethernet0/0/4]dis vlan
1 common UT:Eth0/0/4(U) Eth0/0/5(U) Eth0/0/6(D) Eth0/0/7(D)
Eth0/0/8(D) Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D)
Eth0/0/12(D) Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D)
Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D)
Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D)
GE0/0/2(D)
10 common UT:Eth0/0/1(U) Eth0/0/3(U)
20 common UT:Eth0/0/2(U)
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010
20 enable default enable disable VLAN 0020
[sw1-Ethernet0/0/4]q
[sw1]dis po
[sw1]dis policy-vlan
^
Error:Incomplete command found at ‘^’ position.
[sw1]dis por
[sw1]dis port v
Ethernet0/0/1 access 10 -
Ethernet0/0/2 access 20 -
Ethernet0/0/3 access 10 -
Ethernet0/0/4 trunk 1 1
[sw1]int e0/0/4
[sw1-Ethernet0/0/4]p t a v a
sys
Enter system view, return user view with Ctrl+Z.
[sw1]int e0/0/5
.
[sw1-Ethernet0/0/5]p l a
[sw1-Ethernet0/0/5]p d v 20
交換機sw2配置
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn sw2
[sw2]vlan b
[sw2]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment…done.
[sw2]int e0/0/1
[sw2-Ethernet0/0/1]p l t
[sw2-Ethernet0/0/1]int e0/0/2
[sw2-Ethernet0/0/2]
[sw2-Ethernet0/0/2]p l a
[sw2-Ethernet0/0/2]
[sw2-Ethernet0/0/2]p d v 20
[sw2-Ethernet0/0/2]int e0/0
[sw2-Ethernet0/0/3]p l a
[sw2-Ethernet0/0/3]p d v 10
[sw2-Ethernet0/0/3]p d v 10
[sw2-Ethernet0/0/3]
Apr 6 2021 15:36:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 10, the
change loop count is 0, and the maximum number of records is 4095.
[sw2-Ethernet0/0/3]
[sw2-Ethernet0/0/3]dis vlan
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
1 common UT:Eth0/0/1(U) Eth0/0/4(D) Eth0/0/5(D) Eth0/0/6(D)
Eth0/0/7(D) Eth0/0/8(D) Eth0/0/9(D) Eth0/0/10(D)
Eth0/0/11(D) Eth0/0/12(D) Eth0/0/13(D) Eth0/0/14(D)
Eth0/0/15(D) Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D)
Eth0/0/19(D) Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(D)
GE0/0/1(D) GE0/0/2(D)
10 common UT:Eth0/0/3(U)
20 common UT:Eth0/0/2(U)
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010
20 enable default enable disable VLAN 0020
[sw2-Ethernet0/0/3]dis por
[sw2-Ethernet0/0/3]dis port v
Ethernet0/0/1 trunk 1 1
Ethernet0/0/2 access 20 -
Ethernet0/0/3 access 10 -
[sw2-Ethernet0/0/3]
[sw2-Ethernet0/0/3]int e0/0/1
[sw2-Ethernet0/0/1]p t a v a
[sw2-Ethernet0/0/1]
路由器r1配置
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn r1
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.2.254
^
Error:Incomplete command found at ‘^’ position.
[r1-GigabitEthernet0/0/0]ip add 192.168.2.254 24
Apr 6 2021 15:47:48-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]a b e
^
Error: Unrecognized command found at ‘^’ position.
[r1-GigabitEthernet0/0/0]d t v 20
Info: VRF 20 does not exist.
[r1-GigabitEthernet0/0/0]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip add 10.0.0.1 8
Apr 6 2021 15:50:48-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]q
[r1]ip ro
[r1]ip route
[r1]ip route-static 192.168.10.0 24 10.0.0.2
路由器r2配置
The device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn r2
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.10.254
^
Error:Incomplete command found at ‘^’ position.
[r2-GigabitEthernet0/0/1]ip add 192.168.10.254 24
[r2-GigabitEthernet0/0/1]
Apr 6 2021 15:52:55-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]int e0/0/0
[r2-Ethernet0/0/0]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 10.0.0.2 8
Apr 6 2021 15:53:58-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]q
[r2]ip ro
[r2]ip route
[r2]ip route-static192.168.2.0 24 10.0.0.1
^
Error: Unrecognized command found at ‘^’ position.
[r2]ip ro
[r2]ip route
[r2]ip route-static 192.168.2.0 24 10.0.0.1
[r2]