Operating Modes of a Cisco Switch’s Port
- Access – ports configured with this mode is meant to connect to end devices
ex. Switch(config-if)#switchport mode access - Trunk – ports configured with this mode is meant to connect to other switches to propagate vlan-tagged information
ex. Switch(config-if)#switchport mode trunk - Dynamic Desirable – ports configured with this mode will actively try to from trunk link with other switches
ex. Switch(config-if)#switchport mode dynamic desirable - Dynamic Auto – ports configured with this mode will passively form trunk link with other switches. (The port on the other end should operate either in Dynamic Desirable or Trunk in order to form trunk link)
ex. Switch(config-if)#switchport mode dynamic auto
- When a frame enters a switch, the switch learns its source mac address and the port it entered to.
Switch Operation: Filter Or Forward Decision
- When the switches doesn’t know about the destination mac address, if floods the frame.
- Whenever a frame enters a switch, its source mac address and entered port is learned.
- The switch decides whether to forward or filter the frame by looking for the destination mac address from the mac address table.
- When it is found, the port where it entered and the port where that mac address was learned from are compared.
b. If they are not the same, the frame will be forwarded to the destination port.
- When it is not found, the frame is flooded. (This is why switches would always flood layer 2 broadcast messages, because ff:ff:ff:ff:ff:ff would never end up in MAC table.)
- Segmentation
- Flexibility
- Security
VLAN = Broadcast Domain = Logical Network (Subnet)
No comments:
Post a Comment