用MPLS VPNs 做HSRP举例

发表于:2007-06-23来源:作者:点击数: 标签:
Router PE1 Configuration conf t ! ip cef ! ip vrf vrf1 rd 100:1 route-target export 100:1 route-target import 100:1 ! interface ethernet0 ip vrf forwarding vrf1 ip address 10.2.0.1 255.255.0.0 standby 1 ip 10.2.0.20 standby 1 priority 105

   
  用MPLS VPNs 做HSRP举例


  
  Router PE1 Configuration
  
  
  
  conf t
  !
  ip cef
  !
  ip vrf vrf1
  rd 100:1
  route-target export 100:1
  route-target import 100:1
  !
  interface ethernet0
  ip vrf forwarding vrf1
  ip address 10.2.0.1 255.255.0.0
  standby 1 ip 10.2.0.20
  standby 1 priority 105 preempt delay 10
  standby 1 timers 3 1
  standby 1 track ethernet1 10
  standby 1 track ethernet2 10
  
  
  Router PE2 Configuration
  
  
  
  conf t
  !
  ip cef
  !
  ip vrf vrf1
  rd 100:1
  route-target export 100:1
  route-target import 100:1
  !
  interface ethernet0
  ip vrf forwarding vrf1
  ip address 10.2.0.2 255.255.0.0
  standby 1 ip 10.2.0.20
  standby 1 priority 100 preempt delay 10
  standby 1 timers 3 1
  standby 1 track ethernet1 10
  standby 1 track ethernet2 10

原文转自:http://www.ltesting.net