Jump to content
Калькуляторы

route-map и сеть /32 RedBack SE600 route-map и сеть /32 RedBack SE600

Нужно для некоторых IPV4 адресов сделать другой маршрут

 

route-map map-AS65001-out permit 110

match ip address prefix-list webfilter

set ip next-hop x.x.x.x

 

ip prefix-list webfilter

description webfilter

 

например для IP 206.54.169.181/32

 

Проверяю IP входит в сеть 206.54.168.0/22

тестирую

 

ip prefix-list webfilter

description webfilter

permit 206.54.168.0/22

 

получаю

Network Next Hop Metric LocPrf Weight Path

*> 206.54.168.0/22 10.46.0.3 0 0 21442 9002 46786 35415 i

 

работает

 

убираю сеть и добавляю IP 206.54.169.181/32

ip prefix-list webfilter

description webfilter

permit 206.54.169.181/32

 

и не вижу этот IP

побывал комбинации

permit 206.54.169.181/32 le 32

и

permit 206.54.169.181/32 ge 32

и

permit 206.54.169.181/32 eq 32

 

не работает

 

 

show version

 

Redback Networks SmartEdge OS Version SEOS-12.1.1.9-Release

Built by sysbuild@eussjlx7016.sj.us.am.ericsson.se Mon Jan 26 23:09:19 PST 2015

Copyright © 1998-2015, Redback Networks Inc. All rights reserved.

System Bootstrap version is Mips,rev2.0.2.68

Installed minikernel version is 11.7

Router Up Time - 33 days, 4 hours 57 minutes 45 secs

 

что я не так делаю ?????

 

 

У циски вот так работет

 

route-map rzs, permit, sequence 1

Match clauses:

ip address (access-lists): rzs

Set clauses:

ip next-hop 1.2.3.4

Policy routing matches: 0 packets, 0 bytes

# show ip access-lists rzs

 

Extended IP access list rzs

10 permit tcp any host 103.31.186.56 eq www 443

20 permit tcp any host 103.31.186.73 eq www 443

30 permit tcp any host 108.162.192.166 eq www 443

 

 

У эриксона в route-map незя подпизать ACL а только

ip prefix-list

 

дак вот задача как подпихать 1 адресс

Edited by alexpn

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this