Configure IPv6 Route Preferences
Configure IPv6 route preferences to give preference to routes learned for a specific protocol.
Before you begin
Important
Changing route preferences can affect system performance and network accessibility while you perform the procedure. Change a prefix list or a routing protocol before you activate the protocols.
Procedure
Example
Configure the route preference to RIPng and confirm the configuration is correct.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#ipv6 route preference protocol ripng 10 Switch:1(config)#show ipv6 route preference ========================================================================================== IPv6 Route Preference - GlobalRouter ========================================================================================== PROTOCOL DEFAULT CONFIG ------------------------------------------------------------------------------------------ LOCAL 0 0 STATIC 5 5 SPBM_L1 7 7 OSPFv3_INTRA 20 20 OSPFv3_INTER 25 25 EBGP 45 45 RIPNG 100 100 OSPFv3_E1 120 120 OSPFv3_E2 125 125 IBGP 175 175
Variable definitions
Use the data in the following table to use the ipv6 route preference and the show ipv6 route preference commands.
Variable |
Value |
---|---|
<0-255> |
Assigns a route preference value. |
ebgp |
Configures the preference for protocol type EBGP. |
ibgp |
Configures the preference for protocol type IBGP. |
ospfv3-extern1 |
Configures the preference for protocol type OSPFv3 external type 1. |
ospfv3-extern2 |
Configures the preference for protocol type OSPFv3 external type 2. |
ospfv3-intra |
Configures the preference for protocol type OSPFv3 intra-area. |
ospfv3-inter |
Configures the preference for protocol type OSPFv3 inter-area. |
ripng |
Configures the preference for protocol type RIPng. |
spbm-level1 |
Configures the preference for protocol type spbm-level1. |
static |
Configures the preference for protocol type static. |