match safi

Use this command to match a packet against its Subsequent Address Family Indicator (SAFI) attribute.

Syntax

match safi {unicast | multicast}
no match safi {unicast | multicast}

Parameters

unicast | multicast Specifies the SAFI attribute to match a packet against:
  • unicast - The unicast SAFI attribute
  • multicast - The multicast SAFI attribute

Defaults

None.

Mode

BGP route map configuration.

Usage

The no match safi command removes the specified SAFI match clause from this route map.

Example

This example shows how to match a packet unicast SAFI attribute for route map bgprm1:

System(su)->configure
System(su-config)->route-map bgp bgprm1 permit
System(su-config-route-map-bgp)->match safi unicast
System(su-config-route-map-bgp)->show route-map bgprm1
 route-map bgp bgprm1 permit 10
  match afi ipv6
  match safi unicast
System(su-config-route-map-bgp)->