You can process MPLS packets that have not been assigned label values and have no corresponding entry in the mpls.0 routing table. This allows you to assign a default route to unlabeled MPLS packets.
To configure a default label value for MPLS packets, include the default-route statement:
-
default-route {
-
class-of-service cos-value;
- (next-hop (address | interface-name | address/interface-name) |
- (discard | reject);
- (pop | (swap out-label);
-
preference preference;
-
swap-push swap-label push-label;
- }
You can include this statement at the following hierarchy levels: