ip access-group to-vrf

Use this command to apply, in this VRF access context, an IPv4 access list to traffic outbound to the specified VRF.

Syntax

ip access-group list-name to-vrf vrf-name
no ip access-group list-name to-vrf vrf-name

Parameters

list-name Specifies access list to be applied to this VRF access group. This is an alpha-numeric text name of up to 64 characters.
vrf-name Specifies the VRF that the traffic matching rules in the access list applied to the VRF access group will be outbound to.

Defaults

None.

Mode

VRF Configuration command, VRF access configuration.

Usage

The “no” form of this command removes the specified VRF access group from VRF configuration.

Example

This example shows how to apply the IPv4 Ipv4list2 ACL to any matching traffic outbound from VRF doc to VRF eng:

System(su-doc-config)->vrf-access
System(su-doc-config-vrf-access)->ip access-group IPv4list2 to-vrf eng
System(su-doc-config-vrf-access)->