只要是使用 Huawei CLI 介面皆可適用
# router id 192.168.255.254 # vlan 101 # vlan 103 # vlan 105 # vlan 255 # interface Vlan-interface101 ip address 192.168.101.254 255.255.255.0 # interface Vlan-interface103 ip address 192.168.103.254 255.255.255.0 # interface Vlan-interface105 ip address 192.168.105.254 255.255.255.0 # interface Vlan-interface255 ip address 192.168.255.254 255.255.255.255 # ospf 1 import-route static default-route-advertise always silent-interface Vlan-interface103 silent-interface Vlan-interface105 area 0.0.0.0 network 192.168.101.0 0.0.0.255 network 192.168.102.0 0.0.0.255 network 192.168.103.0 0.0.0.255 network 192.168.105.0 0.0.0.255 network 192.168.255.254 0.0.0.0 # ip route-static 192.168.102.0 255.255.255.0 192.168.105.1 preference 60 #