configure ripng route-policy

configure ripng [vlan vlan-name | tunnel tunnel-name] route-policy [in | out] [policy-name | none]

Description

Configures RIPng to ignore or modify certain routes received from its neighbors, or to suppress certain routes when performing route advertisements.

Syntax Description

vlan-name Specifies an IPv6 configured VLAN.
tunnel-name Specifies an IPv6 tunnel.
policy-name Specifies a policy.
none Removes any policy from the VLAN.

Default

N/A.

Usage Guidelines

Use the in option to configure an input route policy, which determines which RIPng routes are accepted as valid routes from RIPng neighbors. This policy can be combined with the trusted neighbor policy to accept selected routes only from a set of trusted neighbors.

Use the out option to configure an output route policy, which determines which RIPng routes are advertised to other RIPng neighbors.

The following is a sample policy file that could be used with RIPng. It will drop any routes from the subnets 2001:db8:2ccc::/64 and 2001:db8:2ccd::/64:

entry filter_routes {
	If match any{
        nlri 2001:db8:2ccc:: /64;
		nlri 2001:db8:2ccd:: /64;
	}
    then {
    	deny;
	}
}

Example

The following command configures the VLAN backbone to accept routes from its neighbor as specified by the policy nosales:

configure ripng vlan backbone route-policy in nosales

The following command uses the policy nosales to determine which RIP routes are advertised into the VLAN backbone:

configure rip vlan backbone route-policy out nosales

History

This command was first available in ExtremeXOS 11.2.

Platform Availability

This command is available on platforms with an Edge, Advanced Edge, or Core license. For licensing information, see the ExtremeXOS 31.5 Feature License Requirements document.