xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
716
create route redistribute dst bgp
ospf - To redistribute OSPF routes to BGP.
all - To redistribute both OSPF AS-internal and OSPF AS-external routes to RIP.
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-internal type-1 routes.
type_2 - To redistribute only the OSPF AS-internal type-2 routes.
inter+e1 - To redistribute only the OSPF AS-internal type-1 and OSPF AS-internal
routes.
inter+e2 - To redistribute only the OSPF AS-internal type-2 and OSPF AS-internal
routes.
metric - Specify the BGP metric value for the redistributed routes. The range is 0 to
4294967295. The default value is 0.
route_map - Specify a route map which will be used as the criteria to determine whether to
redistribute specific routes.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To add route redistribution settings:
DGS-3627:admin# create route redistribute dst bgp src ospf all metric 2
Command: create route redistribute dst bgp src ospf all metric 2
Success.
delete route redistribute
Purpose Used to delete route redistribute configuration on the switch.
Syntax
delete route redistribute [dst [rip | ospf | bgp] src [rip | static | local | ospf | bgp]]
Description This command is used to stop redistribution of routes from one source protocol to another
destination protocol.
Parameters
dst - Specify the target protocol.
src - Specify the source protocol.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete route redistribution settings:
DGS-3627:admin# delete route redistribute dst rip src ospf
Command: delete route redistribute dst rip src ospf
Success.