Configuring DvR route redistribution
About this task
Configure redistribution of direct or static routes into the DvR domain, on the Global Router or for a specific VRF instance.
Procedure
Example
Configure route redistribution of direct and static routes on the Global Router. Ensure that you apply the configuration.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#dvr redistribute static Switch:1(config)#dvr redistribute static metric 200 Switch:1(config)#dvr redistribute static enable Switch:1(config)#dvr apply redistribute static
Switch:1(config)#dvr redistribute direct Switch:1(config)#dvr redistribute direct metric 100 Switch:1(config)#dvr redistribute direct enable Switch:1(config)#dvr apply redistribute direct
Verify configuration on the Global Router:
Switch:1(config)#show dvr redistribute =========================================================================== DVR Redistribute List - GlobalRouter =========================================================================== SOURCE MET MTYPE ENABLE RPOLICY --------------------------------------------------------------------------- STAT 200 External TRUE - LOC 100 Internal TRUE -
Configure redistribution of direct and static routes on the specific VRF instance vrf1. Ensure that you apply the configuration.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#router vrf vrf1 Switch:1(router-vrf)#dvr redistribute static Switch:1(router-vrf)#dvr redistribute static metric 20000 Switch:1(router-vrf)#dvr redistribute static enable Switch:1(router-vrf)#exit Switch:1(config)#dvr apply redistribute static Switch:1(router-vrf)#dvr redistribute direct Switch:1(router-vrf)#dvr redistribute direct metric 10000 Switch:1(router-vrf)#dvr redistribute direct enable Switch:1(router-vrf)#exit Switch:1(config)#dvr apply redistribute static
Verify configuration on vrf1:
Switch:1(router-vrf)#show dvr redistribute vrf vrf1 ============================================================================ DVR Redistribute List - VRF vrf1 ============================================================================ SOURCE MET MTYPE ENABLE RPOLICY ---------------------------------------------------------------------------- STAT 20000 External TRUE - LOC 10000 Internal TRUE -
Variable definitions
Use the data in the following table to use the dvr redistribute direct or the dvr redistribute static commands.
Variable |
Value |
---|---|
enable |
Enables DvR route redistribution on the VRF instance. Route redistribution is enabled by default. |
metric <0-65535> |
Specifies the DvR route redistribution metric. |
route-map WORD<1-64> |
Specifies the route policy for DvR route redistribution. |
Use the data in the following table to use the show dvr redistribute command.
Variable |
Value |
---|---|
vrf WORD<1-16> |
Specifies the VRF name. |