HP 6125XLG Layer 3 - Ip Routing Configuration Manual page 302

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

# Configure Switch C to establish an EBGP session with Switch A, and an IBGP session with Switch
D.
<SwitchC> system-view
[SwitchC] bgp 200
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 30.1.1.1 as-number 100
[SwitchC-bgp] peer 4.4.4.4 as-number 200
[SwitchC-bgp] peer 4.4.4.4 connect-interface loopback 0
[SwitchC-bgp] address-family ipv4 unicast
[SwitchC-bgp-ipv4] peer 30.1.1.1 enable
[SwitchC-bgp-ipv4] peer 4.4.4.4 enable
[SwitchC-bgp-ipv4] peer 4.4.4.4 next-hop-local
[SwitchC-bgp-ipv4] quit
[SwitchC-bgp] quit
# Configure Switch D to establish IBGP sessions with Switch B and Switch C, and advertise
network 4.4.4.4/32.
<SwitchD> system-view
[SwitchD] bgp 200
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 2.2.2.2 as-number 200
[SwitchD-bgp] peer 2.2.2.2 connect-interface loopback 0
[SwitchD-bgp] peer 3.3.3.3 as-number 200
[SwitchD-bgp] peer 3.3.3.3 connect-interface loopback 0
[SwitchD-bgp] address-family ipv4 unicast
[SwitchD-bgp-ipv4] peer 2.2.2.2 enable
[SwitchD-bgp-ipv4] peer 3.3.3.3 enable
[SwitchD-bgp-ipv4] network 4.4.4.4 32
4.
Configure preferred values so Link B is used to forward traffic between Switch A and Switch D:
# Configure Switch A to set the preferred value to 100 for routes received from Switch B.
[SwitchA-bgp-ipv4] peer 10.1.1.2 preferred-value 100
[SwitchA-bgp-ipv4] quit
[SwitchA-bgp] quit
# Configure Switch D to set the preferred value to 100 for routes received from Switch B.
[SwitchD-bgp-ipv4] peer 2.2.2.2 preferred-value 100
[SwitchD-bgp-ipv4] quit
[SwitchD-bgp] quit
5.
Configure BGP FRR:
# On Switch A, configure the source address of BFD echo packets as 11.1.1.1, create routing
policy frr to set a backup next hop 30.1.1.3 (Switch C) for the route destined for 4.4.4.4/32, and
apply the routing policy to BGP FRR for BGP IPv4 unicast address family.
[SwitchA] bfd echo-source-ip 11.1.1.1
[SwitchA] ip prefix-list abc index 10 permit 4.4.4.4 32
[SwitchA] route-policy frr permit node 10
[SwitchA-route-policy] if-match ip address prefix-list abc
[SwitchA-route-policy] apply fast-reroute backup-nexthop 30.1.1.3
[SwitchA-route-policy] quit
[SwitchA] bgp 100
290

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents