HP 5500 EI series Configuration Manual page 288

Hide thumbs Also See for 5500 EI series:
Table of Contents

Advertisement

[RouterA-acl-basic-2000] quit
# Create two route policies, apply_med_50 and apply_med_100. Policy apply_med_50 sets the
MED for route 1.1.1.0/24 to 50. Policy apply_med_100 sets that to 100.
[RouterA] route-policy apply_med_50 permit node 10
[RouterA-route-policy-apply_med_50-10] if-match ip address acl 2000
[RouterA-route-policy-apply_med_50-10] apply cost 50
[RouterA-route-policy-apply_med_50-10] quit
[RouterA] route-policy apply_med_100 permit node 10
[RouterA-route-policy-apply_med_100-10] if-match ip address acl 2000
[RouterA-route-policy-apply_med_100-10] apply cost 100
[RouterA-route-policy-apply_med_100-10] quit
# Apply routing policy apply_med_50 to routes outgoing to peer 3.0.2.2, and apply routing
policy apply_med_100 to routes outgoing to peer 2.0.2.2.
[RouterA] bgp 200
[RouterA-bgp] address-family ipv4 unicast
[RouterA-bgp-ipv4] peer 3.0.2.2 route-policy apply_med_50 export
[RouterA-bgp-ipv4] peer 2.0.2.2 route-policy apply_med_100 export
[RouterA-bgp-ipv4] quit
# Enable BFD for peer 3.0.2.2.
[RouterA-bgp] peer 3.0.2.2 bfd
[RouterA-bgp] quit
4.
Configure BGP on Router C:
# Establish two IBGP connections to Router A.
<RouterC> system-view
[RouterC] bgp 200
[RouterC-bgp] peer 3.0.1.1 as-number 200
[RouterC-bgp] peer 2.0.1.1 as-number 200
[RouterC-bgp] address-family ipv4 unicast
[RouterC-bgp-ipv4] peer 3.0.1.1 enable
[RouterC-bgp-ipv4] peer 2.0.1.1 enable
[RouterA-bgp-ipv4] quit
[RouterC-bgp] quit
# Enable BFD for peer 3.0.1.1.
[RouterC-bgp] peer 3.0.1.1 bfd
[RouterC-bgp] quit
[RouterC] quit
Verifying the configuration
# Display detailed BFD session information on Router C.
<RouterC> display bfd session verbose
Total Session Num: 1
IPv4 Session Working Under Ctrl Mode:
Local Discr: 513
Source IP: 3.0.2.2
Up Session Num: 1
Remote Discr: 513
Destination IP: 3.0.1.1
277
Init Mode: Active

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 si series

Table of Contents