Kommentare und leerzeilen in cli-skripts – HP Virtual Connect FlexFabric 10 Gb-Modul mit 24 Anschlüssen für BladeSystem der Klasse C Benutzerhandbuch
Seite 17

Kommentare und Leerzeilen in CLI-Skripts
Die CLI unterstützt Befehlsskripts mit Leerzeilen und Kommentaren. Die Unterstützung von
Kommentaren und Leerzeilen ermöglicht das Einfügen von erläuternden Hinweisen in das
Konfigurationsskript.
Das folgende Beispielskript zeigt ein CLI-Skript mit dieser Art von Formatierung. Alle
Kommentarzeilen müssen mit dem Zeichen „#“ beginnen.
#------------------------------------------------------------------------
# This is my sample Virtual Connect Domain Configuration Script
# Revision 1.0.1.2
# February 15, 2013
#------------------------------------------------------------------------
# Add Users
add user SomeNetworkUser password=pass1 role=network
add user SomeStorageUser password=pass2 role=storage
add user SomeDomainUser password=pass6 role=domain
add user SomeAdminUser password=pass3 role=*
add user DomainNetworkUser password=764dhh role=domain,network
# Add Profiles with Default VC-Enet and VC-FC Connections
add profile MyProfile
add profile AnotherProfile
add profile Profile45
# Add VC-Enet Networks
add network MyNetwork
add network Network2
# Add uplink ports to the networks
add uplinkport enc0:1:1 network=MyNetwork
add uplinkport enc0:1:2 network=Network2
# Create a Shared Uplink Port Set
add uplinkset SharedSet1
# Add a new FCoE SAN fabric connection to a profile
add fcoe-connection MyNewProfile Fabric=SAN_5
# Reset the active QoS configuration type to the factory default settings
but does not change the saved configuration types
10
Kapitel 1 Einführung
DEWW
- 4 GB Virtual Connect Glasfaserkanal-Modul für BladeSystem der Klasse C Virtual Connect Flex-10.10D Modul für BladeSystem der Klasse C Virtual Connect Flex-10 10 Gb Ethernet-Modul für BladeSystem der Klasse C 8 Gb Virtual Connect Glasfaserkanal-Modul mit 24 Anschlüssen für BladeSystem der Klasse C Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem