Vous êtes sur la page 1sur 4

Step 1: Configure the Switches for Remote Acce

interface vlan 55
ip address 10.10.55.11 255.255.255.0
no shutdown
ip default-gateway 10.10.55.1
ex
interface vlan 55
ip address 10.10.55.12 255.255.255.0
no shutdown
ip default-gateway 10.10.55.1
ex
interface vlan 55
ip address 10.10.55.13 255.255.255.0
no shutdown
ip default-gateway 10.10.55.1
ex
-----------------------------------------------------Step 2: Configure Trunking.
interface range fastEthernet 0/19-24
switchport mode trunk
switchport trunk native vlan 55
ex
interface range fastEthernet 0/19-24
switchport mode trunk
switchport trunk native vlan 55
ex
interface range fastEthernet 0/19-24
switchport mode trunk
switchport trunk native vlan 55
ex
------------------------------------------------------Step 3: Configure VTP and VLANs.
a)
vtp mode server
vtp domain BRANCH
Setting device VLAN database password to vtpbranch
b)
vlan 40
name Staff
ex
vlan 50
name Admin
ex

vlan 55
name Management
ex
vlan 80
name Wireless
ex
c)

S2(config)#

vtp mode client


vtp domain BRANCH
vtp password vtpbranch
vtp mode client
vtp domain BRANCH
vtp password vtpbranch
d)

S3#

show vtp status


-----------------------------------------------------Step 4: Configure Interfaces for VLAN Access
S2(config)#
interface range fastEthernet 0/1-10
switchport mode access
switchport access vlan 40
ex
interface range fastEthernet 0/11-17
switchport mode access
switchport access vlan 50
ex
interface fastEthernet 0/18
switchport mode access
switchport access vlan 80
ex
S3(config)#
interface range fastEthernet 0/1-10
switchport mode access
switchport access vlan 40
interface range fastEthernet 0/11-17
switchport mode access
switchport access vlan 50
ex
interface fastEthernet 0/18
switchport mode access
switchport access vlan 80
ex

S3#
show vlan brief
VLAN Name Status Ports
1 default active Fa0/23, Fa0/24, Gig1/1, Gig1/2
40 Staff active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10
50 Admin active Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17
55 Management active
80 Wireless active Fa0/18
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
----------------------------------------------------Step 5: Configure Spanning Tree
S1(config)#
spanning-tree
spanning-tree
spanning-tree
spanning-tree

vlan
vlan
vlan
vlan

40
50
55
80

priority
priority
priority
priority

12288
12288
12288
12288

40
50
55
80

priority
priority
priority
priority

16384
16384
16384
16384

S2(config)#
spanning-tree
spanning-tree
spanning-tree
spanning-tree

vlan
vlan
vlan
vlan

Branch(config)#
interface fastEthernet 0/0
no shutdown
interface fastEthernet 0/0.40
encapsulation dot1Q 40
ip address 10.10.40.1 255.255.255.0
no shutdown
ex
interface fastEthernet 0/0.50
encapsulation dot1Q 50
ip address 10.10.50.1 255.255.255.0
no shutdown
ex
interface fastEthernet 0/0.55
encapsulation dot1Q 55
ip address 10.10.55.1 255.255.255.0
no shutdown
ex

interface fastEthernet 0/0.80


encapsulation dot1Q 80
ip address 10.10.80.1 255.255.255.0
no shutdown
Branch#
show vlan-switch
VLAN Name Status Ports
1 default active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
1 enet 100001 1500
0 0
1002 fddi 101002 1500
0 0
1003 tr 101003 1500
0 0
1004 fdnet 101004 1500
ieee
0 0
1005 trnet 101005 1500
ibm
0 0
Remote SPAN VLANs
Primary Secondary Type Ports
----------------------------------------------------------Step 7: Configure Port Security
S3(config)#
interface fastEthernet 0/2
switchport mode access
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation shutdown
ex
S3#show port-security address
Secure Mac Address Table
Vlan Mac Address Type Ports Remaining Age
(mins)
Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 1024

Vous aimerez peut-être aussi