S series switches routing protocol priority problem

2

default:
- Direct�?
- OSPF�?0
- IS-IS�?5
- Static�?0
- RIP�?00
- OSPF ASE�?50
- OSPF NSSA�?50
- IBGP�?55
- EBGP�?55

Other related questions:
Configure the priority of an OSPF route on an S series switch
The routing protocols may share and select the routing information because a switch may run multiple dynamic routing protocols simultaneously. In this case, a priority should be set for each routing protocol. When different protocols find multiple routes to the same destination, the route discovered by the protocol with a higher priority is preferred. On an S series switch, you can run the preference command in the OSPF process view to configure the OSPF priority. Perform the following operations: 1. Run the ospf [ process-id ] command in the system view to enter the OSPF process view. 2. Run the preference [ ase ] { preference | route-policy route-policy-name } * command to configure the OSPF priority. The parameters are described as follows: ase: indicates the priority of the AS-External route. preference: indicates the OSPF route priority. A smaller value indicates a higher priority. route-policy route-policy-name: indicates the priority for specified routes in the routing policy. The default OSPF priority value is 10. When an ASE is specified, the default OSPF priority is 150. For example, set the priority of routes in OSPF process 100 to 150 as follows: [HUAWEI] ospf 100 [HUAWEI-ospf-100] preference 150

Modifying the routing protocol priority on the firewall
The method for modifying the routing protocol priority on the USG2000&5000&6000 is as follows: -Modifying the static routing protocol priority: [USG]ip route-static 192.168.0.0 16 10.1.1.1 preference 20 -Modifying the RIP priority: [USG]rip [USG-rip-1]preference 80 -Modifying the OSPF priority: [USG]ospf [USG-ospf-1]preference 30 -Modifying the IS-IS priority: [USG]isis [USG-isis-1]preference 90 -Modifying the BGP priority: [USG]bgp 25212 [USG-bgp]ipv4-family unicast [USG-bgp-af-ipv4]preference 120

USG firewall routing protocol priority.
The priority of the USG2000 & 5000 & 6000 routing protocol is as follows: - The default priority of static routes is 60 - The default cost of the direct route cost is 0 - The default priority of RIP is 100 - When OSPF defaults to 10, the default priority is 150 - The IS-IS route defaults to 15 - BGP has three routes: 1. The default route (EBGP) learned from external peers is 255 2. The route learned from the internal peer (IBGP) defaults to 255 3. The local route defaults to 255 The smaller the value above, the more priority.

Routing protocol preference on S series switches
Preference of routing protocols Different routing protocols, including the static routing protocol may discover different routes to the same destination, but not all these routes are optimal. At a certain moment, only one routing protocol determines the preferred route to a certain destination. To select the optimal route, routes of these routing protocols including the static route are configured with preferences. When multiple sources of routing information exist, the route learned by the routing protocol with the highest preference (a smaller value indicates a higher preference) becomes the optimal route. The optimal route is then saved to the local routing table. Routers define the external preference and internal preference. External preferences are manually configured for routing protocols. The following lists the default external preferences of routing protocols: - Direct: 0 - OSPF: 10 - IS-IS: 15 - Static: 60 - RIP: 100 - OSPF ASE: 150 - OSPF NSSA: 150 - IBGP: 255 - EBGP: 255 Note: Value 0 indicates direct routes and value 255 indicates routes learned from unreliable sources. A smaller value indicates a higher preference. Except for direct routes, the priorities of routing protocols can be manually configured. In addition, the preference of each static route varies. Internal preferences of routing protocols cannot be manually configured. The following lists the internal preferences of routing protocols: - Direct: 0 - OSPF: 10 - IS-IS Level-1: 15 - IS-IS Level-2: 18 - Static: 60 - RIP: 100 - OSPF ASE: 150 - OSPF NSSA: 150 - IBGP: 200 - EBGP: 20 During route selection, a router first compares the external preferences of routes. When the same external preference is set for different routing protocols, the router selects the optimal route based on the internal preference. For example, two routes (an OSPF route and a static route) are available. Both routes can reach the destination 10.1.1.0/24, and the preferences of the two routes are set to 5. In this case, the router determines the optimal route according to the internal preferences. The internal preference (the value is 10) of OSPF is higher than that (the value is 60) of the static route. Therefore, the router selects the route discovered by OSPF as the optimal route.

Relationships between routing protocol values and priorities on the USG6000 series
In routing protocols, 0 indicates the direct route, and 255 indicates any route learned from unreliable sources. A smaller value indicates a higher priority.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top