Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### VLAN Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure Dynamic Multicast Learning

By default, GMRP is enabled globally and can be enabled or disabled on a per-port basis. If GMRP is disabled globally in the switch, use the `set gmrp enable` command to enable GMRP globally, or use the `set port gmrp id enable` command. If GMRP is disabled globally or on a specific port, dynamic multicast learning will not take place globally or on that port. By default, all of the ports in a switch are created (but only port 0/1 is up) and added as member ports of the default VLAN, vlan 1. See Default Settings for the example topology for this procedure.

1. Retrieve the current GMRP status.

       SEFOS# show vlan device info
        Vlan device configurations
        --------------------------
       Vlan Status                       : Enabled
       Vlan Oper status                  : Enabled
       Gvrp status                       : Enabled
       Gmrp status                       : Enabled
       Gvrp Oper status                  : Enabled
       Gmrp Oper status                  : Enabled
       Mac-Vlan Status                   : Disabled
       Subnet-Vlan Status                : Disabled
       Protocol-Vlan Status              : Enabled
       Bridge Mode                       : Customer Bridge
       Base-Bridge Mode                  : Vlan Aware Bridge
       Traffic Classes                   : Enabled
       Vlan Operational Learning Mode    : IVL
       Version number                    : 1
       Max Vlan id                       : 4094
       Max supported vlans               : 4094
       Unicast mac learning limit        : 16334

2. Retrieve the GMRP value on the current port.

       SEFOS# show vlan port config port ex 0/3
       Vlan Port configuration table
        --------------------------
       Port Ex0/3
       Port Vlan ID                        : 1
       Port Acceptable Frame Type          : Admit All
       Port Ingress Filtering              : Disabled
       Port Mode                           : Hybrid
       Port Gvrp Status                    : Enabled
       Port Gmrp Status                    : Enabled
       Port Gvrp Failed Registrations      : 0
       Gvrp last pdu origin                : 00:00:00:00:00:00
       Port Restricted Vlan Registration   : Disabled
       Port Restricted Group Registration  : Disabled
       Mac Based Support                   : Disabled
       Subnet Based Support                : Disabled
       Port-and-Protocol Based Support     : Enabled
       Default Priority                    : 0
       Filtering Utility Criteria          : Default
       Port Protected Status               : Disabled
       -------------------------------------------------------

   If the switch has not been rebooted, global or port GRMP status might be disabled.

3. Disable GMRP in switch B.

       SEFOS# configure terminal
       SEFOS(config)# set gmrp disable
       SEFOS(config)# end

4. In switch A, configure the static multicast MAC address.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/3
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit
       SEFOS(config)# mac-address-table static multicast 01:02:03:04:05:06 vlan 1 interface extreme-ethernet 0/3

5. Review the MAC address table details in switch A.

       SEFOS# show mac-address-table static multicast
       Static Multicast Table
       ----------------------
       VLAN            : 1
       Mac Address     : 01:02:03:04:05:06
       Receive Port    :
       Member Ports    : Ex0/3
       Forbidden Ports :
       Status          : Permanent
       ---------------------------------------
       Total Mac Addresses displayed: 1

6. Review the MAC address table details by in switch B.

       SEFOS# show mac-address-table
       VLAN    Mac Address         Type     Ports
       ----    -----------         ----     -----
       1       00:01:02:03:04:02   Learnt   Ex0/3 (Switch A, port Ex0/3 Mac addr)
       Total Mac Addresses displayed: 1

7. Enable GMRP globally in switch B, and review the MAC address table details.

       SEFOS# configure terminal
       SEFOS(config)# set gmrp enable
       SEFOS# show mac-address-table
       VLAN    Mac Address         Type     Ports
       ----    -----------         ----     -----
       1       00:01:02:03:04:02   Learnt   Ex0/3 (Switch A, port Ex0/3 Mac addr)
       1       01:02:03:04:05:06   Learnt   Ex0/3
       Total Mac Addresses displayed: 2

Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices |