H3C S3610-28P Operation Manual page 531

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
III. Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure EBGP
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 10
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.2.2 as-number 20
[SwitchA-bgp] network 9.1.1.0 255.255.255.0
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 20
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 200.1.2.1 as-number 10
[SwitchB-bgp] peer 200.1.3.2 as-number 30
[SwitchB-bgp] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 30
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 200.1.3.1 as-number 20
[SwitchC-bgp] quit
# Display the BGP routing table on Switch B.
[SwitchB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 20
Paths:
BGP routing table entry information of 9.1.1.0/24:
From
Original nexthop: 200.1.2.1
AS-path
Origin
Attribute value : MED 0, pref-val 0, pre 255
State
Advertised to such 1 peers:
200.1.3.2
Switch B advertised routes to Switch C in AS30.
1 available, 1 best
: 200.1.2.1 (1.1.1.1)
: 10
: igp
: valid, external, best,
5-50
Chapter 5 BGP Configuration

Advertisement

Table of Contents
loading

Table of Contents