Configuring MPLS Access Lists
MPLS Access lists enables filtering of MPLS packets based on MPLS label and sending filtered packets to configured redirect interfaces.
SUMMARY STEPS
- configure terminal
- [no]install feature-set mpls
- mpls access list mpls-acl
- (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
[no]install feature-set mpls Example:
|
Enables parsing of MPLS packets. This is mandatory to filter MPLS packets based on MPLS label. |
Step 3 |
mpls access list mpls-acl Example:
|
Configures mpls-access list with filtering based on incoming outer MPLS label. In this example, MPLS packets with incoming label 1600 matched and are redirected to Ethernet1/15. |
Step 4 |
(Optional) copy running-config startup-config Example:
|
(Optional) Copies the running configuration to the startup configuration. |