HP-OSPF路由协议(多区域)
SW2上的配置:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
hostname "sw2"
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-18,20-24
ip address dhcp-bootp
no untagged 19
exit
vlan 20
name "VLAN20"
ip address 20.1.1.2 255.255.255.0
tagged 5
exit
vlan 40
name "VLAN40"
untagged 19
ip address 40.1.1.1 255.255.255.0
exit
ip router-id 20.1.1.2
router ospf
area 0.0.0.2
area backbone
exit
vlan 20
ip ospf area backbone
exit
vlan 40
ip ospf area 0.0.0.2
exit
转载于:https://blog.51cto.com/zwmy1021/96298