Example 159 Configuring a VLAN Range

walker1(config)#interface range fastEthernet 0/10 - 15

walker1(config-if-range)#switchport mode access walker1(config-if-range)#switchport access vlan 20 walker1(config-if-range)#spanning-tree portfast

%Warning: portfast should only be enabled on

ports connected to a single

host. Connecting hubs, concentrators, switches

, bridges, etc... to this

interface when portfast is enabled, can cause

temporary bridging loops.

Use with CAUTION

%Portfast will be configured in 6 interfaces

due to the range command

but will only have effect when the interfaces

are in a non-trunking mode.

walker1(config-if-range)#exit

You caa verify the VLANs and VTP with the show vlan command and the show vtp status

command, as demonstrated in Example 1-60.

Example 1-60. Verifying VTP and VLAN Status

walker1#show vlan

VLAN Name Status

Ports

1 default active

Fa0/1, Fa0/2, Fa0/4,

Fa0/6, Fa0/9, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

20 psv2 vlan20 active

Fa0/10, Fa0/11, Fa0/12, Fa0/13

Fa0/14, Fa0/15

100 psv2 vlan100 active

Fa0/5, Fa0/8

192 psv2 vlan192 active

300 psv2 vlan300 active

Fa0/3

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Transl Trans2

1 enet 100001 1500 - - - - - 0

0

20 enet 1b0020 1500 - - - - - 0

0

100 enet IL a 00 0 1500 - - - - - 0

0

192 enet 100192 1500 - - - - - 0

0

300 enet 100300 1500 - - - - - 0

0

1002 fddi 101002 1500 - - - - - 0

0

1003 tr 101003 1500 - - - - srb 0

0

1004 fdnet 101004 1500 - - 1 ieee - 0

0

1005 trnet 101005 1500 - - 1 ibm - 0

0

walker1#

walker1#show vtp status

VTP Version : 2

Configuration Revision : 3

Maximum VLANs supported locally : 1005

Number of existing VLANs : 9series of challenging laboratory exercises

VTP Operating Mode : Server

VTP Domain Name : walker

VTP Pruning Mode : Enabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disablednologies and gradually increase i

MD5 digest : 0xEF 0xD8 0x4D 0x0A 0x57 0x8F 0x7E

0x14

Configuration last modified by 172.16.192.16 at 3-1-93 01:10:51

Local updater ID is 172.16.192.16 on interface Vl192 (lowest numbered

VLAN interfa

walker1#

Step 3 calls for you to configure 8G2.1Q trunking between the switches. The configuration on both switches will be identical, as long as both are in the Catalyst 35xx family. Example 1-61 demonstra the 8G2.1Q trunk configuration on the walker1 switch for interfaces Gig G/2 and Fast G/17.

0 0

Post a comment