AR1:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]int s2/0/0
[AR1-Serial2/0/0]link-
[AR1-Serial2/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
Dec 31 2022 10:45:13-08:00 AR1 %%01IFNET/4/CHANGE_ENCAP(l)[0]:The user performedthe configuration that will change the encapsulation protocol of the link and t
hen selected Y.
[AR1-Serial2/0/0]ip add 10.1.41.1 24
[AR1-Serial2/0/0]q
[AR1]q
<AR1>saveThe current configuration will be written to the device. Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait.......Configuration file had been saved successfullyNote: The configuration file will take effect after being activated
<AR1>AR2:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]int s2/0/0
[AR2-Serial2/0/0]link
[AR2-Serial2/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
Dec 31 2022 10:46:02-08:00 AR2 %%01IFNET/4/CHANGE_ENCAP(l)[0]:The user performedthe configuration that will change the encapsulation protocol of the link and t
hen selected Y.
[AR2-Serial2/0/0]ip add 10.1.41.2 24
[AR2-Serial2/0/0]q
[AR2]q
<AR2>saveThe current configuration will be written to the device. Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait.......Configuration file had been saved successfullyNote: The configuration file will take effect after being activated
<AR2>