Configure Layer 2 protocol forwarding using CLI commands to manage ethernet type allowlists and verify configuration settings.
This task allows you to manage Layer 2 protocol forwarding by adding, deleting, or clearing ethernet types from allowlists and configuring Ethernet-I protocol behavior.
Use this procedure to control which ethernet types are allowed for Layer 2 protocol forwarding in your MPLS configuration. After you clear the detected ethernet types, the detection process operates in the background.
Procedure
-
Use the configure mpls ether-filter allow-list add ether-type-value command to add an ethernet type to allowlist.
Example:
Device# configure mpls ether-filter allow-list add 0x86DD
-
(Optional) Use the configure mpls ether-filter allow-list delete ether-type-value command to delete an ethernet type from allowlist.
Example:
Device# configure mpls ether-filter allow-list delete 0x86DD
-
(Optional) Use the configure mpls ether-filter allow-list clear command to clear all ethernet types from allowlist.
Example:
Device# configure mpls ether-filter allow-list clear
-
(Optional) Use the configure mpls ether-filter allow-list add all command to add all ethernet types to allowlist.
Example:
Device# configure mpls ether-filter allow-list add all
Note
The all keyword sets the ether filter to all-pass mode by filling the allowlist with a single entry, 0x0000.
-
(Optional) Use the configure mpls ether-filter table clear command to clear list of detected ether-types.
Example:
Device# configure mpls ether-filter table clear
Note
The detection process works in the background after clearing the detected ethernet types.
-
(Optional) Use the configure mpls ether-filter ethernet-I forward command to configure Ethernet – I protocol to forward.
Example:
Device# configure mpls ether-filter ethernet-I forward
-
(Optional) Use the configure mpls ether-filter ethernet-I block command to configure Ethernet – I protocol to block.
Example:
Device# configure mpls ether-filter ethernet-I block
-
(Optional) Use the show mpls config command to verify list of allowed ether-types.
Example:
Device# show mpls config
...
Ethernet Filter allow-list: 0x8892 0x8204 0x86dd, ethernet-I block
...
-
(Optional) Use the show mpls ether-filter table command to verify list of detected ether-types.
Example:
Device# show mpls ether-filter table
Ether-type Direction Description
0x8899 INGRESS ---
0x86DD INGRESS IPv6