D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
713
config route preference
ospfExt2 - Configure the preference of OSPF external type-2 route. The default value is 115.
ebgp - Configure the preference of BGP AS-external route. The default value is 70.
ibgp - Configure the preference of BGP AS-internal route. The default value is 130.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the route preference for static routes to 70:
DGS-3627:admin# config route preference static 70
Command: config route preference static 70
Success.
DGS-3627:admin#
show route preference
Purpose Used to display the route preference of each route type.
Syntax
show route preference {[ local | static | default | rip | ospf | ospfIntra | ospfInter |
ospfExt1 | ospfExt2 | ebgp | ibgp]
Description This command is used to display route preference setting.
Parameters
local - Display the preference of local route.
static - Display the preference of static route.
default - Display the preference of default route.
rip - Display the preference of RIP route.
ospf - Display the preference of all types of OSPF route.
ospfIntra - Display the preference of OSPF intra-area route.
ospfInter - Display the preference of OSPF inter-area route.
ospfExt1 - Display the preference of OSPF external type-1 route.
ospfExt2 - Display the preference of OSPF external type-2 route.
ebgp - Display the preference of BGP AS-external route.
ibgp - Display the preference of BGP AS-internal route.
Restrictions None.
Example usage:
To display the route preference for all route types: