Sun Ethernet Fabric Operating System

Exit Print View

Updated: July 2015
 
 

Define VLAN Tagged Packets

You can define a class of VLAN tagged packets and apply them to an interface.

  1. Use the mac access-list command to define the VLAN packages.
    SEFOS# configure terminal 
    SEFOS(config)# mac access-list extended 50 
    SEFOS(config-ext-macl)# permit any any Vlan 1000 
    SEFOS(config-ext-macl)# exit 
    SEFOS(config)# mac access-list extended 55 
    SEFOS(config-ext-macl)# permit any any 
    SEFOS(config-ext-macl)# exit 
    
  2. Apply the tagged packets to interface 0/3.
    SEFOS(config)# interface extreme-ethernet 0/3 
    SEFOS(config-if)# mac access-group 50 in 
    SEFOS(config-if)# mac access-group 55 in 
    SEFOS(config-if)# end 
    
  3. Review the access list for mac 50.
    SEFOS# show access-lists mac 50 
    Extended MAC Access List 50 
    ----------------------------- 
    Filter Priority            : 1 
    Ether Type                 : 0 
    Protocol Type              : 0 
    Vlan Id                    : 1000 
    User-Priority              : 0 
    Destination MAC Address    : 00:00:00:00:00:00 
    Source MAC Address         : 00:00:00:00:00:00 
    In Port List               : Ex0/3 
    Filter Action              : Permit 
    Status                     : Active 
    
  4. Review the access list for mac 55.
    SEFOS# show access-lists mac 55 
    Extended MAC Access List 55 
    ----------------------------- 
    Filter Priority            : 1 
    Ether Type                 : 0 
    Protocol Type              : 0 
    Vlan Id                    : 0 
    User-Priority              : 0 
    Destination MAC Address    : 00:00:00:00:00:00 
    Source MAC Address         : 00:00:00:00:00:00 
    In Port List               : Ex0/3 
    Filter Action              : Permit 
    Status                     : Active