需要一个骨干链路、一个环回汇总和一个虚拟局域网汇总。所以需要划分三个网段,借两位。
一个骨干链路需要六个网段,需要借四位。
三个环回,需要借两位。
两个虚拟局域网借一位。
The device is running!
<Huawei>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.0.1 30
Nov 22 2020 16:16:20-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.0.22 30
Nov 22 2020 16:46:25-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]q
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip address 192.168.0.65 28
[Huawei-LoopBack0]q
[Huawei]interface LoopBack 1
[Huawei-LoopBack1]ip add 192.168.0.81 28
[Huawei-LoopBack1]q
[Huawei]interface LoopBack 2
[Huawei-LoopBack2]ip address 192.168.0.97 28
[Huawei-LoopBack2]q
[Huawei]
[Huawei]ip route-static 192.168.0.4 30 192.168.0.2
[Huawei]ip route-static 192.168.0.8 30 192.168.0.2
[Huawei]ip route-static 192.168.0.12 30 192.168.0.2
[Huawei]ip route-static 192.168.0.16 30 192.168.0.2
[Huawei]ip route-static 192.168.0.128 26 192.168.0.2
[Huawei]ip route-static 192.168.0.128 26 192.168.0.21
[Huawei]ip route-static 192.168.0.16 30 192.168.0.21
[Huawei]ip route-static 192.168.0.12 30 192.168.0.21
[Huawei]ip route-static 192.168.0.8 30 192.168.0.21
[Huawei]ip route-static 192.168.0.4 30 192.168.0.21
[Huawei]
[Huawei]ip route-static 192.168.0.64 26 NULL 0
[Huawei]
[Huawei]ip route-static 0.0.0.0 0 192.168.0.2
[Huawei]ip route-static 0.0.0.0 0 192.168.0.21
[Huawei]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>
<Huawei>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file,
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.0.2 30
Nov 22 2020 16:31:34-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.0.5 30
Nov 22 2020 16:32:22-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-Gigab
本文发布于:2024-02-02 13:51:14,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170685307244227.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |