Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Junos: error: VRF: vrf-import needs at least one target community or a reject policy for vrf in
https://forum.ivorde.com/junos-error-vrf-vrf-import-needs-at-least-one-target-community-or-a-reject-policy-for-vrf-in-t14391.html
Page 1 of 1

Author:  mandrei99 [ Wed Jul 03, 2013 8:39 am ]
Post subject:  Junos: error: VRF: vrf-import needs at least one target community or a reject policy for vrf in

When configuring vpls or bgp l3 vpn in Junos, be care should be taken when setting communities.

Following commit error will appear:
Code:
error: VRF: vrf-import needs at least one target community or a reject policy for vrf in


This is because vrf-import needs to point to a route target community.
So this will not work:
Code:
# top show policy-options community IVORDE-INTRA-64512:100
members 64512:100;

But this will work:
Code:
# top show policy-options community IVORDE-INTRA-64512:100
members target:64512:100;

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/