mpls access-list
To define an MPLS access list, use the mpls access-list command in XR Config mode. To remove all entries in an MPLS access list, use the no form of this command.
mpls access-list acl_name
Syntax Description
acl_name |
Name of the access list. Names cannot contain a space or quotation marks. |
Command Default
None
Command Modes
XR Config modeCommand History
Release |
Modification |
---|---|
Release 24.4.1 |
This command was introduced. |
Usage Guidelines
The mpls access-list configuration places the router in the access list configuration mode.
To enable the router to permit the access conditions, use the permit command. Use the deny command so that the router disallows the access conditions.
The MPLS access list need not be applied to an interface as the mpls access-list configuration is used only for monitoring the ingress MPLS packets.
Task ID
Task ID |
Operations |
---|---|
acl |
read, write |
mpls-ldp |
read, write |
mpls-static |
read, write |
mpls-te |
read, write |
Examples
Router(config)# mpls access-list mp
Router(config-mpls-acl)# 10 permit label1 2000 label1 3000 label3 4000 exp1 5 exp2 5 exp3 7
Router(config-mpls-acl)# exit
Router(config)# commit