Decoding Configuration
Decoding Configuration
In npb scenarios, some messages require the decoding switch to be turned on before five-element matching can be performed.
Table 1 MPLS decoding basic configuration
Operation | Command | Description |
|---|---|---|
Enter system configuration view | configure | |
Enter npb configuration view | npb | |
Enable MPLS decoding | parse-over-mpls enable | Enables filtering of inner layer fields for MPLS/MPLS + PW messages. |
Supported rule matching fields for MPLS packets
After enabling MPLS decoding, the rule matching items supported by common MPLS packets are as follows
Table 2 Supported rule matching fields for MPLS packets
MPLS packets | Supported rule matching items | Description |
|---|---|---|
MPLS + IPV4 | L2, EX, L3(src-ip, dst-ip, src-port, dst-port, ip-protocol) | |
MPLS + ETH + (vlans) + IPV4 | L2, EX, L3(src-mac, dst-mac, ethertype, src-ip, dst-ip, src-port, dst-port, ip-protocol) | |
MPLS + PW + ETH + (vlans) + IPV4 | L2, EX, L3(src-mac, dst-mac, ethertype, src-ip, dst-ip, src-port, dst-port, ip-protocol) | |
MPLS + ETH + LACP | L2, EX, L3(src-mac, dst-mac, ethertype) | |
MPLS + IPV6 | L2, EX, L3V6(src-ip, dst-ip, src-port, dst-port, ip-protocol) | Only support L2,EX,L3 default forward on CX102S |
MPLS + PW + ETH + (vlans) + IPV6 | L2, EX, L3V6(src-mac, dst-mac, ethertype, src-ip, dst-ip, src-port, dst-port, ip-protocol) | |
MPLS + ETH + (vlans) + IPV6 | L2, EX, L3V6(src-mac, dst-mac, ethertype, src-ip, dst-ip, src-port, dst-port, ip-protocol) |