D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 7 Policy-based Routing
Configuration
7-10
DES-7200 (config-route-map)#set
ipv6 next-hop global-ipv6-address
[weight][global-ipv6-address
[weight]] [global-ipv6-address...]
Set the next hop IPv6 address of
packets.
Or:
DES-7200 (config-route-map)#set
ipv6 default next-hop
global-ipv6-address
[weight][global-ipv6-address
[weight]] [global-ipv6-address...]
Specify the next hop IPv6 address for
the packets without obvious routes in
the routing table.
DES-7200 (config)#interface
interface-type interface-number
Enter the interface configuration mode.
DES-7200 (config-if- interface-type
interface-number)#ipv6 policy
route-map route-map-name
Apply policy-based routing on the
interface.
Or:
DES-7200 (config-if- interface-type
interface-number)#no pv6 policy
route-map
Remove the policy-based routing
applied on the interface.
DES-7200(config)#Ipv6 policy
[load-balance | redundance]
Configure load balance mode.
DES-7200#show ipv6 policy
Show the configuration of policy-based
routing.
Or:
DES-7200#show route-map
Show the configuration of route map.
Or:
DES-7200#show access-lists
Show the configuration of ACL.
7.5 Configuration Example
7.5.1 Example 1: Source address based PBR
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