Hi,
Thant's not correct.. I have tried and it behaves as you pointed out
see
ip prefix-list 1 seq 5 permit 10.1.0.0/30
ip prefix-list 2 seq 5 permit 100.100.100.1/32
route-map TEST permit 10
match ip address prefix-list 1
set ip next-hop 10.0.0.82
continue 20
!
route-map TEST permit 20
match ip address prefix-list 2
set ip next-hop 10.0.0.83
and it works as below
blab506#sh ip bgp vpnv4 all
Route Distinguisher: 100:1
* i10.1.0.0/30 10.0.0.82 0 100 0 ?
* i100.100.100.1/32 10.0.0.83 0 100 0 ?
But when you see output of route-map it is changes to
blab506#sh route-map TEST
route-map TEST, permit, sequence 10
Match clauses:
ip address prefix-lists: 1
Continue: sequence 20
Set clauses:
ip next-hop 10.0.0.82
Policy routing matches: 0 packets, 0 bytes
route-map TEST, permit, sequence 20
Match clauses:
ip address prefix-lists: 2
Set clauses:
ip next-hop 10.0.0.83
Policy routing matches: 0 packets, 0 bytes
Hope this is helpful to you
Regards
Mahesh