2021-05-24

 

 

R1

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r1

[r1]intefa

[r1]intefag

[r1]inte

[r1]interface g

[r1]interface GigabitEthernet 0/0/1

[r1-GigabitEthernet0/0/1]ip add

[r1-GigabitEthernet0/0/1]ip address 192.168.1.1 255.255.255.0

May 20 2021 14:47:21-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r1-GigabitEthernet0/0/1]dhc

[r1-GigabitEthernet0/0/1]dhcp se

[r1-GigabitEthernet0/0/1]dhcp select g

[r1-GigabitEthernet0/0/1]dhcp select global

Error: Please enable DHCP in the global view first.

[r1-GigabitEthernet0/0/1]q

[r1]dh

[r1]dhcp EN

[r1]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done.

[r1]INTERF

[r1]interface G

[r1]interface GigabitEthernet 0/0/1

[r1-GigabitEthernet0/0/1]DECP

[r1-GigabitEthernet0/0/1]DECP

[r1-GigabitEthernet0/0/1]DECP se

[r1-GigabitEthernet0/0/1]DHC

[r1-GigabitEthernet0/0/1]dhcp SE

[r1-GigabitEthernet0/0/1]dhcp select G

[r1-GigabitEthernet0/0/1]dhcp select global

[r1-GigabitEthernet0/0/1]Q

[r1]ip poo

[r1]ip pool caomi

Info: It's successful to create an IP address pool.

[r1-ip-pool-caomi]gat

[r1-ip-pool-caomi]gateway-list 192.168.1.1

[r1-ip-pool-caomi]netw

[r1-ip-pool-caomi]network 192.168.1.0 mask 255.255.255.0

[r1-ip-pool-caomi]dns

[r1-ip-pool-caomi]dns-list 8.8.8.8

[r1-ip-pool-caomi]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]interf

[r1]interface ser

[r1]interface Serial 4/0/0

[r1-Serial4/0/0]ip add

[r1-Serial4/0/0]ip address 15.1.1.1 255.255.255.252

[r1-Serial4/0/0]link

[r1-Serial4/0/0]link-protocol pp

[r1-Serial4/0/0]link-protocol ppp

[r1-Serial4/0/0]ppp aut

[r1-Serial4/0/0]ppp authentication-mode pap

[r1-Serial4/0/0]ppp pap loc

[r1-Serial4/0/0]ppp pap local-user caomi paass

[r1-Serial4/0/0]ppp pap local-user caomi pass

[r1-Serial4/0/0]ppp pap local-user caomi password cih

[r1-Serial4/0/0]ppp pap local-user caomi password chi

[r1-Serial4/0/0]ppp pap local-user caomi password cip

[r1-Serial4/0/0]ppp pap local-user caomi password cipher 123

[r1-Serial4/0/0]q

[r1]interf

[r1]interface tun

[r1]interface Tunnel 0/0/0

[r1-Tunnel0/0/0]ip add

[r1-Tunnel0/0/0]ip address 10.1.1.1 255.255.255.0

[r1-Tunnel0/0/0]un

[r1-Tunnel0/0/0]undo rip s

[r1-Tunnel0/0/0]undo rip split-horizon

[r1-Tunnel0/0/0]tun

[r1-Tunnel0/0/0]tunnel-protocol gr

[r1-Tunnel0/0/0]tunnel-protocol gre p

[r1-Tunnel0/0/0]tunnel-protocol gre p2mp

[r1-Tunnel0/0/0]sou

[r1-Tunnel0/0/0]source 15.1.1.1

[r1-Tunnel0/0/0]nhr

[r1-Tunnel0/0/0]nhrp ent

[r1-Tunnel0/0/0]nhrp entry mu

[r1-Tunnel0/0/0]nhrp entry multicast dy

[r1-Tunnel0/0/0]nhrp entry multicast dynamic

[r1-Tunnel0/0/0]nh

[r1-Tunnel0/0/0]nhrp ne

[r1-Tunnel0/0/0]nhrp network-id  100

[r1-Tunnel0/0/0]q

[r1]tun

[r1]tunnel 0/0/1

           ^

Error: Unrecognized command found at '^' position.

[r1]interf

[r1]interface tun

[r1]interface Tunnel 0/0/1

[r1-Tunnel0/0/1]ip add

[r1-Tunnel0/0/1]ip address 100.1.1.1 24

[r1-Tunnel0/0/1]tun

[r1-Tunnel0/0/1]tunnel-protocol gr

[r1-Tunnel0/0/1]tunnel-protocol gre

[r1-Tunnel0/0/1]sour

[r1-Tunnel0/0/1]source 15.1.1.1

[r1-Tunnel0/0/1]dest

[r1-Tunnel0/0/1]destination 45.1.1.1

[r1-Tunnel0/0/1]q

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 0.0.0.0 0.0.0.0 ser

[r1]ip route-static 0.0.0.0 0.0.0.0 Serial 4/0/0

[r1]rip

[r1-rip-1]ver

[r1-rip-1]versi

[r1-rip-1]version 2

[r1-rip-1]undo su

[r1-rip-1]undo summary

[r1-rip-1]netw

[r1-rip-1]network 192.168.1.0

[r1-rip-1]netw

[r1-rip-1]network 10.0.0.0

[r1-rip-1]netw

[r1-rip-1]network 100.0.0.0

[r1-rip-1]slit

[r1-rip-1]sli

[r1-rip-1]sil

[r1-rip-1]silent-interface g

[r1-rip-1]silent-interface GigabitEthernet 0/0/1

[r1-rip-1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]acl 2000

[r1-acl-basic-2000]ru

[r1-acl-basic-2000]rule 0 PERM

[r1-acl-basic-2000]rule 0 permit sou

[r1-acl-basic-2000]rule 0 permit source 192.168.1.0 0.0.0.2555

                                                    ^

Error: Wrong parameter found at '^' position.

[r1-acl-basic-2000]rule 0 permit source 192.168.1.0 0.0.0.255

[r1-acl-basic-2000]q

[r1]interf

[r1]interface g

[r1]interface ser

[r1]interface Serial 4/0/0

[r1-Serial4/0/0]out

[r1-Serial4/0/0]nat out

[r1-Serial4/0/0]nat outbound 2000

[r1-Serial4/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

 

<r1>ping 15.1.1.2

  PING 15.1.1.2: 56  data bytes, press CTRL_C to break

    Reply from 15.1.1.2: bytes=56 Sequence=1 ttl=255 time=20 ms

    Reply from 15.1.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms

    Reply from 15.1.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms

    Reply from 15.1.1.2: bytes=56 Sequence=4 ttl=255 time=10 ms

    Reply from 15.1.1.2: bytes=56 Sequence=5 ttl=255 time=40 ms

 

  --- 15.1.1.2 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 10/26/40 ms

 

<r1>ping 10.1.1.3

  PING 10.1.1.3: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 10.1.1.3 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

<r1>ping 100.1.1.2

  PING 100.1.1.2: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 100.1.1.2 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

<r1>ping 45.1.1.1

  PING 45.1.1.1: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 45.1.1.1 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

<r1>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

 

R3

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r3

[r3]dhcp se

[r3]dhcp server

                ^

Error:Incomplete command found at '^' position.

[r3]dhcp sele

[r3]interf

[r3]interface g

[r3]interface GigabitEthernet 0/0/1

[r3-GigabitEthernet0/0/1]ip add

[r3-GigabitEthernet0/0/1]ip address 192.168.3.1 24

May 20 2021 14:54:57-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r3-GigabitEthernet0/0/1]q

[r3]dhc

[r3]dhcp en

[r3]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done.

[r3]interf

[r3]interface g

[r3]interface GigabitEthernet 0/0/1

[r3-GigabitEthernet0/0/1]dhcp

[r3-GigabitEthernet0/0/1]dhcp se

[r3-GigabitEthernet0/0/1]dhcp select g

[r3-GigabitEthernet0/0/1]dhcp select global

[r3-GigabitEthernet0/0/1]q

[r3]ip poo

[r3]ip pool caomi

Info: It's successful to create an IP address pool.

[r3-ip-pool-caomi]gatw

[r3-ip-pool-caomi]gatw

[r3-ip-pool-caomi]gate

[r3-ip-pool-caomi]gateway-list 192.168.3.1

[r3-ip-pool-caomi]netw

[r3-ip-pool-caomi]network 192.168.3.0 ma

[r3-ip-pool-caomi]network 192.168.3.0 mask 255.255.255.0

[r3-ip-pool-caomi]des

[r3-ip-pool-caomi]dns

[r3-ip-pool-caomi]dns-list 8.8.8.8

[r3-ip-pool-caomi]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r3>sys

Enter system view, return user view with Ctrl+Z.

[r3]interf

           ^

Error:Incomplete command found at '^' position.

[r3]interf

[r3]interface ser

[r3]interface Serial 4/0/0

[r3-Serial4/0/0]ip add

[r3-Serial4/0/0]ip address 35.1.1.1 24

[r3-Serial4/0/0]q

[r3]interf

[r3]interface tun

[r3]interface Tunnel 0

                     ^

Error: Wrong parameter found at '^' position.

[r3]interface Tunnel 0/0/0

[r3-Tunnel0/0/0]ip add

[r3-Tunnel0/0/0]ip address 10.1.1.3

                                    ^

Error:Incomplete command found at '^' position.

[r3-Tunnel0/0/0]ip address 10.1.1.3 24

[r3-Tunnel0/0/0]tun

[r3-Tunnel0/0/0]tunnel-protocol gr

[r3-Tunnel0/0/0]tunnel-protocol gre m

[r3-Tunnel0/0/0]tunnel-protocol gre g

[r3-Tunnel0/0/0]tunnel-protocol gre m

[r3-Tunnel0/0/0]tunnel-protocol gre p

[r3-Tunnel0/0/0]tunnel-protocol gre p2mp

[r3-Tunnel0/0/0]ppp mo

[r3-Tunnel0/0/0]sou

[r3-Tunnel0/0/0]source ser

[r3-Tunnel0/0/0]source Serial 4/0/0

[r3-Tunnel0/0/0]nh

[r3-Tunnel0/0/0]nhrp en

[r3-Tunnel0/0/0]nhrp entry 10.1.1.1 15.1.1.1 er

[r3-Tunnel0/0/0]nhrp entry 10.1.1.1 15.1.1.1 re

[r3-Tunnel0/0/0]nhrp entry 10.1.1.1 15.1.1.1 register

[r3-Tunnel0/0/0]q

[r3]interf

[r3]interface sr

[r3]interface ser

[r3]interface Serial 4/0/0

[r3-Serial4/0/0]lik

[r3-Serial4/0/0]lin

[r3-Serial4/0/0]link-protocol hd

[r3-Serial4/0/0]link-protocol hdlc

Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]

:y

May 20 2021 16:02:29-08:00 r3 %%01IFNET/4/CHANGE_ENCAP(l)[0]:The user performed

the configuration that will change the encapsulation protocol of the link and th

en selected Y.

[r3-Serial4/0/0]

[r3-Serial4/0/0]

May 20 2021 16:02:29-08:00 r3 %%01PPP/4/PHYSICALDOWN(l)[1]:On the interface Seri

al4/0/0, PPP link was closed because the status of the physical layer was Down.

 

[r3-Serial4/0/0]

May 20 2021 16:02:29-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol PPP

 on the interface Serial4/0/0 has entered the DOWN state.

[r3-Serial4/0/0]

May 20 2021 16:02:29-08:00 r3 %%01IFPDT/4/IF_STATE(l)[3]:Interface Serial4/0/0 h

as turned into DOWN state.

[r3-Serial4/0/0]

May 20 2021 16:02:30-08:00 r3 %%01IFPDT/4/IF_STATE(l)[4]:Interface Serial4/0/0 h

as turned into UP state.

[r3-Serial4/0/0]

May 20 2021 16:02:30-08:00 r3 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP

on the interface Serial4/0/0 has entered the UP state.

[r3-Serial4/0/0]

May 20 2021 16:02:30-08:00 r3 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IP

on the interface Tunnel0/0/0 has entered the UP state.

[r3-Serial4/0/0]ip add

[r3-Serial4/0/0]ip address 35.1.1.1 24

Error: The address already exists.

[r3-Serial4/0/0]ip address 35.1.1.1 255.2

May 20 2021 16:03:30-08:00 r3 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol IP

on the interface Serial4/0/0 has entered the DOWN state.

[r3-Serial4/0/0]ip address 35.1.1.1 255.2

May 20 2021 16:03:30-08:00 r3 %%01IFNET/4/LINK_STATE(l)[8]:The line protocol IP

on the interface Tunnel0/0/0 has entered the DOWN state.

[r3-Serial4/0/0]ip address 35.1.1.1 255.255.255.252

[r3-Serial4/0/0]q

[r3]ip rout

[r3]ip route-s

[r3]ip route-static 0.0.0.0 0.0.0.0 ser

[r3]ip route-static 0.0.0.0 0.0.0.0 Serial 4/0/0

[r3]rip

[r3-rip-1]

[r3-rip-1]vers

[r3-rip-1]version 2

[r3-rip-1]netw

[r3-rip-1]network 10.0.0.0

[r3-rip-1]netw

[r3-rip-1]network 192.168.3.0

[r3-rip-1]q

[r3]acl 2000

[r3-acl-basic-2000]ru

[r3-acl-basic-2000]rule 0 per

[r3-acl-basic-2000]rule 0 permit sou

[r3-acl-basic-2000]rule 0 permit source 192.168.3.0 0.0.0.255

[r3-acl-basic-2000]q

[r3]interf

[r3]interface ser

[r3]interface Serial 4/0/0

[r3-Serial4/0/0]nat out

[r3-Serial4/0/0]nat outbound 2000

[r3-Serial4/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

 

 

 

R5

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r5

[r5]interf

[r5]interface l

[r5]interface LoopBack 0

[r5-LoopBack0]ip add

[r5-LoopBack0]ip address 5.5.5.5 24

[r5-LoopBack0]q

[r5]aaa

[r5-aaa]loc

[r5-aaa]local-user caomi pass

[r5-aaa]local-user caomi password ci

[r5-aaa]local-user caomi password cipher 123

Info: Add a new user.

[r5-aaa]loc

[r5-aaa]local-user t

[r5-aaa]local-user se

[r5-aaa]local-user ser

[r5-aaa]local-user caomi ser

[r5-aaa]local-user caomi service-type ppp

[r5-aaa]q

[r5]interf

[r5]interface ser

[r5]interface Serial 3/0/0

[r5-Serial3/0/0]l

[r5-Serial3/0/0]link

[r5-Serial3/0/0]link-protocol ppp

[r5-Serial3/0/0]link-protocol ppp

[r5-Serial3/0/0]ppp au

[r5-Serial3/0/0]ppp authentication-mode pa

[r5-Serial3/0/0]ppp authentication-mode pap

[r5-Serial3/0/0]ppp pap l

[r5-Serial3/0/0]ppp pap local-user caomi pass

[r5-Serial3/0/0]ppp pap local-user caomi password ci

[r5-Serial3/0/0]ppp pap local-user caomi password cipher 123

[r5-Serial3/0/0]ip add

[r5-Serial3/0/0]ip address 15.1.1.2 24

[r5-Serial3/0/0]

May 20 2021 16:15:27-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol PPP

 IPCP on the interface Serial3/0/0 has entered the UP state.

[r5-Serial3/0/0]q

[r5]inter

[r5]interface sre

[r5]interface sre

[r5]interface ser

[r5]interface Serial 3/0/0

[r5-Serial3/0/0]l

[r5-Serial3/0/0]link

[r5-Serial3/0/0]link-protocol ppp

[r5-Serial3/0/0]link-protocol ppp

[r5-Serial3/0/0]ppp au

[r5-Serial3/0/0]ppp authentication-mode chap

[r5-Serial3/0/0]ppp chap u

[r5-Serial3/0/0]ppp chap user caomi paa

[r5-Serial3/0/0]ppp chap user caomi pass

[r5-Serial3/0/0]ppp chap user caomi

[r5-Serial3/0/0]ppp chap pass

[r5-Serial3/0/0]ppp chap password ci

[r5-Serial3/0/0]ppp chap password cipher 123

[r5-Serial3/0/0]ip add

[r5-Serial3/0/0]q

[r5]interf

[r5]interface ser

[r5]interface Serial 4/0/0

[r5-Serial4/0/0]ip ad

[r5-Serial4/0/0]ip address 25.1.1.2 24

[r5-Serial4/0/0]

May 20 2021 16:17:50-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol PPP

 IPCP on the interface Serial4/0/0 has entered the UP state.

[r5-Serial4/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

 

<r5>sys

Enter system view, return user view with Ctrl+Z.

[r5]rip

[r5-rip-1]ves

[r5-rip-1]versio

[r5-rip-1]version 2

[r5-rip-1]undo

[r5-rip-1]undo su

[r5-rip-1]undo summary

[r5-rip-1]netw

[r5-rip-1]network 100.1.1.1 24

                            ^

Error:Too many parameters found at '^' position.

[r5-rip-1]network 100.1.1.1 255.255.255.0

                            ^

Error:Too many parameters found at '^' position.

[r5-rip-1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值