xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
252
Parameters
local - To redistribute local routes to BGP.
static - To redistribute static routes to BGP.
rip - To redistribute RIP routes to BGP.
ospf - To redistribute OSPF routes to BGP.
all - To redistribute both OSPF AS-internal and OSPF AS-external routes to BGP.
internal - To redistribute only the OSPF AS-internal routes.
external - To redistribute only the OSPF AS-external routes, including type-1 and type-2
routes.
type_1 - To redistribute only the OSPF AS-external type-1 routes.
type_2 - To redistribute only the OSPF AS-external type-2 routes.
inter+e1 - To redistribute only the OSPF AS-external type-1 and OSPF AS-internal routes.
inter+e2 - To redistribute only the OSPF AS-external type-2 and OSPF AS-internal routes.
metric - (Optional) Specifies the BGP metric value for the redistributed routes.
<value 0-4294967295> - Enter the metric value used here. This value must be between 0 and
4294967295.
route_map - (Optional) Specifies a route map which will be used as the criteria to determine
whether to redistribute specific routes.
<map_name 16> - Enter the route map name used here. This name can be up to 16
characters long.
no_route_map - Specifies to withdraw the route map setting.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only
Command)
Example
To add route redistribution settings:
DGS-3620-28SC:admin# config route redistribute dst bgp src ospf all metric 2
Command: config route redistribute dst bgp src ospf all metric 2
Success.
DGS-3620-28SC:admin#
18-9 delete route redistribute
Description
This command is used to delete the route redistribute configuration on the switch.
Format
delete route redistribute [dst [rip | ospf | bgp] src [rip | static | local | ospf | bgp]]
Parameters
dst - Specifies the target protocol.
rip - Specifies to not redistribute other routing protocols to RIP.
ospf - Specifies to not redistribute other routing protocols to OSPF.
bgp - Specifies to not redistribute other routing protocols to BGP. (EI Mode Only Parameter)