datekillo.blogg.se

Show mac address vlan
Show mac address vlan









show mac address vlan

Mac-vlan mac-address mac-addr vlan vlan-id The configurations of the port can take effect only after it leaves the LAG.įollow these steps to bind the MAC address to the VLAN: The member port of an LAG (Link Aggregation Group) follows the configuration of the LAG and not its own. In the Port Enable section, select the desired ports to enable MAC VLAN, and click Apply. You need to enable MAC VLAN for your desired ports manually.Ĭhoose the menu L2 FEATURES > VLAN > MAC VLAN to load the following page.įigure 2-2 Enabling MAC VLAN for the Port One MAC address can be bound to only one VLAN.īy default, MAC VLAN is disabled on all ports. Give a MAC address description for identification with up to 8 characters.Įnter the ID number or name of the 802.1Q VLAN that will be bound to the MAC VLAN. For details, refer to Configuring 802.1Q VLAN.Ĭhoose the menu L2 FEATURES > VLAN > MAC VLAN and click to load the following page.įollow these steps to bind the MAC address to the 802.1Q VLAN:ġ)Enter the MAC address of the device, give it a description, and enter the VLAN ID to bind it to the VLAN.Įnter the MAC address of the device in the format of 00-00-00-00-00-01. When the port receives a tagged data packet, the switch will directly process the data packet according to the processing rule of the 802.1Q VLAN.īefore configuring MAC VLAN, create an 802.1Q VLAN and set the port type according to network requirements. Otherwise, the switch will process the data packet according to the processing rule of the 802.1 Q VLAN. If there is a match, the switch will forward the data packet. If no, the switch will continue to match the data packet with the matching rules of other VLANs (such as the protocol VLAN). If yes, the switch will insert the corresponding tag to the data packet and forward it within the VLAN. When a port in a MAC VLAN receives an untagged data packet, the switch will first check whether the source MAC address of the data packet has been bound to the MAC VLAN. To complete MAC VLAN configuration, follow these steps:

show mac address vlan

Each laptop can access only the server in the VLAN it joins.

show mac address vlan

In this way, the MAC address determines the VLAN each laptop joins. To meet this requirement, simply bind the MAC addresses of the laptops to the corresponding VLANs respectively. It is required that Laptop A can only access Server A and Laptop B can only access Server B, no matter which meeting room the laptops are being used in. Server A is in VLAN 10 while Server B is in VLAN 20. Department A uses Server A and Laptop A, while Department B uses Server B and Laptop B. Two departments share all the meeting rooms in the company, but use different servers and laptops. The figure below shows a common application scenario of MAC VLAN.įigure 1-1 Common Application Scenario of MAC VLAN In this way, terminal devices always belong to their MAC VLANs even when their access ports change. It divides VLANs based on the MAC addresses of terminal devices.

#Show mac address vlan free#

Using MAC VLAN can free the user from such a problem. If port 1 and port 2 belong to different VLANs, the user has to re-configure the switch to access the original VLAN.

show mac address vlan

For example, a terminal device that accessed the switch via port 1 last time may change to port 2 this time. With the popularity of mobile office, at different times a terminal device may access the network via different ports. It is a common way of division but isn’t suitable for those networks that require frequent topology changes.











Show mac address vlan