Cisco WS-C3560E-48TD-E-RF - Catalyst 3560E-48TD Switch Manual do Utilizador Página 40

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 111
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 39
© 2013 Cisco and/or its affiliates. All rights reserved.
BRKCRS-3090
Cisco Public
Auto Smart Ports Macro Contents sample
function CISCO_AP_AUTO_SMARTPORT () {
if [[ $LINKUP -eq YES ]]; then
conf t
interface $INTERFACE
macro description $TRIGGER
switchport trunk encapsulation dot1q
switchport trunk native vlan $NATIVE_VLAN
switchport trunk allowed vlan ALL
switchport mode trunk
switchport nonegotiate
auto qos voip trust
mls qos trust cos
exit
end
fi
…Continued
if [[ $LINKUP -eq NO ]]; then
conf t
interface $INTERFACE
no macro description
no switchport nonegotiate
no switchport trunk native vlan $NATIVE_VLAN
no switchport trunk allowed vlan ALL
no auto qos voip trust
no mls qos trust cos
if [[ $AUTH_ENABLED -eq NO ]]; then
no switchport mode
no switchport trunk encapsulation
fi
exit
end
fi
Switch# show shell functions CISCO_AP_AUTO_SMARTPORT
Macro definition includes anti-macro configuration as well
40
Vista de página 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 110 111

Comentários a estes Manuais

Sem comentários