cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
659
Views
0
Helpful
1
Replies

How to set preference for each prefix in EDGE?

dragonhunt9111
Level 1
Level 1

Hello friend,
In my topology, I am able to control inbound path from EDGE8 to EDGE7. Assume I want EDGE8 to reach prefix LAN of EDGE7 via biz-internet.

dragonhunt9111_0-1668657818617.png

 

I increase preference on biz-internet link of EDGE7:
vpn 0
int ge0/0
tunnel-interface
color biz-internet

encapsulation ipsec preference 100

int ge0/1
tunnel-interface
color mpls
encapsulation ipsec

The result is: EDGE8 reach all prefixes behind EDGE7 via biz-internet

So I have some questions as below, please help:
>> How can I use above preference for each prefix?
Example:
EDGE8 reaches prefix X behind EDGE7 via biz-internet
EDGE8 reaches prefix Y behind EDGE7 via MPLS

>> When I set preference, What command to show preference for each OMP prefix on vsmart, and on remote EDGE.
>> What command to show cef table on vEDGE, I google but not found command.

Thank you very much.

1 Accepted Solution

Accepted Solutions

dragonhunt9111
Level 1
Level 1

Finally, I can change preference of prefix from green-site by CLI on vsmart:

policy
lists
vpn-list SERVICE-VPN
vpn 10
!
site-list HUB
site-id 2
!
prefix-list loopback17
ip-prefix 17.17.17.17/32 => this is loopback of vEDGE7
!
prefix-list haiprefix
ip-prefix 11.11.11.11/32
!
!
control-policy hainm
sequence 10
match route
prefix-list haiprefix
color biz-internet
!
action accept
set
preference 100
!
!
!
sequence 20
match route
prefix-list loopback17
color mpls
!
action accept
set
preference 100
!
!
!
default-action accept
!
!
apply-policy
site-list HUB
control-policy hainm in

==========

The result when show ip route omp on EDGE8:

dragonhunt9111_1-1668763945306.png

 

We can show omp route detail to see OMP preference value:

dragonhunt9111_0-1668763770183.png

 

View solution in original post

1 Reply 1

dragonhunt9111
Level 1
Level 1

Finally, I can change preference of prefix from green-site by CLI on vsmart:

policy
lists
vpn-list SERVICE-VPN
vpn 10
!
site-list HUB
site-id 2
!
prefix-list loopback17
ip-prefix 17.17.17.17/32 => this is loopback of vEDGE7
!
prefix-list haiprefix
ip-prefix 11.11.11.11/32
!
!
control-policy hainm
sequence 10
match route
prefix-list haiprefix
color biz-internet
!
action accept
set
preference 100
!
!
!
sequence 20
match route
prefix-list loopback17
color mpls
!
action accept
set
preference 100
!
!
!
default-action accept
!
!
apply-policy
site-list HUB
control-policy hainm in

==========

The result when show ip route omp on EDGE8:

dragonhunt9111_1-1668763945306.png

 

We can show omp route detail to see OMP preference value:

dragonhunt9111_0-1668763770183.png

 

Review Cisco Networking for a $25 gift card