29 November 2017

CCIE-Wireless lab prep - back to basics - DTP, STP, Etherchannels



DTP (Dynamic Trunk Protocol) - Se porta estiver configurada com switchport mode dynamic DTP configura a porta como access ou trunk automaticamente. Não costuma ser problema porque configurar switchport mode access ou trunk evitam o DTP mas caso se pretenda desabilitar DTP numa porta fazer o comando “switchport nonnegociate”

Tagging da native VLAN!!!
(config)#vlan dot1q tag native

#sho vlan dot1q tag native


Spantree Protocol
default of 32768. “Quanto menos, melhor”

(config)#span vlan <vlan> priority <prio>
Configura a priority manualmente.

(config)#span vlan <vlan> root primary
Aplica automaticamente o comando “span vlan <vlan> prio <prio>” de modo a que o SW tenha prio menor da rede.

(config)#span vlan <vlan> root secondary
Aplica automaticamente o comando “span vlan <vlan> prio <prio>” de modo a que o SW tenha a segunda menor prior da rede.

(config)#int <slot>/<port>
(config-if)#spanning-tree vlan <vlan> cost <cost>
Aumenta o “custo” de interface

(config)#int <int>
(config-if)#span vlan <vlan> port-priority <prio>
Atribui prioridade a um interface específico.

(config)#span portfast bpduguard default
Bpduguard – configurado geralmente em portas access. Serve para impedir que um rogue switch lixe a spanning tree.

(config)#span portf bpdufilter default
Bpdufilter – retira a porta do spanning tree. Pode provocar loops porque o interface não tem STP para evitar loops

“Então e se o switch está no meio do monte e a porta ficar em errdisable? Tenho de lá ir?”
(config)#errdisable recovery cause <causa>
(config)#errdisable recovery cause bpduguard
(config)#errdisable recovery interval <seconds>


Etherchannel

Mode ON – etherchannel manual
LACP – open protocol
PAgP – protocol cisco

(config-if)#channel-group <po id> mode <mode>
(config-if)#channel-group <po id> mode <mode>
  active     Enable LACP unconditionally
  auto       Enable PAgP only if a PAgP device is detected
  desirable  Enable PAgP unconditionally
  on         Enable Etherchannel only
  passive    Enable LACP only if a LACP device is detected

Active
Passive
Ok
LACP
Active
Active
Ok
Passive
Passive
nope
Auto
Auto
nope
PAgP
Auto
Desirable
Ok
Desirable
Desirable
Ok
ON
ON
Ok
manual
ON
≠ ON
nope

No comments:

Post a Comment

Passos usados para integrar Meraki MX com Zscaler

  Configurações usadas para integrar Meraki MX com Zscaler 1- Identificar que Networks deverão utilizar esta regra Network tags configuradas...