Networked-Based Application Recognition (NBAR) for Classification
Router(config)# interface fastethernet 0/0 | Moves to interface configuration mode. |
Router(config)# ip nbar protocol-discovery | Turns on NBAR protocol discovery at the interface. |
Router(config)# exit | Returns to privileged mode. |
Router# show ip nbar port-map protocol-name | Displays the TCP/UDP port number(s) used by NBAR to classify a given protocol. |
Code View: Router# show ip nbar protocol-discovery
FastEthernet0/0 Input Output ----- ------ Protocol Packet Count Packet Count Byte Count Byte Count 5min Bit Rate (bps) 5min Bit Rate (bps) 5min Max 5min Max Bit Rate (bps) Bit Rate (bps) ------------------------ ------------------------ --- h323 424 0 295978 0 0 0 6000 0 dns 3809 0 1046342 0 0 0 4000 0 http 151 0 167355 0 0 0 4000 0
| Displays the statistics for all the interfaces on which NBAR is enabled. |
Note
NBAR is the discovery mechanism for class-map "match" statements when filtering by protocol.