H3C Technologies H3C SecPath F1000-E User Manual
Page 447
422
[RouterA-ospf-1] quit
# Configure SecPath.
[SecPath] ospf
[SecPath-ospf-1] area 0
[SecPath-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255
[SecPath-ospf-1-area-0.0.0.0] quit
[SecPath-ospf-1] quit
# Configure Router B.
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
# Configure Router C.
[RouterC] ospf
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
# Configure Router D.
[RouterD] ospf
[RouterD-ospf-1] area 0
[RouterD-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] quit
[RouterD-ospf-1] quit
3.
Configure BGP to redistribute OSPF routes and direct routes:
# Configure SecPath.
[SecPath] bgp 200
[SecPath-bgp] peer 11.1.1.2 as-number 100
[SecPath-bgp] import-route ospf
[SecPath-bgp] import-route direct
[SecPath-bgp] quit
# Configure Router B.
[RouterB] bgp 100
[RouterB-bgp] peer 11.1.1.1 as-number 200
[RouterB-bgp] import-route ospf
[RouterB-bgp] import-route direct
[RouterB-bgp] quit
4.
Configure SecPath and Router B to redistribute BGP routes into OSPF:
# Configure OSPF to redistribute routes from BGP on SecPath.
- 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