H3C Technologies H3C SecPath F1000-E User Manual
Page 460
435
# On SecPath B, configure a static route destined for network 3.1.3.0/24.
[SecPathB] ip route-static 3.1.3.0 24 10.4.1.2
# Configure OSPF to redistribute static routes on SecPath B.
[SecPathB] ospf 1
[SecPathB-ospf-1] import-route static
[SecPathB-ospf-1] quit
# Display the OSPF routing table of SecPath A.
Routing Tables: Public
Destinations : 12 Routes : 12
Destination/Mask Proto Pre Cost NextHop Interface
3.1.1.0/24 O_ASE 150 1 10.2.1.2 GE0/2
3.1.2.0/24 O_ASE 150 1 10.2.1.2 GE0/2
3.1.3.0/24 O_ASE 150 1 10.2.1.2 GE0/2
10.1.1.0/24 Direct 0 0 10.1.1.1 GE0/1
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.1.0/24 Direct 0 0 10.2.1.1 GE0/2
10.2.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.3.1.0/24 OSPF 10 4 10.1.1.2 GE0/1
10.4.1.0/24 OSPF 10 13 10.2.1.2 GE0/2
10.5.1.0/24 OSPF 10 14 10.1.1.2 GE0/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
4.
Configure SecPath B to filter out the route 3.1.3.0/24:
# Configure the IPv4 prefix list.
[SecPathB] ip ip-prefix prefix1 index 1 deny 3.1.3.0 24
[SecPathB] ip ip-prefix prefix1 index 2 permit 3.1.1.0 24
[SecPathB] ip ip-prefix prefix1 index 3 permit 3.1.2.0 24
# Reference the prefix list to filter out the route 3.1.3.0/24.
[SecPathB] ospf 1
[SecPathB-ospf-1] filter-policy ip-prefix prefix1 export static
# Display the OSPF routing table of SecPath A.
Routing Tables: Public
Destinations : 11 Routes : 11
Destination/Mask Proto Pre Cost NextHop Interface
3.1.1.0/24 O_ASE 150 1 10.2.1.2 GE0/2
3.1.2.0/24 O_ASE 150 1 10.2.1.2 GE0/2
10.1.1.0/24 Direct 0 0 10.1.1.1 GE0/1
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.1.0/24 Direct 0 0 10.2.1.1 GE0/2
10.2.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.3.1.0/24 OSPF 10 4 10.1.1.2 GE0/1
- 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