woensdag 2 januari 2013

Packet tracer E3.6.5.1.3


Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#int fa0/1
R1(config-if)#no shut
R1(config-if)#int fa0/1.10
R1(config-subif)#encap dot1q 10
R1(config-subif)#ip address 172.17.10.1 255.255.255.0
R1(config-subif)#int fa0/1.20
R1(config-subif)#encap dot1q 20
R1(config-subif)#ip address 172.17.20.1 255.255.255.0
R1(config-subif)#int fa0/1.30
R1(config-subif)#encap dot1q 30
R1(config-subif)#ip address 172.17.30.1 255.255.255.0
R1(config-subif)#int fa0/1.99
R1(config-subif)#encap dot1q 99 native
R1(config-subif)#ip address 172.17.99.1 255.255.255.0

S1
Switch>en
Switch#vlan database
Switch(vlan)#vtp domain CCNA
Switch(vlan)#vtp password cisco
Switch(vlan)#exit
Switch#conf t
Switch(config)#hostname S1
S1(config)#ip default-gateway 172.17.99.1
S1(config)#spanning-tree vlan 1 priority 4096
S1(config)#spanning-tree vlan 10 priority 4096
S1(config)#spanning-tree vlan 20 priority 4096
S1(config)#spanning-tree vlan 30 priority 4096
S1(config)#spanning-tree vlan 99 priority 4096
S1(config)#vlan 10
S1(config-vlan)#name Faculty/Staff
S1(config-vlan)#vlan 20
S1(config-vlan)#name Students
S1(config-vlan)#vlan 30
S1(config-vlan)#name Guest(Default)
S1(config-vlan)#vlan 99
S1(config-vlan)#name Management&Native
S1(config-vlan)#exit
S1(config)# int fa0/1
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#int fa0/2
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#int fa0/3
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#int fa0/4
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#int fa0/5
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#int vlan 99
S1(config-if)#ip address 172.17.99.31 255.255.255.0

S2
Switch>en
Switch#vlan database
Switch(vlan)#vtp domain CCNA
Switch(vlan)#vtp client
Switch(vlan)#vtp password cisco
Switch(vlan)#exit
Switch#conf t
Switch(config)#hostname S2
S2(config)#ip default-gateway 172.17.99.1
S2(config)# int fa0/1
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#int fa0/2
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#int fa0/3
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#int fa0/4
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2config-if)#int fa0/11
S2(config-if)#switchport access vlan 10
S2(config-if)#switchport mode access
S2(config-if)#int fa0/18
S2(config-if)#switchport access vlan 20
S2(config-if)#switchport mode access
S2(config-if)#int fa0/6
S2(config-if)#switchport access vlan 30
S2(config-if)#switchport mode access
S2(config-if)#int vlan 99
S2(config-if)#ip address 172.17.99.32 255.255.255.0


S3
Switch>en
Switch#vlan database
Switch(vlan)#vtp domain CCNA
Switch(vlan)#vtp client
Switch(vlan)#vtp password cisco
Switch(vlan)#exit
Switch#conf t
Switch(config)#hostname S3
S3(config)#ip default-gateway 172.17.99.1
S3(config)# int fa0/1
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#int fa0/2
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#int fa0/3
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#int fa0/4
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#int vlan 99
S3(config-if)#ip address 172.17.99.33 255.255.255.0

100%

Geen opmerkingen:

Een reactie plaatsen