BGPConfig.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <BGPConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="BGP.xsd">
  4. <TimerParams>
  5. <connectRetryTime> 120 </connectRetryTime>
  6. <holdTime> 180 </holdTime>
  7. <keepAliveTime> 60 </keepAliveTime>
  8. <startDelay> 15 </startDelay>
  9. </TimerParams>
  10. <AS id="65111">
  11. <Router interAddr="10.10.12.1"/> <!--router A-->
  12. <!-- DenyRoute: deny route in IN and OUT traffic -->
  13. <!-- DenyRouteIN : deny route in IN traffic -->
  14. <!-- DenyRouteOUT: deny route in OUT traffic -->
  15. <!-- DenyAS: deny routes learned by AS in IN and OUT traffic -->
  16. <!-- DenyASIN : deny routes learned by AS in IN traffic -->
  17. <!-- DenyASOUT: deny routes learned by AS in OUT traffic -->
  18. <DenyRouteIN Address="192.172.0.0" Netmask="255.255.0.0"/>
  19. </AS>
  20. <AS id="65222">
  21. <Router interAddr="10.20.3.2"/> <!--router B-->
  22. <DenyRouteOUT Address="192.171.0.0" Netmask="255.255.0.0"/>
  23. </AS>
  24. <AS id="65333">
  25. <Router interAddr="10.30.3.2"/> <!--router C-->
  26. </AS>
  27. <Session id="1">
  28. <Router exterAddr= "10.10.10.2"/>
  29. <Router exterAddr= "10.10.10.1"/>
  30. </Session>
  31. <Session id="2">
  32. <Router exterAddr= "10.10.12.2"/>
  33. <Router exterAddr= "10.10.12.1"/>
  34. </Session>
  35. <Session id="3">
  36. <Router exterAddr= "10.10.11.2"/>
  37. <Router exterAddr= "10.10.11.1"/>
  38. </Session>
  39. </BGPConfig>