Cisco WS-C3560E-48TD-E-RF - Catalyst 3560E-48TD Switch Manual de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 111
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
© 2013 Cisco and/or its affiliates. All rights reserved.
BRKCRS-3090
Cisco Public
Appending In-built Macros
47
Lets not leave ports sitting in VLAN 1
BNE-HQ-e4.8040#sho shell functions CISCO_CUSTOM_AUTOSMARTPORT
function CISCO_CUSTOM_AUTOSMARTPORT () {
if [[ $LINKUP -eq YES ]]; then
conf t
interface $INTERFACE
exit
end
fi
if [[ $LINKUP -eq NO ]]; then
conf t
interface $INTERFACE
exit
end
fi
}
macro auto execute CISCO_CUSTOM_EVENT {
if [[ $LINKUP -eq YES ]]; then
conf t
interface $INTERFACE
exit
end
fi
if [[ $LINKUP -eq NO ]]; then
conf t
interface $INTERFACE
no macro description
switchport access vlan 2
exit
end
fi
}
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 110 111

Comentarios a estos manuales

Sin comentarios