11-01-2024 10:40 PM
Hi I have 2 output gateway 1 and 2
I used route-map math by ip community list
and set next-hop gateway 2
When add this rule in route-map all traffic redirect to gateway-2 In nexus 9K
How can do this by community tag
65000:100 community redirect to gateway 2
11-02-2024 09:45 AM
I will not stick with sintax for NX OS but the logic behind the community
The idea of cummunity as you probably know is add a flag on the traffic to take decision based on the tag.
With the route-map you can tag the traffic
route-map TAG_COMMUNITY permit 10
match ip address PREFIX_LIST
set community 65000:100
And here you can forward the traffic accordingly based on the tag
route-map REDIRECT_TO_GATEWAY2 permit 10
match community 10
set ip next-hop <IP of Gateway 2>
11-03-2024 01:46 AM
I used this
route-map tx-respina, permit, sequence 8
Match clauses:
community (community-list filter): 65000:100
Set clauses:
ip next-hop 192.168.199.85
When permit in route untagged community Also redirect to 192.168.199.85
11-03-2024 01:50 AM
Good to know, thanks for sharing admin@atrinnet.net
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide