Saturday, 13 October 2007

Ethernet switching

Ethernet switching in SP lab is not a big part. You can not make a lot with two switches.
So basic topics will be:

  • VTP
  • STP
  • EtherChannel

First topic is VTP.

Best resource is CCO:

http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml

It can operate in 3 modes:

  1. Server - (this is default mode) all local vlan database chages are propagated to vtp domain members.
  2. Client - do not modify vlan information just listens.
  3. Transparent - do not participate in vtp related activities (no vtp adverts, no vtp database synchros). VTP messages received from other sw are transparently forwarded to neighbors.

Basic config:

vtp mode server

vtp domain ilikecisco

vtp password hmm

remarks from vtp issues


default version in witch SW operates by default is 2
Rack1SW1#sho vtp status VTP Version : 2Configuration Revision : 2Maximum VLANs supported locally : 256Number of existing VLANs : 6VTP Operating Mode : ServerVTP Domain Name : ciscoVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x6D 0x53 0x36 0xBC 0x9D 0x79 0x02 0x1A Configuration last modified by 0.0.0.0 at 3-1-93 03:13:31Local updater ID is 0.0.0.0 (no valid interface found)

Some VTP tips:

  • if switch comes with higher VTP rewision number - he wins. it means his VLAN information is used in domain.
  • diff between ver 1 and 2. if sw is running ver 1 transparent mode and vtp advertisment from another domain is comming - it is dropped. if sw is running ver 2 then this advertisment is propagated (forwarded) - want to say this info was conducted from Shiran Guez blog ;)

Second topic is STP (first need to determine what level of knowledge is needed for the lab)

Etherchannel section


nothing very special:configuration very straight forward
!interface Port-channel1 switchport mode trunk no ip address!!interface FastEthernet1/13 switchport mode trunk no ip address channel-group 1 mode on!interface FastEthernet1/14 switchport mode trunk no ip address channel-group 1 mode on!interface FastEthernet1/15 switchport mode trunk no ip address channel-group 1 mode on!
main problem arrises when vlan filtering is enabled on ports individualy. in such conditions sw will remove port from group.

No comments: