Creating and Applying the Route Filter Policy

The policy described in this section is applied to Router A and does the following:

The following is a route filter policy named custFilter:

entry et1 {
if match all {
nlri 2001:db8:a004::/48;
} then {
deny;
}
}
entry et2 {
if match any {
nlri  2001:db8:4000::/44;
as-path 4977;
} then {
med set 100;
community set "2342:6788";
permit;
}
}

Apply the custFilter inbound policy.

* Switch.53 # configure bgp neighbor 2001:db8:2000::1 ipv6-unicast route-policy in custfilter