HP 4800G Series Configuration Manual page 617

24/48 port
Table of Contents

Advertisement

[SwitchD-bgp] quit
# Configure Switch E.
<SwitchE> system-view
[SwitchE] bgp 65001
[SwitchE-bgp] router-id 5.5.5.5
[SwitchE-bgp] confederation id 200
[SwitchE-bgp] peer 10.1.4.1 as-number 65001
[SwitchE-bgp] peer 10.1.5.1 as-number 65001
[SwitchE-bgp] quit
4)
Configure the eBGP connection between AS100 and AS200.
# Configure Switch A.
[SwitchA] bgp 65001
[SwitchA-bgp] peer 200.1.1.2 as-number 100
[SwitchA-bgp] quit
# Configure Switch F.
<SwitchF> system-view
[SwitchF] bgp 100
[SwitchF-bgp] router-id 6.6.6.6
[SwitchF-bgp] peer 200.1.1.1 as-number 200
[SwitchF-bgp] network 9.1.1.0 255.255.255.0
[SwitchF-bgp] quit
5)
Verify above configuration
# Display the routing table on Switch B.
[SwitchB] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>i
9.1.1.0/24
[SwitchB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 65002
Paths:
1 available, 1 best
BGP routing table entry information of 9.1.1.0/24:
From
: 10.1.1.1 (1.1.1.1)
Relay Nexthop
: 0.0.0.0
Original nexthop: 10.1.1.1
AS-path
: (65001) 100
Origin
: igp
i - internal, s - suppressed, S - Stale
NextHop
MED
10.1.1.1
0
1-57
LocPrf
PrefVal Path/Ogn
100
0
(65001) 100i

Advertisement

Chapters

Table of Contents
loading

Table of Contents