H3C Technologies H3C SecPath F1000-E User Manual
Page 501
476
{
Because loopback interfaces are virtual interfaces, you need to use the peer connect-interface
command to specify the loopback interface as the source interface for establishing BGP
connections.
{
Enable OSPF in AS 65009 to make sure that SecPath B can communicate with SecPath C
through loopback interfaces.
# Configure SecPath B.
[SecPathB] bgp 65009
[SecPathB-bgp] router-id 2.2.2.2
[SecPathB-bgp] peer 3.3.3.3 as-number 65009
[SecPathB-bgp] peer 3.3.3.3 connect-interface loopback 0
[SecPathB-bgp] quit
[SecPathB] ospf 1
[SecPathB-ospf-1] area 0
[SecPathB-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[SecPathB-ospf-1-area-0.0.0.0] network 9.1.1.1 0.0.0.255
[SecPathB-ospf-1-area-0.0.0.0] quit
[SecPathB-ospf-1] quit
# Configure SecPath C.
[SecPathC] bgp 65009
[SecPathC-bgp] router-id 3.3.3.3
[SecPathC-bgp] peer 2.2.2.2 as-number 65009
[SecPathC-bgp] peer 2.2.2.2 connect-interface loopback 0
[SecPathC-bgp] quit
[SecPathC] ospf 1
[SecPathC-ospf-1] area 0
[SecPathC-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[SecPathC-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[SecPathC-ospf-1-area-0.0.0.0] quit
[SecPathC-ospf-1] quit
[SecPathC] display bgp peer
BGP local router ID : 3.3.3.3
Local AS number : 65009
Total number of peers : 1 Peers in established state : 1
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
2.2.2.2 65009 7 10 0 0 00:06:09 Established
The output information shows that SecPath C has established an IBGP peer relationship with
SecPath B.
3.
Configure EBGP;
{
The EBGP peers, SecPath A and SecPath B (usually belong to different ISPs), are located in
different ASs. Typically, their loopback interfaces are not reachable to each other, so directly
connected interfaces are used for establishing BGP sessions.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer