原来是核心交换只和华三路由相连,现根据需要增加一台华为路由做双机。
并使用ospf动态路由协议。
华三简单配置为: 
 
interface LoopBack0
 ip address 172.30.1.11 255.255.255.255
#
interface GigabitEthernet3/0/0
 ip address 192.168.1.1 255.255.255.0
#
 description to_hauwei
 ip address 172.31.253.42 255.255.255.252

 ospf network-type p2p

#
interface GigabitEthernet3/1/0.109   //上行接口
 vlan-type dot1q vid 109  
   ip address 172.31.255.42 255.255.255.252
 ospf network-type p2p
#
interface GigabitEthernet3/1/1
 description to fw
#
interface GigabitEthernet3/1/1.60  //指向交换的接口
 description to fw

 vlan-type dot1q vid 60

 ip address 172.31.59.1 255.255.255.248

 ospf cost 50

#ospf 109 router-id 172.30.1.11

 area 0.0.0.109

  network 172.30.1.11 0.0.0.0

  network 172.31.255.42 0.0.0.0

  network 172.31.253.40 0.0.0.3

  network 172.31.59.1 0.0.0.0
华为路由配置为:
interface GigabitEthernet3/0/0

 description to shangxing  //上行接口
port shaping 8         //流量××× ,定位8M
#interface GigabitEthernet3/0/1

 description to huasan  //连接华三路由的接口
 undo shutdown

 ip address 172.31.253.41 255.255.255.252

 ospf network-type p2p   //ospf网络类型为点对点
interface GigabitEthernet3/0/2.120

vlan-type dot1q 120

 description to FW4120

 ip address 172.33.59.1 255.255.255.248

  interface LoopBack0

 ip address 172.30.2.11 255.255.255.255

#

ospf 109

 area 109

  network  172.30.2.11   <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />0.0.0.0   decription lopback

  network  172.33.59  0.0.0.7 description 6506R

  network  172.31.253.41 0.0.0.3  description sr6608

 
核心交换简单配置:
 
interface Vlan-interface60

 description to huasan // 到华三路由
 ip address 172.31.59.2 255.255.255.248

 ospf cost 50

#

interface Vlan-interface120

 description to huawei //到华为路由
 ip address 172.33.59.2 255.255.255.248

#

interface Vlan-interface300

 ip address 172.27.1.1 255.255.255.0

#
interface GigabitEthernet3/0/1

 port link-type trunk

 undo port trunk permit vlan 1

 port trunk permit vlan 60 120
宣告OSPF配置省略........