|
1
|
- OSPF, EIGRP, and Switches
- Command Review
|
|
2
|
- Classless
- RIP version 1 & IGRP cannot use
- OSPF and EIGRP can use it
|
|
3
|
|
|
4
|
|
|
5
|
|
|
6
|
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10
|
|
|
11
|
|
|
12
|
|
|
13
|
|
|
14
|
|
|
15
|
|
|
16
|
|
|
17
|
|
|
18
|
|
|
19
|
|
|
20
|
|
|
21
|
|
|
22
|
|
|
23
|
|
|
24
|
|
|
25
|
|
|
26
|
|
|
27
|
|
|
28
|
|
|
29
|
|
|
30
|
|
|
31
|
- Basic Setup
- Set the switch name and passwords, use the following commands:
- (config)#hostname Alaska
- (config)#enable password level 1 cisco (user password)
- (config)#enable password level 15 class (enable password)
- Set IP information, use the following commands:
- Alaska(config)#ip address 205.7.5.2 255.255.255.0
- Alaska(config)#ip default-gateway 205.7.5.1
|
|
32
|
- Trunking on the Switch
- Set the switch to trunk, use the following commands:
- (config)#interface fa0/1
- (config-if)#switchport mode trunk
- (config-if)#switchport trunk encapsulation isl (ISL is used on 1900
switches)
- (config-if)#switchport trunk encapsulation dot1q (802.1Q is used on =
2950
switches)
|
|
33
|
- Trunking on the Router
- Set trunking on the router, use the following commands:
- (config)#interface FastEthernet0/0.1
- (config-if)#encapsulation dot1Q 1 native
- (config-if)# ip address 172.16.1.1 255.255.255.0
- (config-if)# interface FastEthernet0/0.10
- (config-if)# encapsulation dot1Q 10
- (config-if)# ip address 172.16.10.1 255.255.255.0
- (config-if)# interface FastEthernet0/0.20
- (config-if)# encapsulation dot1Q 20
- (config-if)# ip address 172.16.20.1 255.255.255.0
|
|
34
|
- Spanning Tree Protocol
- Set the switch Priority, use the following commands:
- (config)#interface fa0/1
- (config-if)#spanning-tree port-priority priority
- NOTE: Bridge priority =
must
be in increments of 4096 and must be within range 0 to 61440. Possib=
le
priorities include 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672,
32768, 36864, 40960, 45056, 49152, 53248, 57344, and 61440.
- OR
- (config-if)# spanning-tree vlan vlan-id root primary
- Will check for the lowest ID on all switches in VLAN and make this o=
ne
the lowest ID to become the root.
|
|
35
|
- VLANs
- Set the VLAN, use the following commands:
- (config)#interface fa0/5
- (config-if)#switchport mode access
- (config-if)#switchport access vlan 2
- All ports are part of VLAN 1 by default
|
|
36
|
- VTP
- Set the VTP, use the following commands:
- (config)# vlan database
- (config-vlan)#switchport mode access
- Set the VTP domain, use the following command:
- (config-vlan)#vtp domain Cisco
- Set the VTP to be the client or server:
- (config-vlan)#vtp [client|server]
- Set the VLAN Names, use the following commands:
- (config-vlan)# vlan 10 name faculty
- (config-vlan)# vlan 20 name student
- VLAN names only have to be set on the server.
|
|
37
|
- Switch Port Security
- Set the port security, use the following commands:
- (config)#interface fa0/5
- (config-if)#switchport port-security
- Set the security on ports to allow only one host, use the following
command:
- (config-if)#switchport port-security maximum 1
- Set the security on ports to shutdown if violated, use the following
command:
- (config-if)#switchport port-security violation shutdown
|