nanaxent.blogg.se

How to config vlan on cisco switch
How to config vlan on cisco switch















– Verify the management VLAN configuration by using R1 to telnet the IP address of VLAN 10 on SW1. Success rate is 100 percent (5/5), round-trip min/avg/max = 4/39/100 ms Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds: SW1(config-if)# switchport access vlan 10īy this point you should now be able to ping R1’s FastEthernet0/0 interface as shown below SW1(config-if)# interface FastEthernet0/1 – Assign the FastEthernet0/1 interface on SW1 to VLAN 10. So Interface Vlan10 is used for VLAN 10 whereas interface Vlan20 would be used for VLAN 20.Įnter configuration commands, one per line. To complete this objective you first need to create the VLAN interface by going into global configuration and then VLAN interface configuration mode by using the command interface vlan # Keep in mind that the VLAN interface number is proportional to the vlan number created.

how to config vlan on cisco switch

In this lab you will familiarize yourself with VLAN interface configuration mode. Layer 2 Cisco switches include Cisco 2900XL, 29. Only users that belong to a VLAN are able to access and manipulate the data on that VLAN. In scenarios where sensitive data may be broadcast on a network, VLANs can be created to enhance security by designating a broadcast to a specific VLAN. This interface is called the Management VLAN interface. A Virtual Local Area Network (VLAN) allows you to logically segment a Local Area Network (LAN) into different broadcast domains. Layer 2 only switches can only have a single active vlan interface at any given time.

How to config vlan on cisco switch Pc#

When a PC on VLAN 10 needs to communicate to a pc on VLAN 20 it will use the vlan interface as the default gateway and the switch will route the packet via layer3 and the switch will then switch the packet at layer2 in the new VLAN. Both have a VLAN interface assigned to each with an IP address such as 192.168.10.0/24 and 192.168.20.0/24. In a Multi-Layer switched network, switches such as the Cisco 3550 and Cisco 3560 use VLAN interfaces as default gateways for the PC’s and other host machines on the network to communicate with other IP Networks.įor example A Cisco 3550 has 2 VLAN’s, VLAN 10 and VLAN 20.

how to config vlan on cisco switch

Basically the switch is its own router-on-a-stick, which is discussed in lab 4-20. Multi-Layer switches use VLAN interfaces to enable multi-layer routing functions on a single switch. Simply assign an IP address and subnet mask to interface VLAN1. Having a VLAN Interface gives layer 2 devices the ability to communicate with other devices at layer 3. The VLAN is configured already on all ports by default - VLAN1. A VLAN Interface can be assigned an IP address, bridge group, interface description and even a quality of service policy. VLAN will be configured and then interfaces will be assigned according diagram. You have the ability to configure these interfaces just as you would a FastEthernet interface. First of all, let’s configure on Cisco Switch 01 (letsconfig-SW-01). When you’re configuring a switch you will see these interfaces represented as a vlan interface. In the switching world, a logical interface for a VLAN is called a Switched Virtual Interface.















How to config vlan on cisco switch