Switch vlan
Upcoming SlideShare
Loading in...5
×
 

Switch vlan

on

  • 190 views

 

Statistics

Views

Total Views
190
Views on SlideShare
190
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Switch vlan Switch vlan Presentation Transcript

  • Spanning Tree Protocol • Spanning Tree Protocol (STP) uses Spanning Tree Algorithm to avoid the Switching loops in layer-2 devices (bridges or switches). • STP works when multiple switches are used with redundant links avoiding Broadcast Storms, Multiple Frame Copies & Database instability. • First Developed By DEC • STP is a open standard (IEEE 802.1D)
  • Spanning Tree Protocol Root :A STP Root ID:32768.0000-0000-00001 Bridge ID:32768.0000-0000-00001 I'm the Root Switch A FA0/24 FA0/23 I'm the Root I'm the Root FA0/24 FA0/23 FA0/23 Switch B FA0/24 Switch D Switch C Bridge ID:32768.0000-0000-00002 Bridge ID:32768.0000-0000-00003 Root ID:32768.0000-0000-00002 Root ID:32768.0000-0000-00003 Root :B Root :C
  • Spanning Tree Protocol Root :A STP Root ID:32768.0000-0000-00001 Bridge ID:32768.0000-0000-00001 Switch A FA0/24 FA0/23 I'm the Root Because MY ID is Lesser I'm the Not Root Because B ID is Lesser FA0/24 FA0/23 FA0/23 Switch B Bridge ID:32768.0000-0000-00002 Root ID:32768.0000-0000-00002 B Root ID:32768.0000-0000-00002 Root :B FA0/24 Switch D Switch C Bridge ID:32768.0000-0000-00003 Root ID:32768.0000-0000-00002 ID:32768.0000-0000-00003 Root :C :B
  • Spanning Tree Protocol Root :A STP A Root ID:32768.0000-0000-00001 Root ID:32768.0000-0000-00001 Bridge ID:32768.0000-0000-00001 Switch A FA0/24 I'm the Not Root Because A ID Is Lesser FA0/23 B is not Root Because A ID is Lesser FA0/24 FA0/23 FA0/23 Switch B FA0/24 Switch D Switch C Bridge ID:32768.0000-0000-00002 Bridge ID:32768.0000-0000-00003 Root ID:32768.0000-0000-00001 ID:32768.0000-0000-00002 Root ID:32768.0000-0000-00001 ID:32768.0000-0000-00002 Root :A :B Root :A :B
  • Spanning Tree Protocol Root :A Root ID:32768.0000-0000-00001 Bridge ID:32768.0000-0000-00001 D Port Switch A tr o P D M bp M Sp e ed 0 10 10 0 ed s Root Port FA0/23 e Sp bp s FA0/24 D Port Non D. Port FA0/24 FA0/23 FA0/23 Switch B Root Port FA0/24 Speed 100 Mbps X Switch C Bridge ID:32768.0000-0000-00002 Bridge ID:32768.0000-0000-00003 Root ID:32768.0000-0000-00001 Root ID:32768.0000-0000-00001 Root :A Root :A
  • STP Terminology • BPDU – All switches exchange information through what is called as Bridge Protocol Data Units (BPDUs) – BPDUs contain a lot of information to help the switches determine the topology and any loops that result from that topology. – BPDUs are sent every 2 sec • Bridge ID – Each switch has a unique identifier called a Bridge ID or Switch ID – Bridge ID = Priority + MAC address of the switch – When a switch advertises a BPDU , they place their switch id in these BPDUs.
  • STP Terminology • Root Bridge – The bridge with the Best (Lowest) ID. – Out of all the switches in the network , one is elected as a root bridge that becomes the focal point in the network. • Non-Root bridge – All Switches other than the Root Bridge are Non-Root Bridges
  • STP Terminology • Designated port – Either a port On a root bridge or a port that has been determined as having the best (lower) cost. – A designated port will always in Forward Mode • Root port – The link directly connected to the root bridge, or the shortest path to the root bridge. – Priority and Alternatives if Config occurred. • Root port with the least cost (Speed) connecting to the root bridge. • The bridge with the Best (Lowest) Switch ID. • Lowest Physical Port Number. – Only One root port will Be in Bridge or switch. • Non Designated port – All the Port or ports which are blocked by STP to avoid switching loop. – A Non Designated port Will Always in Blocked Mode.
  • Switch - Port States • Blocking - 20 Sec Or No Limits. • Listening - 15 Sec. • Learning - 15 Sec. • Forwarding - No Limits. • Disable - No Limits.
  • Virtual LAN • A Layer 2 Security • Divides a Single Broadcast domain into Multiple Broadcast domains. • By default all ports of the switch are in VLAN1 . This VLAN1 is known as Administrative VLAN or Management VLAN • VLAN can be created from 2 – 1001 • Can be Configured on a Manageable switch only • 2 Types of VLAN Configuration – Static VLAN – Dynamic VLAN
  • Static VLAN • Static VLAN’s are based on port numbers • Need to manually assign a port on a switch to a VLAN • Also called Port-Based VLANs • It can be a member of single VLAN and not multiple VLAN’s
  • Dynamic VLAN • Dynamic VLAN’s are based on the MAC address of a PC • Switch automatically assigns the port to a VLAN • Each port can be a member of multiple VLAN’s • For Dynamic VLAN configuration, a software called VMPS( VLAN Membership Policy Server) is needed
  • Important Notes • The PC port from which you Telnet to the switch must be in a Default VLAN • If all the ports are in different VLAN’s ,can you Telnet to the switch? Answer : NO • So to remove the VLAN’s enter through console port
  • VLAN - Lab Diagram Default VLAN i.e. VLAN No. 1 192.168.20.1 192.168.20.2 192.168.20.3 192.168.20.6 192.168.20.5 192.168.20.4 SWITCH 192.168.20.7 192.168.20.8 192.168.20.9
  • VLAN - Lab Diagram Sales Vlan no. 10 Sales Vlan no. 10 192.168.20.1 192.168.20.2 192.168.20.3 SWITCH
  • VLAN - Configuration Sales Vlan no. 10 192.168.20.1 Sales Vlan no. 10 192.168.20.2 192.168.20.3 SWITCH
  • VLAN - Lab Diagram Sales Vlan no. 10 192.168.20.1 Sales Vlan no. 10 192.168.20.2 192.168.20.3 SWITCH
  • Trunking Configuration Sales Vlan no. 10 192.168.20.1 Marketing Vlan no. 20 192.168.20.2 192.168.20.3 s65 Sales Vlan no. 10 192.168.20.6 Marketing Vlan no. 20 192.168.20.5 192.168.20.4 Fa0/24 Fa0/24 S75
  • Virtual LAN Trunking Protocol • VTP is a CISCO proprietary protocol • used to share the VLAN configurations with multiple switches. • Information will be passed only if switches connected with FastEthernet or higher ports. • Note: Switches Should be configure with same Domain. Domain are not Case sensitive.
  • VTP Modes VTP Mode are of three types : • Server Mode – A Switch configured in Server mode can Add , Modify and Delete VLAN’s – A Default VTP mode for all switches • Client Mode – A switch configured in Client mode cannot Add , Modify and Delete its VLAN configurations – Doesn’t store its VLAN configuration information in the NVRAM. Instead , learns it from the server every time it boots up • Transparent Mode – A switch configured in a Transparent Mode can Add , Modify and Delete VLAN configurations. Changes in one transparent switch will not affect any other switch.
  • VTP Messages • Advertisement Request • Subset Advertisement • Summary Advertisement
  • VLAN Trunking Protocol Configuration Sales Vlan no. 5 192.168.20.1 Marketing Vlan no. 6 192.168.20.2 192.168.20.3 VTP Server Sales Vlan no. 5 192.168.20.6 Fa0/24 Marketing Vlan no. 6 192.168.20.5 192.168.20.4 Fa0/24 VTP Client
  • CDP • Cisco Property Protocol. • CDP is enable by default in All Cisco Networking Devices. • CDP Advertisement are send through all the ports by default. • CDP Advertisement are send every 60 second. • Advertisement are send via multicast.
  • Advantages Of CDP • Once the Layer 1 is Active CDP Sends the information to its neighbor. • It can be used for Layer 1, layer 2, layer 3 trouble shouting. • Information – – – – – Logical Address (if define). Hostname (given by hostname command). Hardware Platform. IOS Version. Interface Type and Interface Number of local and remote device connected.
  • Disadvantages Of CDP • CDP Can be used only between Cisco Devices. • Information about only directly connected neighbors can be known. • Can be used to trouble only between two Cisco devices not any other like Pc To switch.
  • CDP HYD Bombay E0 surat sri E0 E0 E0 CHE Agra E0 E0 S24 Simla E0 S50 DEL E0
  • THE END
  • Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:>telnet 192.168.20.165 Connecting To 192.168.20.165... User Access Verification Password: ****
  • switch65> switch65> Enable Password: **** Switch65#Show Vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 Default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 1002 fddi-default act/unsup 1003 trcrf-default act/unsup 1004 fddinet-default act/unsup 1005 trbrf-default act/unsup --More--
  • VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 1500 0 0 1002 fddi 101002 1500 0 0 1003 trcrf 101003 4472 1005 3276 srb 0 0 1004 fdnet 101004 1500 ieee 0 0 1005 trbrf 101005 4472 15 ibm 0 0 VLAN AREHops STEHops Backup CRF ------------------------1003 7 7 off Remote SPAN VLANs -----------------------------------------------------------------------------Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
  • switch65# Show Port Name Fa0/1 Fa0/2 Fa0/3 Fa0/4 Fa0/5 Fa0/6 Fa0/7 Fa0/8 Fa0/9 Fa0/10 Fa0/11 Fa0/12 Fa0/13 Fa0/14 Fa0/15 Fa0/16 Fa0/17 Fa0/18 Fa0/19 ---More--- interface status Status notconnect notconnect notconnect notconnect notconnect notconnect connected connected connected connected notconnect notconnect notconnect notconnect notconnect connected notconnect notconnect notconnect Vlan 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Duplex auto auto auto auto auto auto a-full a-full a-full a-full auto auto auto auto auto a-full auto auto auto Speed Type auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX a-100 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX
  • Port Name Fa0/20 Fa0/21 Fa0/22 Fa0/23 Fa0/24 Status notconnect notconnect notconnect notconnect connected Vlan 1 1 1 1 1 Duplex auto auto auto auto a-full Speed auto auto auto auto a-100 switch65# Config terminal switch65(config)# vlan 10 switch65(config-vlan)# name sales switch65(config-vlan)# exit VLAN Creation – 2950 Series switch65(config)# vlan 20VLANCreation – 2950 Series Switch(config)# vlan <no> Switch(config)# vlan <no> switch65(config-vlan)# name mkt Switch(config-Vlan)# name <name> Switch(config-Vlan)# switch65(config-vlan)# exitname <name> Switch(config-Vlan)# Exit Switch(config-Vlan)# Exit switch65(config)# ^z VLAN Creation – 2900 Series VLAN Creation – 2900 Series switch65# Switch# vlan database Switch# vlan database Switch(vlan)# vlan <no> name <name> Switch(vlan)# vlan <no> name <name> Switch(vlan)# exit Switch(vlan)# exit Type 10/100BaseTX 10/100BaseTX 10/100BaseTX 10/100BaseTX 10/100BaseTX
  • switch65# Show Vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 10 sales active 20 mkt active 1002 fddi-default act/unsup 1003 trcrf-default act/unsup 1004 fddinet-default act/unsup 1005 trbrf-default act/unsup
  • switch65# Config terminal switch65(config)# interface fastEthernet 0/1 switch65(config-if)# switchport mode access switch65(config-if)# switchport access vlan 10 Vlan Implementation switch65(config-if)# exit Vlan Implementation Switch(config)# interface <interface type> <interface no.> Switch(config)# interface <interface switch65(config)# interface fastEthernet 0/3 type> <interface no.> Switch(config-if)# switchport mode access Switch(config-if)# switchport mode access switch65(config-if)# switchport mode access Switch(config-if)# switchport access Vlan <no> Switch(config-if)# switchport access Vlan <no> switch65(config-if)# switchport access vlan 10 switch65(config)# ^z switch65# show vlan VLAN Name Status Ports ---- ------------------------------ --------- ------------------------------1 default active Fa0/2, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24 10 sales active Fa0/1, Fa0/3 20 mkt active 1002 fddi-default act/unsup 1003 trcrf-default act/unsup 1004 fddinet-default act/unsup
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.2 pinging 192.168.20.2 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.20.2: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.3 pinging 192.168.20.3 with 32 bytes of data: Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.1 pinging 192.168.20.1 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.20.1: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.3 pinging 192.168.20.3 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.20.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.2 pinging 192.168.20.2 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.20.2: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.1 pinging 192.168.20.1 with 32 bytes of data: Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • switch65# Config terminal switch65(config)# interface FastEthernet 0/24 switch65(config-if)# switchport mode trunk switch65(config-if)# switchport trunk allowed vlan all switch65(config)#TrunkingConfiguration – 2900 Series exit Trunking Configuration – 2900 Series switch65(config)# interface <interface type> <interface no.> Switch(config)#^Z Switch(config)# interface <interface type> <interface no.> Switch(config-if)# switchport trunk allowed vlan {<vlan no.>|all} switch65# show interface trunk Switch(config-if)# switchport trunk allowed vlan {<vlan no.>|all} Switch(config-if)# switchport trunk encapsulation dot1q (2900) Switch(config-if)# switchport trunk Status Port Mode Encapsulation encapsulation dot1q (2900) Native vlan Fa0/24 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/24 1-4094 Port Vlans allowed and active in management domain Fa0/24 1,10,20 Port Vlans in spanning tree forwarding state and not pruned Fa0/24 1,10,20
  • Switch65# Show Port Name Fa0/1 Fa0/2 Fa0/3 Fa0/4 Fa0/5 Fa0/6 Fa0/7 Fa0/8 Fa0/9 Fa0/10 Fa0/11 Fa0/12 Fa0/13 Fa0/14 Fa0/15 Fa0/16 Fa0/17 Fa0/18 Fa0/19 ---More--- interface status Status connect connect connect notconnect notconnect notconnect connected connected connected connected notconnect notconnect notconnect notconnect notconnect connected notconnect notconnect notconnect Vlan 10 1 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Duplex auto auto auto auto auto auto a-full a-full a-full a-full auto auto auto auto auto a-full auto auto auto Speed Type auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX a-100 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX a-100 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX auto 10/100BaseTX
  • Port Name Fa0/20 Fa0/21 Fa0/22 Fa0/23 Fa0/24 Status notconnect notconnect notconnect notconnect connected Vlan 1 1 1 1 trunk Duplex auto auto auto auto a-full Speed auto auto auto auto a-100 Type 10/100BaseTX 10/100BaseTX 10/100BaseTX 10/100BaseTX 10/100BaseTX Switch65# show vlan VLAN Name Status Ports ---- ------------------------------ --------- ------------------------------1 default active Fa0/2, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23 10 sales active Fa0/1, Fa0/3 20 mark active 1002 fddi-default act/unsup 1003 trcrf-default act/unsup 1004 fddinet-default act/unsup 1005 trbrf-default act/unsup
  • switch75# Config terminal switch75(config)# interface FastEthernet 0/24 switch75(config-if)# switchport mode trunk switch75(config-if)# switchport trunk allowed vlan all Trunking Configuration – 2900 Series Trunking Configuration – 2900 Series switch75(config-if)#exit Switch(config)# interface <interface type> <interface no.> Switch(config)# switch75(config)# ^Z interface <interface type> <interface no.> Switch(config-if)# switchport trunk allowed vlan {<vlan no.>|all} Switch(config-if)# switchport trunk allowed vlan {<vlan no.>|all} switch75# show interface trunk Switch(config-if)# switchport trunk encapsulation dot1q (2900) Switch(config-if)# switchport trunk encapsulation dot1q (2900) Port Mode Encapsulation Status Native vlan Fa0/24 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/24 1-4094 Port Vlans allowed and active in management domain Fa0/24 1,10,20 Port Vlans in spanning tree forwarding state and not pruned Fa0/24 1,10,20
  • switch65# Config terminal switch65(config)# interface FastEthernet 0/24 switch65(config-if)# switchport mode trunk switch65(config-if)# switchport trunk allowed vlan all switch65(config-if)# exit switch65(config)#Trunking Configuration – 2900 Series ^Z Trunking Configuration – 2900 Series Switch(config)# interface <interface type> <interface no.> switch65# show interface trunk <interface type> <interface no.> Switch(config)# interface Switch(config-if)# switchport trunk allowed vlan {<vlan no.>|all} Switch(config-if)# switchport trunk allowedNative {<vlan no.>|all} vlan vlan Port Mode Encapsulation Status Switch(config-if)# switchport trunk encapsulation dot1q (2900) Switch(config-if)# switchport trunk encapsulation dot1q (2900) Fa0/24 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/24 1-4094 Port Vlans allowed and active in management domain Fa0/24 1,10,20 Port Vlans in spanning tree forwarding state and not pruned Fa0/24 1,10,20
  • switch65# Config terminal switch65(config)# vtp domain zoom switch65(config)# vtp mode server switch65(config)# vtp password cisco VTP Configuration – 2950 Series switch65(config)# vtp pruning Configuration – 2950 Series VTP Switch(config)# VTP Domain <Name> switch65(config)# ^z Switch(config)# VTP Domain <Name> Switch(config)# VTP Password <password> switch65# showSwitch(config)# VTP Password <password> vtp status Switch(config)# VTP Mode <server/client/transparent> Switch(config)# VTP Mode <server/client/transparent> VTP Version :2 Switch(config)# VTP pruning Switch(config)# VTP pruning Configuration Revision :0 VTP Configuration – 2900 Series VTP Configuration – 2900 Series Maximum VLANs supported locally Switch#VLAN Database : 64 Switch#VLAN Database Number of existing VLANs :7 Switch(VLAN)# VTP Domain <Name> Switch(VLAN)# VTP Domain <Name> VTP Operating Mode : Server Switch(VLAN)# VTP Password <password> Switch(VLAN)# VTP Password <password> VTP Domain Name : Switch(VLAN)# VTP Mode zoom Switch(VLAN)# VTP Mode<server/client/transparent> <server/client/transparent> VTP Pruning Mode : Enabled Switch(VLAN)# VTP pruning Switch(VLAN)# VTP pruning VTP V2 Mode : Enabled VTP Traps Generation : Disabled MD5 digest : 0xE4 0x74 0xA1 0xA3 0x21 0x8D 0xF1 0xB0 Configuration last modified by 192.168.20.65 at 3-1-93 01:13:25 Local updater ID is 192.168.20.65 on interface Vl1 (lowest numbered VLAN interfa ce found)
  • switch75# Config terminal switch75(config)# vtp domain zoom switch75(config)# vtp mode Client switch75(config)# vtp password cisco switch75(config)# vtp pruning switch75(config)# ^z switch75# show vtp status Vtp client VTP Version :2 Configuration Revision :0 Maximum VLANs supported locally : 64 Number of existing VLANs :7 VTP Operating Mode : Client VTP Domain Name : zoom VTP Pruning Mode : Enabled VTP V2 Mode : Enabled VTP Traps Generation : Disabled MD5 digest : 0xE4 0x74 0xA1 0xA3 0x21 0x8D 0xF1 0xB0 Configuration last modified by 192.168.20.65 at 3-1-93 01:13:25 Local updater ID is 192.168.20.65 on interface Vl1 (lowest numbered VLAN interfa ce found)
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.2 pinging 192.168.20.2 with 32 bytes of data: Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.3 pinging 192.168.20.3 with 32 bytes of data: Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.1 pinging 192.168.20.1 with 32 bytes of data: Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.3 pinging 192.168.20.3 with 32 bytes of data: Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms Reply from 192.168.20.3: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.3: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:> ping 192.168.20.1 pinging 192.168.20.1 with 32 bytes of data: Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms Reply from 192.168.20.1: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:> ping 192.168.20.2 pinging 192.168.20.2 with 32 bytes of data: Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms Reply from 192.168.20.2: bytes=32 time<10ms TTL=255 TTL=255 TTL=255 TTL=255 Ping statistics for 192.168.20.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:>
  • s24# show cdp Cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds Sending CDPv2 advertisements is enabled s24# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r – Repeater Device ID HYD S50 Agra Simla Bombay Surat CHE Sri Del Local Intrfce Fas 0/4 Fas 0/24 Fas 0/8 Fas 0/10 Fas 0/5 Fas 0/6 Fas 0/7 Fas 0/18 Fas 0/9 Holdtme 140 126 130 160 158 124 140 120 150 Capability R SI R R R R R R R Platform 2500 WS-C2950T2500 2500 2500 2500 2520 2611 2500 Port ID Eth 0 Fas 0/24 Eth 0 Eth 0 Eth 0 Eth 0 Eth 0 Eth 0/0 Eth 0
  • s24# show cdp neighbors detail ------------------------Device ID: HYD Entry address(es): IP address: 192.168.4.150 Platform: cisco 2500, Capabilities: Router Interface: FastEthernet0/4, Port ID (outgoing port): Ethernet0 Holdtime : 131 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-P-L), Version 12.0(24), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 30-Sep-02 20:43 by srani advertisement version: 1 ------------------------Device ID: s50 Entry address(es): IP address: 192.168.20.50 Platform: cisco WS-C2950T-24, Capabilities: Switch IGMP Interface: FastEthernet0/24, Port ID (outgoing port): FastEthernet0/24 Holdtime : 177 sec --More-- cdp2
  • Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(12c)EA1, RELEASE SOFTWA (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sun 24-Nov-02 23:31 by antonino advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000 0FFFFFFFF010221FF000000000000000BFDFE9800FF0000 VTP Management Domain: ‘zoom' Native VLAN: 1 Duplex: full ------------------------Device ID: Agra Entry address(es): IP address: 192.168.8.150 Platform: cisco 2500, Capabilities: Router Interface: FastEthernet0/8, Port ID (outgoing port): Ethernet0 Holdtime : 174 sec Version : -- More -- cdp3
  • Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.1(12b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 01-Feb-02 07:30 by kellythw advertisement version: 2 Duplex: half ------------------------Device ID: SIMLA Entry address(es): IP address: 192.168.10.150 Platform: cisco 2500, Capabilities: Interface: FastEthernet0/10, Port ID (outgoing port): Ethernet0 Holdtime : 141 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.0(9), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Mon 24-Jan-00 21:19 by bettyl advertisement version: 1 Cdp4 --More--
  • ------------------------Device ID: Bombay Entry address(es): IP address: 192.168.5.150 Platform: cisco 2500, Capabilities: Router Interface: FastEthernet0/5, Port ID (outgoing port): Ethernet0 Holdtime : 135 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-P-L), Version 12.0(24), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 30-Sep-02 20:43 by srani advertisement version: 1 ------------------------Device ID: surat Entry address(es): IP address: 192.168.6.150 Platform: cisco 2500, Capabilities: Router Interface: FastEthernet0/6, Port ID (outgoing port): Ethernet0 Holdtime : 158 sec Cdp5 -- More--
  • Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.1(12b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 01-Feb-02 07:30 by kellythw advertisement version: 2 Duplex: half ------------------------Device ID: CHE Entry address(es): IP address: 192.168.7.150 Platform: cisco 2520, Capabilities: Router Interface: FastEthernet0/7, Port ID (outgoing port): Ethernet0 Holdtime : 173 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.1(12b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 01-Feb-02 07:30 by kellythw advertisement version: 2 Duplex: half --More-- cdp6
  • Device ID: sri Entry address(es): IP address: 192.168.11.150 Platform: cisco 2611, Capabilities: Router Interface: FastEthernet0/18, Port ID (outgoing port): Ethernet0/0 Version : Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-I-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:12 by phanguye ------------------------Device ID: del Entry address(es): IP address: 192.168.9.150 Platform: cisco 2500, Capabilities: Router Interface: FastEthernet0/9, Port ID (outgoing port): Ethernet0 Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-P-L), Version 12.0(24), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 30-Sep-02 20:43 by srani advertisement version: 1 cdp7
  • s24# show cdp interface fa 0/24 FastEthernet0/24 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds cdp8
  • chennai# show cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds CDP On CHE Router chennai# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Ban Ser 0 145 R 2509 Ser 1 Hyd Ser 1 141 R 2500 Ser 0 S50 Eth 0 124 SI WS-C2950T-Fas 0/2
  • chennai# show cdp neighbors detail ------------------------Device ID: s50 Entry address(es): IP address: 192.168.20.50 Platform: cisco WS-C2950T-24, Capabilities: Switch IGMP Interface: Ethernet0, Port ID (outgoing port): FastEthernet0/2 Version : Cisco Internetwork Operating System Software Cdp r 2 IOS - C2950 Software (C2950-I6Q4L2-M), Version 12.1(12c), RELEASE SOFTWAR Copyright (c) 1986-2002 by cisco Systems, Inc. ------------------------- Device ID: ban Entry address(es): IP address: 11.0.0.2 Platform: cisco 2509, Capabilities: Router Interface: Serial0, Port ID (outgoing port): Serial1 Holdtime : 121 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.1(12b), RELEASE SOFTWARE Copyright (c) 1986-2002 by cisco Systems, Inc. -- More --
  • Device ID: hyd Entry address(es): IP address: 10.0.0.1 Platform: cisco 2500, Capabilities: Router Interface: Serial1, Port ID (outgoing port): Serial0 Holdtime : 175 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-I-L), Version 12.1(12b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. chennai# show cdp interface Ethernet0 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds Serial0 is up, line protocol is up Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds Serial1 is up, line protocol is up Encapsulation HDLC Sending CDP packets every 60 seconds Cdp r 3`