HP 6125XLG Configuration Manual page 266

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

[SwitchA-route-policy-apply_med_50-10] quit
[SwitchA] route-policy apply_med_100 permit node 10
[SwitchA-route-policy-apply_med_100-10] if-match ip address acl 2000
[SwitchA-route-policy-apply_med_100-10] apply cost 100
[SwitchA-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.
[SwitchA] bgp 200
[SwitchA-bgp] ipv4-family unicast
[SwitchA-bgp-ipv4] peer 3.0.2.2 route-policy apply_med_50 export
[SwitchA-bgp-ipv4] peer 2.0.2.2 route-policy apply_med_100 export
[SwitchA-bgp-ipv4] quit
# Enable BFD for peer 3.0.2.2.
[SwitchA-bgp] peer 3.0.2.2 bfd
[SwitchA-bgp] quit
4.
Configure BGP on Switch C:
# Establish two IBGP connections to Switch A.
<SwitchC> system-view
[SwitchC] bgp 200
[SwitchC-bgp] peer 3.0.1.1 as-number 200
[SwitchC-bgp] peer 2.0.1.1 as-number 200
[SwitchC-bgp] ipv4-family unicast
[SwitchC-bgp-ipv4] peer 3.0.1.1 enable
[SwitchC-bgp-ipv4] peer 2.0.1.1 enable
[SwitchC-bgp-ipv4] quit
[SwitchC-bgp] quit
# Enable BFD for peer 3.0.1.1.
[SwitchC-bgp] peer 3.0.1.1 bfd
[SwitchC-bgp] quit
[SwitchC] quit
Verifying the configuration
# Display detailed BFD session information on Switch C.
<SwitchC> display bfd session verbose
Total Session Num: 1
IPv4 Session Working Under Ctrl Mode:
Session State: Up
Local Discr: 513
Source IP: 3.0.2.2
Min Tx Inter: 500ms
Min Rx Inter: 500ms
Rx Count: 135
Connect Type: Indirect
Hold Time: 2457ms
Detect Mode: Async
Up Session Num: 1
Remote Discr: 513
Destination IP: 3.0.1.1
Interface: N/A
Act Tx Inter: 500ms
Detect Inter: 2500ms
Running Up for: 00:00:58
Auth mode: None
255
Init Mode: Active
Tx Count: 135
Slot: 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents