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

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

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

Hello @Girish Nagaraj 

AS concerned nexus9k and BGP EVPN mac Filter yyou could check here: MAC-LIST_RM

https://www.cisco.com/c/en/us/td/docs/dcn/nx-os/nexus9000/104x/configuration/vxlan/cisco-nexus-9000-series-nx-os-vxlan-configuration-guide-release-104x/m_configuring_bgp_evpn_filtering.html#Cisco_Task.dita_ca28b0d8-841a-459d-8570-807e9078f792

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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""""""""