# Notes - MPP (IOS-XE)

MPP (management plane protection) on IOS-XE is quite basic. You simply define the inband interface you would like to use as a management interface, and define which protocols are allowed.



Be aware that once you define the mgmt interface, no other mgmt traffic will be allowed on any other ports! This can be quite dangerous, as you could lock yourself out of the device. For example, the following config will only allow SNMP on BDI254. SSH, Telnet, etc. will be droped on all interfaces, locking yourself out of the router.

```
control-plane host
 management-interface BDI254 allow snmp
```



To re-iterate: once the above configuration is set, the only management traffic allowed is SNMP incoming on BDI254. All other mgmt protocols will be denied on all interfaces.



You can define multiple mgmt interfaces as follows:

```
control-plane host
 management-interface BDI254 allow snmp
 management-interface Gi2 allow telnet
```



You can confirm the configuration and packet counts using the following show command:

<div align="left"><figure><img src="https://3072390383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUz2C3GqnZcWhoVL6jfk%2Fuploads%2F4mLKGovoyLfQ95X4BD7k%2Fimage.png?alt=media&#x26;token=8a7f19f0-4512-4cc5-8c61-faaf92e8c308" alt=""><figcaption></figcaption></figure></div>



You can also filter the output on a per-protocol basis:

<div align="left"><figure><img src="https://3072390383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUz2C3GqnZcWhoVL6jfk%2Fuploads%2FrfGmvixk3Je2lhtgJnji%2Fimage.png?alt=media&#x26;token=f89db89a-6348-4d5d-b346-770037970abb" alt=""><figcaption></figcaption></figure></div>



### Comparisons to MPP on IOS-XR <a href="#e539db55-63fc-41a6-af1c-f9d763eab99d" id="e539db55-63fc-41a6-af1c-f9d763eab99d"></a>

IOS-XE does not allow you to specify filters in MPP. You can simply control the traffic at the incoming interface level, and that is all. With IOS-XR, you can filter the acceptable source IP addresses.



With IOS-XR, you specify interfaces as either inband or out-of-band. Theoretically, if you specify a physical data interface as OoB, it should not process data plane traffic any longer. However, I was not able to verify this on XRv9K. With IOS-XE, the interface is always inband. It will still process data plane packets after you configure it as a mgmt interface. In fact, with IOS-XE, you are limited to only using in-band interfaces. You cannot specify the external Mgmt interface under MPP.



### Further Reading <a href="#ce3e5996-f8c6-461b-8be0-cc3dcf36e999" id="ce3e5996-f8c6-461b-8be0-cc3dcf36e999"></a>

[https://www.cisco.com/c/en/us/td/docs/ios/security/configuration/guide/sec\_mgmt\_plane\_prot.html](https://www.cisco.com/c/en/us/td/docs/ios/security/configuration/guide/sec_mgmt_plane_prot.html)
