VLAN Operation
1. show vlan bri
2. conf t
3. vlan 20
4. name MGMT
5. conf t
6. int fa0/19
7. switchport access vlan 20
8. conf t
9. int range fa0/3 - 5
10. switchport access vlan 12
VLAN Trunk Protocol
1. VLAN add/delete
2. Change propagated
3. Sync to latest change
Modes
-Server
-Client
-Transparent
*Pruning
http://en.wikipedia.org/wiki/VTP#VTP_Modes
VTP Operation
1. VTP advertisement are send as multicast frame.
2. Servers and client sync to the latest Revision Number.
3. VTP advertisement are sent every 5 min.
4. All the previous VTP info will be flush before receive.
VTP Syntax
1. show vtp status
2. conf t
3. vtp domain UPMicnd
4. vtp mode server/client/transparent
5. vtp password
6. vtp pruning
7. conf t
8. int fa0/0
9. switchport access trunk encap dot1q
Spanning Tree Protocol
-Avoid Switch Redundant Loops,
-Broadcast Storm, MAC Table Unstable, Multiple Frames Copy
-Elect Root Bridge (Per Broadcast Domain)
-Bridge ID->Priority, MAC address
-Elect Root Port (Per non-Root Bridge)
-Elect Designated Port (Per Segment)
-Remaining Port will be blocked
Spanning-Tree Port States
1. Blocking 20sec <-Topology Change (BPDU Packet Loss) 2. Listening 15sec <- Link comes up 3. Learning 15sec 4. Forwarding
PortFast <- By pass the listening and learning state
1. conf t
2. int fa0/0 (should be only access port/NOT for TRUNK port)
3. spanning-tree portfast
1. show spanning-tree
Per VLAN spanning-tree Plus (PVST+)
Encapsulation->dot1q
Add in SystemID->VLAN
1. conf t
2. spanning-tree mode rapid-pvst
3. exi
4. show spanning-tree
Set Root Bridge
1. config t
2. spanning-tree vlan [1] root primary
Routing between VLAN (Inter VLAN routing)
-Sub interfaces on router
On the switch
1. conf t
2. int [fa0/7]
3. switchport mode trunk
4. switchport trunk encapsulation dot1q
5. conf t
6. int vlan 10
7. ip add [IP] [255.255.255.0]
5. conf t
6. int vlan 20
7. ip add []
8. ip routing
OR
On the router
*LINK
1. http://testinside.blogspot.com/2007/04/ccna-acl-sim.html
Wednesday, 14 May 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment