ip evpn-prefix-list

Configures an Ethernet Virtual Private Network (EVPN) prefix list that can permit or deny specific routes.
Syntax
ip evpn-prefix-list prefix-list-name [ seq number ] { permit|deny } { mac-address | any }
no ip evpn-prefix-list prefix-list-name [ seq number ] { permit|deny } { mac-address | any }
Command Default

By default, routes that do not match a prefix list are learned or advertised. To prevent a route from being learned or advertised, you must configure and apply a prefix list to deny the route.

Parameters
prefix-list-name
Specifies the name of the prefix list.
seq number
Specifies a sequence number for EVPN prefix list entries.
permit
Specifies that the MAC or MAC-IP route for the specified MAC address is permitted.
deny
Specifies that the MAC or MAC-IP route for the specified MAC address is denied.
mac-address
Specifies a MAC address.
any
Specifies any MAC address.
Modes

Global configuration mode

Usage Guidelines

The default starting sequence number is 5 and incremented by 5 when another entry is added to same prefix list.

This command is supported for RUCKUS ICX 7850 and ICX 7550 devices only.

The no form of the command disables the EVPN prefix list.

Examples

The following example creates an EVPN prefix list. The EVPN prefix list denies MAC addresses 02e0.52cb.55c8 and 02e0.52cb.55c9 and permits all other MAC addresses.

device# configure terminal
device(config)# ip evpn-prefix-list plist deny 02e0.52cb.55c8
device(config)# ip evpn-prefix-list plist deny 02e0.52cb.55c9
device(config)# ip evpn-prefix-list plist permit any
History
Release version Command history
10.0.20 This command was introduced.