Restrictions for Classifying Network Traffic Using NBAR
NBAR does not support the following applications:
-
Non-IP traffic.
-
Multiprotocol Label Switching (MPLS)-labeled packets. NBAR classifies only IP packets. You can, however, use NBAR to classify IP traffic before the traffic is handed over to MPLS. Use the modular QoS CLI (MQC) to set the IP differentiated services code point (DSCP) field on NBAR-classified packets and make MPLS map the DSCP setting to the MPLS experimental (EXP) setting inside the MPLS header.
-
NBAR processing. By design, NBAR processing is temporarily disabled during the In-Service Software Upgrade (ISSU). The following syslog message indicates the restart of the NBAR classification once ISSU is complete: “%NBAR_HA-5-NBAR_INFO: NBAR sync DONE!.”
-
Multicast packet classification.
-
Asymmetric flows with stateful protocols.
-
Packets that originate from or destined to a device running NBAR.
Note |
In the NBAR context, asymmetric flows are flows in which different packets go through different devices, for reasons such as load balancing implementation or asymmetric routing, where packets flow through different routes in different directions. |
NBAR is not supported on the following logical interfaces:
-
Dialer interfaces
-
Dynamic tunnels such as Dynamic Virtual Tunnel Interface (DVTI)
-
Fast Etherchannels
-
IPv6 tunnels that terminate on the device
-
MPLS
-
Overlay Transport Virtualization (OTV) overlay interfaces
Note |
In cases where encapsulation is not supported by NBAR on some links, you can apply NBAR on other interfaces of the device to perform input classification. For example, you can configure NBAR on LAN interfaces to classify output traffic on the WAN link. |
-
Generic routing encapsulation (GRE)
-
IPsec IPv4 tunnel (including tunneled IPv6) in protocol discovery mode and MQC mode
-
IPsec IPv6 tunnel in protocol discovery mode but not in MQC mode
-
Multipoint GRE/Dynamic Multipoint VPN (DMVPN) in protocol discovery mode
Note |
NBAR requires more CPU power when NBAR is enabled on tunneled interfaces. |
Note |
From Cisco IOS 15.5(3)M, NBAR functionality will not be supported on IOS, if you are impacted by this change, we recommend that you consider IOS XE as an alternative solution. |
If protocol discovery is enabled on both the tunnel interface and the physical interface on which the tunnel interface is configured, the packets that are designated to the tunnel interface are counted on both interfaces. On the physical interface, the packets are classified and are counted based on the encapsulation. On the tunnel interface, packets are classified and are counted based on the Layer 7 protocol.
For all protocols, only 16 combinations of subclassification per protocol can be configured. You can define a combination for subclassification using the match protocol protocol-name variable-field-name value command.