Routing policy configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 951
926
Routing policy configuration examples
Applying a routing policy to IPv6 route redistribution
Network requirements
•
, both SecPath A and SecPath B run RIPng.
•
Enable RIPng and configure three static routes on SecPath A
•
On SecPath A, enable static route redistribution into RIPng and apply a routing policy to permit
routes 20::/32 and 40::/32 and deny route 30::/32.
•
Display RIPng routing table information on SecPath B to verify the configuration.
Figure 405 Network diagram
Configuration procedure
1.
Configure SecPath A:
# Configure IPv6 addresses for interfaces GigabitEthernet 0/1 and GigabitEthernet 0/2.
[SecPathA] ipv6
[SecPathA] interface GigabitEthernet 0/1
[SecPathA-GigabitEthernet0/1] ipv6 address 10::1 32
[SecPathA-GigabitEthernet0/1] quit
[SecPathA] interface GigabitEthernet 0/2
[SecPathA-GigabitEthernet0/2] ipv6 address 11::1 32
[SecPathA-GigabitEthernet0/2] quit
# Enable RIPng on GigabitEthernet 0/1.
[SecPathA] interface GigabitEthernet 0/1
[SecPathA-GigabitEthernet0/1] ripng 1 enable
[SecPathA-GigabitEthernet0/1] quit
# Configure three static routes on SecPath A.
[SecPathA] ipv6 route-static 20:: 32 GigabitEthernet 0/2
[SecPathA] ipv6 route-static 30:: 32 GigabitEthernet 0/2
[SecPathA] ipv6 route-static 40:: 32 GigabitEthernet 0/2
# Configure a routing policy.
[SecPathA] ip ipv6-prefix a index 10 permit 30:: 32
[SecPathA] route-policy static2ripng deny node 0
[SecPathA-route-policy] if-match ipv6 address prefix-list a
[SecPathA-route-policy] quit
[SecPathA] route-policy static2ripng permit node 10
- 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