Cisco vlan conf

Solo disponible en BuenasTareas
  • Páginas : 8 (1922 palabras )
  • Descarga(s) : 0
  • Publicado : 11 de febrero de 2012
Leer documento completo
Vista previa del texto
PT Activity 2-B: Basic VLAN Configuration

Topology Diagram

Addressing Table

Device | Interface | IP Address | Subnet Mask | Default Gateway |
S1 | VLAN 99 | 172.17.99.11 | 255.255.255.0 | N/A |
S2 | VLAN 99 | 172.17.99.12 | 255.255.255.0 | N/A |
S3 | VLAN 99 | 172.17.99.13 | 255.255.255.0 | N/A |
PC1 | NIC | 172.17.10.21 | 255.255.255.0 | 172.17.10.1 |
PC2 | NIC |172.17.20.22 | 255.255.255.0 | 172.17.20.1 |
PC3 | NIC | 172.17.30.23 | 255.255.255.0 | 172.17.30.1 |
PC4 | NIC | 172.17.10.24 | 255.255.255.0 | 172.17.10.1 |
PC5 | NIC | 172.17.20.25 | 255.255.255.0 | 172.17.20.1 |
PC6 | NIC | 172.17.30.26 | 255.255.255.0 | 172.17.30.1 |

Page 1 of 6


Port Assignments (Switches 2 and 3)

Ports | Assignment | Network |
Fa0/1 – 0/5 | VLAN 99 –Management&Native | 172.17.99.0/24 |
Fa0/6 – 0/10 | VLAN 30 – Guest(Default) | 172.17.30.0/24 |
Fa0/11 – 0/17 | VLAN 10 – Faculty/Staff | 172.17.10.0/24 |
Fa0/18 – 0/24 | VLAN 20 – Students | 172.17.20.0/24 |

Learning Objectives

• Perform basic configuration tasks on a switch
• Create VLANs
• Assign switch ports to a VLAN
• Add, move, and change ports
• Verify VLAN configuration• Enable trunking on inter-switch connections
• Verify trunk configuration
• Save the VLAN configuration

Task 1: Perform Basic Switch Configurations

Perform Basic Switch Configurations. Packet Tracer will only grade switch hostnames.

• Configure the switch hostnames.
• Disable DNS lookup.
• Configure an EXEC mode password of class.
• Configure a password of cisco for consoleconnections.
• Configure a password of cisco for vty connections.

Task 2: Configure and Activate Ethernet Interfaces

Configure the Ethernet interfaces of the six PCs with the IP addresses and default gateways from the addressing table.

Note: The IP address for PC1 will be marked as wrong for now. You will change the PC1 IP address later.

Task 3: Configure VLANs on the Switch

Step 1.Create VLANs on switch S1.

Use the vlan vlan-id command in global configuration mode to add VLANs to switch S1. There are four VLANs to configure for this activity. After you create the VLAN, you will be in vlan configuration mode, where you can assign a name to the VLAN with the vlan name command.

S1(config)#vlan 99
S1(config-vlan)#name Management&Native
S1(config-vlan)#exitS1(config)#vlan 10
S1(config-vlan)#name Faculty/Staff

S1(config-vlan)#exit
S1(config)#vlan 20
S1(config-vlan)#name Students S1(config-vlan)#exit S1(config)#vlan 30
S1(config-vlan)#name Guest(Default)
S1(config-vlan)#exit

Step 2. Verify that the VLANs have been created on S1.

Use the show vlan brief command to verify that the VLANs have been created.

S1#show vlan brief

VLAN NameStatus Ports
---- ------------------------------ --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
10 Faculty/Staff active
20 Students active
30 Guest(Default) active
99Management&Native active

Step 3. Configure and name VLANs on switches S2 and S3.

Create and name VLANs 10, 20, 30, and 99 on S2 and S3 using the commands from Step 1. Verify the correct configuration with the show vlan brief command.

What ports are currently assigned to the four VLANs you have created?

Step 4. Assign switch ports to VLANs on S2 and S3.

Refer to the port assignment table. Portsare assigned to VLANs in interface configuration mode, using the switchport access vlan vlan-id command. Packet Tracer will only grade the first interface in each range (the interface the PC is connected to). Normally you would use the interface range command, but Packet Tracer does not support this command.

S2(config)#interface fastEthernet0/6
S2(config-if)#switchport access vlan 30...
tracking img