device# configure terminal
device(config)# vlan 10
device(config-vlan-10)#
device(config-vlan-10)# exit
device(config)# protocol mvrp
device(config-mvrp)#
device(config-mvrp)# exit
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# switchport
device(conf-if-eth-0/1)# switchport mode trunk
device(conf-if-eth-0/1)# switchport trunk allowed vlan add 10
device(conf-if-eth-0/1)# mvrp enable
device(conf-if-eth-0/1)# no shutdown
device(conf-if-eth-0/1)# do show mvrp --------------------------------------------------------------------------------------------- Total configured mvrp ports : 1 Global Status : Enabled Join-timer(in centiseconds) : 20 Leave-timer(in centiseconds) : 100 Leaveall-timer(in centiseconds) : 1000 --------------------------------------------------------------------------------------------- MVRP Port(s): ethe 0/1
The following example provides the steps in the previous configuration.
device# configure terminal device(config)# vlan 10 device(config-vlan-10)# exit device(config)# protocol mvrp device(config-mvrp)# exit device(config)# interface ethernet 0/1 device(conf-if-eth-0/1)# switchport device(conf-if-eth-0/1)# switchport mode trunk device(conf-if-eth-0/1)# switchport trunk allowed vlan add 10 device(conf-if-eth-0/1)# mvrp enable device(conf-if-eth-0/1)# no shutdown device(conf-if-eth-0/1)# do show mvrp --------------------------------------------------------------------------------------------- Total configured mvrp ports : 1 Global Status : Enabled Join-timer(in centiseconds) : 20 Leave-timer(in centiseconds) : 100 Leaveall-timer(in centiseconds) : 1000 --------------------------------------------------------------------------------------------- MVRP Port(s): ethe 0/1