1、拓扑图
2、配置IP
R1
1 Please press enter to start cmd line! 2 ############ 3 <Huawei> 4 Dec 10 2017 14:59:09-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt 5 hernet0/0/0 has turned into UP state. 6 <Huawei> 7 Dec 10 2017 14:59:12-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface Serial2/0 8 /0 has turned into UP state. 9 <Huawei> 10 Dec 10 2017 14:59:15-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol 11 PPP on the interface Serial2/0/0 has entered the UP state. 12 <Huawei>sys 13 Enter system view, return user view with Ctrl+Z. 14 [Huawei]sysname R1 15 [R1]int g0/0/0 16 [R1-GigabitEthernet0/0/0]ip add 12.1.1.1 24 17 Dec 10 2017 15:00:43-08:00 R1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP 18 on the interface GigabitEthernet0/0/0 has entered the UP state. 19 [R1-GigabitEthernet0/0/0]q 20 [R1]int s 21 [R1]int Serial 1 22 [R1]int Serial 1 23 ^ 24 Error: Wrong parameter found at '^' position. 25 [R1]int Serial 26 [R1]int Serial ? 27 <2-2> Serial interface slot number 28 [R1]int Serial 2 29 ^ 30 Error: Wrong parameter found at '^' position. 31 [R1]int Serial 2/0/0 32 [R1-Serial2/0/0]ip add 11.1.1.1 24 33 [R1-Serial2/0/0]q 34 [R1] 35 Dec 10 2017 15:03:52-08:00 R1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol PPP 36 IPCP on the interface Serial2/0/0 has entered the UP state. 37 [R1]dis ip int 38 [R1]dis ip interface bri 39 *down: administratively down 40 ^down: standby 41 (l): loopback 42 (s): spoofing 43 The number of interface that is UP in Physical is 3 44 The number of interface that is DOWN in Physical is 2 45 The number of interface that is UP in Protocol is 3 46 The number of interface that is DOWN in Protocol is 2 47 48 Interface IP Address/Mask Physical Protocol 49 GigabitEthernet0/0/0 12.1.1.1/24 up up 50 GigabitEthernet0/0/1 unassigned down down 51 NULL0 unassigned up up(s) 52 Serial2/0/0 11.1.1.1/24 up up 53 Serial2/0/1 unassigned down down 54 [R1]