Cisco WS-C3560E-48TD-E-RF - Catalyst 3560E-48TD Switch Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 111
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 110 111

Kommentare zu diesen Handbüchern

Keine Kommentare