---
title: MVRP Configuration
slug: routing/mvrp-configuration
createdAt: 2025-12-04T04:27:17.434Z
---

## <font color="#1d50a2">MVRP Configuration</font>

### <font color="#1d50a2">show mvrp interfaces</font>

**\[Command]**
**show mvrp interfaces**

**\[Purpose]**

View the MVRP status of the interface

**\[View]**

System view

**\[Use Cases]**

```plaintext
sonic# show mvrp interfaces
+------------+----------+-------------------+-----------------+
| Port | Status | Registered VLAN | Declared VLAN |
+============+==========+===================+=================+
| Ethernet1 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet2 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet3 | disabled | | |
+------------+----------+-------------------+-----------------+
| Ethernet4 | disabled | | |
+------------+----------+-------------------+-----------------+
```

Description of the **show mvrp interfaces** command output

| <font color="#0C121D">**Item**</font> | <font color="#0C121D">**Description**</font>                              |
| ------------------------------------- | ------------------------------------------------------------------------- |
| Port                                  | Port name                                                                 |
| Status                                | MVRP function enabled status                                              |
| Registered VLAN                       | The list of registered VLANs, which are the dynamically learned VLANs     |
| Declared VLAN                         | The list of declared VLANs, which are the VLANs advertised by this device |

### <font color="#1d50a2">mvrp enable(global)</font>

**\[Command]**
**mvrp enable**

**\[Purpose]**

Enable MVRP function globally

**\[View]**

System view

**\[Use Cases]**

```plaintext
sonic(config)# mvrp enable
```

### <font color="#1d50a2">mvrp enable(port)</font>

**\[Command]**
**mvrp enable**

**\[Purpose]**

Port enables MVRP function

**\[View]**

Interface view

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 1
sonic(config-if-1)# mvrp enable
```

### <font color="#1d50a2">mvrp \{jointimer|leavealltimer|leavetimer|periodictimer\} *time-value*</font>

**\[Command]**
**mvrp \{jointimer|leavealltimer|leavetimer|periodictimer} *time-value***

**\[Purpose]**

Configure MVRP timer time

**\[Parameter]**

| **Parameter** | **Description**                                                                                                    |
| ------------- | ------------------------------------------------------------------------------------------------------------------ |
| jointimer     | MVRP Join timer. Controls the interval at which Join messages are sent                                             |
| leavealltimer | MVRP LeaveAll timer. Controls the periodic event that deregisters all attributes, forcing all peers to re-register |
| leavetimer    | MVRP Leave timer. Controls the waiting period before an attribute is deregistered after a Leave message is sent    |
| periodictimer | MVRP Periodic Transmission timer. Controls the interval for sending periodic MVRP declarations                     |
| *time-value*  | Timer value in centiseconds. The range is 10 to 32760 cs (0.1 to 327.6 seconds)                                    |

**\[View]**

Interface view

**\[Use Cases]**

```plaintext
sonic(config)# interface ethernet 1
sonic(config-if-1)# mvrp jointimer 100
```

