Cisco WS-C3560E-48TD-E-RF - Catalyst 3560E-48TD Switch Manuel d'utilisateur Page 47

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 111
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
}
Vue de la page 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 110 111

Commentaires sur ces manuels

Pas de commentaire