DES-7200 Configuration Guide Chapter 7 Policy-based Routing
Configuration
7-14
DES-7200(config-route-map)#set vrf VRF3
# Import IP address of the interface to VRFs 1 to 3.
DES-7200(config)#interface FastEthernet 0/1
DES-7200(config-if)#ip address 192.168.195.1 255.255.255.0
DES-7200(config-if)#ip vrf receive VRF1
DES-7200(config-if)#ip vrf receive VRF2
DES-7200(config-if)#ip vrf receive VRF3
# Apply the policy-based routing on the interface.
DES-7200(config)#interface FastEthernet 0/1
DES-7200(config-if)#ip policy route-map PBR-VRF-Selection
7.5.4 Example 4: Apply IPv6 policy-based routing on the interface
Network requirement
There are two egresses of a LAN connecting to the Internet. In general, load
balance and backup should be enabled for these two egresses. All streams from
subnet 1 to the Internet are transmitted through GigabitEthernet 0/1 and all
streams from subnet 2 to the Internet are transmitted through GigabitEthernet 0/2.
If GigabitEthernet 0/1 is disconnected, the data streams on this interface should
be transferred to GigabitEthernet 0/2, and vice versa.
Network topology
As shown in Figure 2, Device1 connects to subnets 1 and 2 through G0/3 (routed
port), and connects to the Internet through G0/1 and G0/2 with the next hop of
2001::1/64 and 2002::1/64, respectively. Subnet 1’s segment is 2003::/64 and
subnet 2’s segment is 2004::/64.