30 Switching ConfigurationExample #4: Viewing IP Subnet and MAC-Based VLAN Associationsconsole#show vlan association macMAC Address VLAN ID----------------- -------00FF.F2A3.8886 10console#show vlan association subnetIP Subnet IP Mask VLAN ID---------------- ---------------- -------192.168.25.0 255.255.255.0 10192.168.1.11 255.255.255.255 10Protocol-Based VLANsThe software supports protocol-based VLANs, where only packets are bridged based on their layer 3protocol. Protocol-based VLANs are most often used in situations where network segments contain hostsrunning multiple protocols such as ARP, IP, and IPX. You can associate any protocol—identified by thepacket’s Ethertype field (1536 to 65535)—with a VLAN ID.To identify a protocol with a VLAN, you first create a protocol group and assign a protocol group IDnumber. You can also assign a name to the protocol group. Then, you add the protocol’s Ethertype to theprotocol group. Or, you can add a protocol to an existing protocol group.CLI ExampleThe following commands create a vlan protocol group, name the group, add a protocol to it, andassociate the protocol group with a port:console(config)#vlan protocol group 1console(config)#vlan protocol group name 1 usergroupconsole(config)#vlan protocol group add protocol 2 ethertype 0x0800The following command associates the protocol group with a port 1/g1:console(config)#interface ethernet 1/g1console(config-if-1/g1)#protocol vlan group 1To associate the protocol group with all ports, use the following command:console(config)#protocol vlan group all 1