华为实验手册1(11)
发布时间:2021-06-08
发布时间:2021-06-08
[Switch B]interface vlan-interface 6 [Switch B-Vlan-interface6]ip address 10.1.6.1 255.255.255.0
[Switch B]interface vlan-interface 4 [Switch B-Vlan-interface4]ip address 10.1.4.2 255.255.255.0
1.5.3 配置静态路由
1. 配置RTA
[Switch A]ip route-static 10.1.5.0 255.255.255.0 10.1.4.2 [Switch A]ip route-static 10.1.6.0 255.255.255.0 10.1.4.2
2. 配置RTB
[Switch B]ip route-static 10.1.2.0 255.255.255.0 10.1.4.1 [Switch B]ip route-static 10.1.3.0 255.255.255.0 10.1.4.1