MVRP Configuration
show mvrp interfaces
Section titled “show mvrp interfaces”[Command] show mvrp interfaces
[Purpose]
View the MVRP status of the interface
[View]
System view
[Use Cases]
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
| Item | Description |
|---|---|
| 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 |
mvrp enable(global)
Section titled “mvrp enable(global)”[Command] mvrp enable
[Purpose]
Enable MVRP function globally
[View]
System view
[Use Cases]
sonic(config)# mvrp enablemvrp enable(port)
Section titled “mvrp enable(port)”[Command] mvrp enable
[Purpose]
Port enables MVRP function
[View]
Interface view
[Use Cases]
sonic(config)# interface ethernet 1sonic(config-if-1)# mvrp enablemvrp {jointimer|leavealltimer|leavetimer|periodictimer}
Section titled “mvrp {jointimer|leavealltimer|leavetimer|periodictimer}”[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]
sonic(config)# interface ethernet 1sonic(config-if-1)# mvrp jointimer 100