Dell PowerEdge M520 Dell PowerConnect M6220/M6348/M8024 Switches Configuration - Page 30
Protocol-Based VLANs, Example #4: Viewing IP Subnet and MAC-Based VLAN Associations, CLI Example
View all Dell PowerEdge M520 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 30 highlights
Example #4: Viewing IP Subnet and MAC-Based VLAN Associations console#show vlan association mac MAC Address VLAN ID 00FF.F2A3.8886 10 console#show vlan association subnet IP Subnet IP Mask 192.168.25.0 255.255.255.0 192.168.1.11 255.255.255.255 VLAN ID ------10 10 Protocol-Based VLANs The software supports protocol-based VLANs, where only packets are bridged based on their layer 3 protocol. Protocol-based VLANs are most often used in situations where network segments contain hosts running multiple protocols such as ARP, IP, and IPX. You can associate any protocol-identified by the packet'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 ID number. You can also assign a name to the protocol group. Then, you add the protocol's Ethertype to the protocol group. Or, you can add a protocol to an existing protocol group. CLI Example The following commands create a vlan protocol group, name the group, add a protocol to it, and associate the protocol group with a port: console(config)#vlan protocol group 1 console(config)#vlan protocol group name 1 usergroup console(config)#vlan protocol group add protocol 2 ethertype 0x0800 The following command associates the protocol group with a port 1/g1: console(config)#interface ethernet 1/g1 console(config-if-1/g1)#protocol vlan group 1 To associate the protocol group with all ports, use the following command: console(config)#protocol vlan group all 1 30 Switching Configuration