cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
235
Views
0
Helpful
4
Replies

mac list in Cisco

Girish Nagaraj
Level 1
Level 1

For IP we have prefix-list and ACL, I am aware of difference between them.

For MAC ACL already exists, do we have the prefix-list equivalent for MAC addresses ?

For example: to use in BGP EVPN route filtering using host MAC address

3 Accepted Solutions

Accepted Solutions

wajidhassan
Level 1
Level 1

Hi @Girish Nagaraj,
No, there is no prefix-list equivalent for MAC addresses. Prefix-lists are for IP filtering only. For BGP EVPN route filtering based on MAC addresses, you should use a route map with the command {match evpn mac <MAC>}. This allows you to match and filter MACs in Type-2 EVPN routes

View solution in original post

5b611a99-5621-439f-88e6-9a01c62ea4af.png

""""""prefix-list only work with IPv4 or IPv6""""""""
""""""you can still use Mac-list in EVPN""""""""

View solution in original post

4 Replies 4

 

For Q can you more elaborate 

MHM

M02@rt37
VIP
VIP

wajidhassan
Level 1
Level 1

Hi @Girish Nagaraj,
No, there is no prefix-list equivalent for MAC addresses. Prefix-lists are for IP filtering only. For BGP EVPN route filtering based on MAC addresses, you should use a route map with the command {match evpn mac <MAC>}. This allows you to match and filter MACs in Type-2 EVPN routes

5b611a99-5621-439f-88e6-9a01c62ea4af.png

""""""prefix-list only work with IPv4 or IPv6""""""""
""""""you can still use Mac-list in EVPN""""""""