3Com S7906E Configuration Manual page 815

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

<SwitchB> system-view
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 3.3.3.3 as-number 65009
[SwitchB-bgp] peer 3.3.3.3 connect-interface loopback 0
[SwitchB-bgp] quit
[SwitchB] ospf 1
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.2 32
[SwitchB-ospf-1-area-0.0.0.0] network 9.1.1.1 24
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 2.2.2.2 as-number 65009
[SwitchC-bgp] peer 2.2.2.2 connect-interface loopback 0
[SwitchC-bgp] quit
[SwitchC] ospf 1
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 3.3.3.3 32
[SwitchC-ospf-1-area-0.0.0.0] network 9.1.1.0 24
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
[SwitchC] display bgp peer
BGP local router ID : 3.3.3.3
Local AS number : 65009
Total number of peers : 1
Peer
2.2.2.2
The output information shows that Switch C has established an iBGP peer relationship with Switch B.
3)
Configure eBGP
The eBGP peers, Switch A and Switch B (usually belong to different carriers), are located in
different ASs. Gennerally, their loopback interfaces are not reachable to each other, so directly
connected interfaces are used for establishing BGP sessions.
To enable Switch C to access the network 8.1.1.0/24 connected directly to Switch A, inject network
8.1.1.0/24 to the BGP routing table of Switch A.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 3.1.1.1 as-number 65009
[SwitchA-bgp] network 8.1.1.1 24
[SwitchA-bgp] quit
# Configure Switch B.
Peers in established state : 1
AS
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
65009
2
1-46
2
0
0 00:00:13 Established
State

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents