Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 505
480
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown)
2.
Configure OSPF:
Enable OSPF in AS 65009, so that SecPath B can obtain the route to 9.1.2.0/24.
# Configure SecPath B.
[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.0 0.0.0.255
[SecPathB-ospf-1-area-0.0.0.0] quit
[SecPathB-ospf-1] quit
# Configure SecPath C.
[SecPathC] ospf 1
[SecPathC-ospf-1] import-route direct
[SecPathC-ospf-1] area 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
3.
Configure the EBGP connection:
Configure the EBGP connection and inject network 8.1.1.0/24 to the BGP routing table of
SecPath A, so that SecPath B can obtain the route to 8.1.1.0/24.
# Configure SecPath A.
[SecPathA] bgp 65008
[SecPathA-bgp] router-id 1.1.1.1
[SecPathA-bgp] peer 3.1.1.1 as-number 65009
[SecPathA-bgp] network 8.1.1.0 24
[SecPathA-bgp] quit
# Configure SecPath B.
[SecPathB] bgp 65009
[SecPathB-bgp] router-id 2.2.2.2
[SecPathB-bgp] peer 3.1.1.2 as-number 65008
4.
Configure BGP and IGP synchronization:
{
Configure BGP to redistribute routes from OSPF on SecPath B, so that SecPath A can obtain the
route to 9.1.2.0/24.
{
Configure OSPF to redistribute routes from BGP on SecPath B, so that SecPath C can obtain the
route to 8.1.1.0/24.
# Configure BGP to redistribute routes from OSPF on SecPath B.
[SecPathB-bgp] import-route ospf 1
[SecPathB-bgp] quit
[SecPathB] ospf 1
[SecPathB-ospf-1] import-route bgp
[SecPathB-ospf-1] quit
- 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