-#LyX 1.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 220
+#LyX 1.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 221
\textclass amsart-plain
\language english
\inputencoding auto
\series bold
-\emph on
-\SpecialChar ~
-
-\newline
lctl
\layout Standard
\series bold
-\emph on
lctl\SpecialChar ~
--device\SpecialChar ~
<devno> <command\SpecialChar ~
\series bold
-\emph on
lctl\SpecialChar ~
--threads\SpecialChar ~
<numthreads>\SpecialChar ~
\family default
\size default
at the lctl prompt.
- To get basic help on the meaning and syntax of a command, type
+ To get basic help on the meaning and syntax of a command, type
\family typewriter
\size small
help command
\emph default
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
---device
-\series default
-\emph default
- The device number to be used for the operation.
+--device The device number to be used for the operation.
The value of devno is an integer, normally found by calling
\emph on
-lctl name2dev
+lctl device_list/dl
\emph default
-on a device name.
+.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
---threads
-\series default
-\emph default
- How many threads should be forked doing the command specified.
- The numthreads variable is a strictly positivie integer indicating how
- many threads should be started.
- Verbose can take values <XXXX>;
+--threads How many threads should be forked doing the command specified.
+ The numthreads variable is a strictly positive integer indicating how many
+ threads should be started.
+ The
\emph on
devno
\emph default
-is used as above.
-\layout LyX-Code
+option is used as above.
+\layout Description
+--ignore_errors\SpecialChar ~
+|\SpecialChar ~
+ignore_errors Ignore errors that occur during script processing.
+\layout Description
+
+dump Save ioctl buffer to file.
\layout LyX-Code
\layout Description
Network\SpecialChar ~
Configuration
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+--net\SpecialChar ~
\series bold
-\emph on
-network\SpecialChar ~
-<tcp/elans/myrinet>
+<tcp/elan/myrinet>
\series default
-\emph default
- Indicate what kind of network applies for the configuration commands that
- follow.
-\layout List
-\labelwidthstring 00.00.0000
-
+\SpecialChar ~
\series bold
-\emph on
-connect\SpecialChar ~
-[[<hostname>\SpecialChar ~
-<port>]\SpecialChar ~
-|\SpecialChar ~
-<elan\SpecialChar ~
-id>]
+<command>
\series default
-\emph default
- This will establish a connection to a remote network network
-\emph on
-id
-\emph default
- given by the hostname/port combination, or the elan
-\emph on
-id
-\emph default
-.
-\layout List
-\labelwidthstring 00.00.0000
+Indicate the network type to be used for the operation.
+\layout Description
+network\SpecialChar ~
+<tcp/elans/myrinet> Indicate what kind of network applies for the
+ configuration commands that follow.
+\layout Description
+
+interface_list Print the interface entries.
+\layout Description
+
+add_interface\SpecialChar ~
\series bold
-\emph on
-disconnect\SpecialChar ~
-<nid>
+<
\series default
-\emph default
- Disconnect from a remote
-\emph on
-nid
-\emph default
-.
-\layout List
-\labelwidthstring 00.00.0000
+ip>\SpecialChar ~
+[netmask] Add an interface entry.
+\layout Description
+del_interface\SpecialChar ~
+[ip] Delete an interface entry.
+\layout Description
+
+peer_list Print the peer entries.
+\layout Description
+
+add_peer\SpecialChar ~
\series bold
-\emph on
-mynid\SpecialChar ~
-[nid]
+<
\series default
-\emph default
- Informs the socknal of the local
-\emph on
-nid
-\emph default
-.
- It defaults to hostname for tcp networks and is automatically setup for
- elan/myrinet networks.
-\layout List
-\labelwidthstring 00.00.0000
-
+nid>\SpecialChar ~
\series bold
-\emph on
-add_uuid\SpecialChar ~
-<uuid>\SpecialChar ~
-<nid>
+<
\series default
-\emph default
- Associate a given UUID with an
-\emph on
-nid.
-\layout List
-\labelwidthstring 00.00.0000
+host>\SpecialChar ~
+\series bold
+<
+\series default
+port>
+\series bold
+Add a peer entry.
+\layout Description
+del_peer\SpecialChar ~
+[
\series bold
-\emph on
-close_uuid\SpecialChar ~
-<uuid>
+<
\series default
-\emph default
- Disconnect a UUID.
-\layout List
-\labelwidthstring 00.00.0000
+nid>]\SpecialChar ~
+[
+\series bold
+<
+\series default
+host>]\SpecialChar ~
+[ks] Remove a peer entry.
+\layout Description
+
+autoconn_list Print autoconnect entries.
+\layout Description
+add_autoconn\SpecialChar ~
\series bold
-\emph on
-del_uuid\SpecialChar ~
-<uuid>
+nid
\series default
-\emph default
- Delete a UUID association.
-\layout List
-\labelwidthstring 00.00.0000
-
+\SpecialChar ~
\series bold
-\emph on
-add_route\SpecialChar ~
-<gateway>\SpecialChar ~
-<target>\SpecialChar ~
-[target]
+ipaddr
\series default
-\emph default
- Add an entry to the routing table for the given target.
-\layout List
-\labelwidthstring 00.00.0000
+\SpecialChar ~
+\series bold
+port
+\series default
+\SpecialChar ~
\series bold
-\emph on
-del_route\SpecialChar ~
-<target>
+[ise]
\series default
-\emph default
- Delete an entry for the target from the routing table.
-\layout List
-\labelwidthstring 00.00.0000
+ Add an autoconnect entry.
+\layout Description
+del_autoconn\SpecialChar ~
\series bold
-\emph on
-route_list
+[<nid>]
\series default
-\emph default
- Print the complete routing table.
-\layout List
-\labelwidthstring 00.00.0000
+\SpecialChar ~
+\series bold
+[<host>]
+\series default
+\SpecialChar ~
\series bold
-\emph on
-recv_mem\SpecialChar ~
-[size]
+[ks]
\series default
+ Remove an autoconnect entry.
+\layout Description
+
+conn_list Print all the connected remote nid.
+\layout Description
+
+connect\SpecialChar ~
+<hostname>\SpecialChar ~
+<port>\SpecialChar ~
+[iIOC] This will establish a connection to a remote
+ network, network
+\emph on
+id
\emph default
- Set the socket
+ given by the hostname/port combination.
+\layout Description
+
+disconnect\SpecialChar ~
+<nid> Disconnect from a remote
\emph on
-receive
+nid
\emph default
- buffer size; if the size is omitted, the default size for the buffer is
- printed.
-\layout List
-\labelwidthstring 00.00.0000
+.
+\layout Description
+active_tx This command should print active transmits, and it is only used
+ for elan network type.
+\layout Description
-\series bold
+mynid\SpecialChar ~
+[nid] Informs the socknal of the local
\emph on
-send_mem\SpecialChar ~
-[size]
-\series default
+nid
\emph default
- Set send buffer size for the socket; if size is omitted, the default size
- for the buffer is printed.
-\layout List
-\labelwidthstring 00.00.0000
+.
+ It defaults to hostname for tcp networks and is automatically setup for
+ elan/myrinet networks.
+\layout Description
+shownid Print the local NID.
+\layout Description
-\series bold
+add_uuid\SpecialChar ~
+<uuid>\SpecialChar ~
+<nid>\SpecialChar ~
+<net_type> Associate a given UUID with an
\emph on
-nagle\SpecialChar ~
-[on/off]
-\series default
-\emph default
- Enable/disable nagle; omitting the argument will cause the default value
- to be printed.
+nid.
+\layout Description
+
+close_uuid\SpecialChar ~
+<uuid>\SpecialChar ~
+<net_type> Disconnect a UUID.
+\layout Description
+
+del_uuid\SpecialChar ~
+<uuid> Delete a UUID association.
+\layout Description
+
+add_route\SpecialChar ~
+<gateway>\SpecialChar ~
+<target>\SpecialChar ~
+[<target>] Add an entry to the portals routing
+ table for the given target.
+ The arguments should be nid.
+ If only one <target> is provided, this command should only add the route
+ for this target.
+ But, if both of the <target>s are provides, this command should add the
+ route for all the target in the range specified by the two targets(from
+ low nid to high nid).
+\layout Description
+
+del_route\SpecialChar ~
+<gateway>\SpecialChar ~
+[<target>]\SpecialChar ~
+[<target>] Delete the route entry for the given
+ targets from the portals routing table.
+ The arguments should be nid.
+
+\layout Description
+
+set_route\SpecialChar ~
+<gateway>\SpecialChar ~
+<up/down>\SpecialChar ~
+[<time>] Enable/disable routes via the given
+ gateway in the protals routing table.
+ <time> is used to tell when a gateway comes back online.
+\layout Description
+
+route_list Print the complete portals routing table.
+\layout Description
+
+fail\SpecialChar ~
+nid|_all_\SpecialChar ~
+[count] Fail/restore communications.
+ Omitting the count implies fail indefinitely, count of zero indicates that
+ communication should be restored.
+ A non-zero count indicates the number of portals messages to be dropped
+ after which the communication is restored.
+ The argument
+\begin_inset Quotes eld
+\end_inset
+
+nid
+\begin_inset Quotes erd
+\end_inset
+
+ is used to specify the gateway, which is one peer of the communication.
\end_deeper
\layout Description
Device\SpecialChar ~
Selection
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
-
-
-\series bold
-\emph on
-newdev
-\series default
-\emph default
- Create a new device.
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+newdev Create a new device.
+\layout Description
-\series bold
-\emph on
-name2dev
-\series default
-\emph default
- This command can be used to determine a device number for the given device
- name.
-\layout List
-\labelwidthstring 00.00.0000
+device\SpecialChar ~
+<%name|$name|devno> This will select the specified OBD device.
+ All other commands depend on the device being set.
+\layout Description
+cfg_device\SpecialChar ~
+<$name> Set current device being configured to <$name>.
+\layout Description
-\series bold
-\emph on
-device
-\series default
-\emph default
- This will select the specified OBD device.
- All other commands depend on the device being set.
-
-\layout List
-\labelwidthstring 00.00.0000
+device_list Show all the devices.
+\layout Description
+dl The same as device_list.
+\layout Description
-\series bold
-\emph on
-device_list
-\series default
-\emph default
- Show all the devices.
+lustre_build_version Print the Lustre build version.
\end_deeper
\layout Description
Device\SpecialChar ~
Configuration
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
attach\SpecialChar ~
type\SpecialChar ~
[name\SpecialChar ~
-[uuid]]
-\series default
-\emph default
-
+[uuid]]
\shape italic
\emph on
Attach
command) and give that device a name and UUID.
This allows us to identify the device for use later, and also tells us
what type of device we will have.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
setup\SpecialChar ~
-<args...>
-\series default
-\emph default
- Type specific device setup commands.
+<args...> Type specific device setup commands.
For obdfilter, a setup command tells the driver which block device it should
use for storage and what type of filesystem is on that device.
-\layout List
-\labelwidthstring 00.00.0000
-
-
-\series bold
-\emph on
-cleanup
-\series default
-\emph default
- Cleanup a previously setup device.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
-detach
-\series default
-\emph default
- Remove driver (and name and UUID) from the current device.
-\layout List
-\labelwidthstring 00.00.0000
+cleanup\SpecialChar ~
+[force|failover] Cleanup a previously setup device.
+\layout Description
+detach Remove driver (and name and UUID) from the current device.
+\layout Description
-\series bold
-\emph on
-lov_setconfig\SpecialChar ~
+lov_setup\SpecialChar ~
lov-uuid\SpecialChar ~
-default-stripe-count\SpecialChar ~
-default-stripe-size\SpecialChar ~
+stripe-count\SpecialChar ~
+stripe-size\SpecialChar ~
offset\SpecialChar ~
pattern\SpecialChar ~
UUID1\SpecialChar ~
-[U
-UID2...]
-\series default
-\emph default
- Write LOV configuration to an MDS device.
-\layout List
-\labelwidthstring 00.00.0000
-
+[UUID2...] Write
+ LOV configuration to an MDS device.
+\layout Description
-\series bold
-\emph on
lov_getconfig\SpecialChar ~
-lov-uuid
-\series default
-\emph default
- Read LOV configuration from an MDS device.
- Returns default-stripe-count, default-stripe-size, offset, pattern, and
- a list of OST UUID's.
+lov-uuid Read LOV configuration from an MDS device.
+ Returns stripe-count, stripe-size, offset, pattern, and a list of OST UUID's.
+\layout Description
+
+record\SpecialChar ~
+cfg-uuid-name Record commands that follow in log.
+\layout Description
+
+endrecord Stop recording
+\layout Description
+
+parse\SpecialChar ~
+config-uuid-name Parse the log of recorded commands for this config.
+\layout Description
+
+dump_log\SpecialChar ~
+config-uuid-name Print log of recorded commands for this config
+ to kernel debug log.
+\layout Description
+
+clear_log\SpecialChar ~
+config-name Delete current config log of recorded commands.
\end_deeper
\layout Description
Device\SpecialChar ~
Operations
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
probe\SpecialChar ~
-[timeout]
-\series default
-\emph default
- Build a connection handle to a device.
+[timeout] Build a connection handle to a device.
This command is used to suspend configuration until the lctl command has
ensured that the MDS and OSC services are available.
This is to avoid mount failures in a rebooting cluster.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
close
+\emph on
+
\emph default
+Close the
+\emph on
-\layout List
-\labelwidthstring 00.00.0000
-
+\emph default
+connection handle
+\layout Description
-\series bold
-\emph on
getattr\SpecialChar ~
-<objid>
-\series default
-\emph default
- Get attributes for an OST object
+<objid> Get attributes for an OST object
\emph on
<objid>
\emph default
.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
setattr\SpecialChar ~
<objid>\SpecialChar ~
-<mode>
-\series default
-\emph default
- Set mode attribute for OST object
+<mode> Set mode attribute for OST object
\emph on
<objid>
\emph default
.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
create\SpecialChar ~
[num\SpecialChar ~
[mode\SpecialChar ~
-[verbose]]]
-\series default
-\emph default
- Create the specified number
+[verbose\SpecialChar ~
+[lsm\SpecialChar ~
+data]]]] Create the specified number
\emph on
<num>
\emph default
<mode>
\emph default
.
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
destroy\SpecialChar ~
-<objid>
-\series default
+<num>\SpecialChar ~
+starting\SpecialChar ~
+at\SpecialChar ~
+<objid> Destroy <
+\emph on
+num
\emph default
- Destroy an OST object.
-\layout List
-\labelwidthstring 00.00.0000
-
-
-\series bold
+> number of objects starting from the object with object id <
\emph on
+objid
+\emph default
+>.
+\layout Description
+
test_getattr\SpecialChar ~
<num>\SpecialChar ~
[verbose\SpecialChar ~
-[[t]objid]]
-\series default
-\emph default
- Do
+[[t]objid]] Do
\emph on
<num>
\emph default
objectid
\emph default
+1 on each thread).
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
test_brw\SpecialChar ~
[t]<num>\SpecialChar ~
[write\SpecialChar ~
[verbose\SpecialChar ~
[npages\SpecialChar ~
-[[t]objid]]]]
-\series default
-\emph default
- Do
+[[t]objid]]]] Do
\emph on
<num>
\emph default
<npages>
\emph default
per I/O).
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+get_stripe\SpecialChar ~
+objid Show stripe info for an echo client object.
+\layout Description
-\series bold
-\emph on
-test_ldlm
-\series default
-\emph default
- Perform lock manager test.
-\layout List
-\labelwidthstring 00.00.0000
+set_stripe\SpecialChar ~
+<objid>[=width!count[@offset]\SpecialChar ~
+[:id:id....] Set stripe info for an echo
+ client object.
+\layout Description
+unset_stripe\SpecialChar ~
+<objid> Unset stripe info for an echo client object.
+\layout Description
+
+test_ldlm Perform lock manager test.
+\layout Description
-\series bold
-\emph on
ldlm_regress_start\SpecialChar ~
-%s\SpecialChar ~
[numthreads\SpecialChar ~
[refheld\SpecialChar ~
[numres\SpecialChar ~
-[numext]]]]
-\series default
-\emph default
- Start lock manager stress test.
-\layout List
-\labelwidthstring 00.00.0000
+[numext]]]] Start lock manager
+ stress test.
+\layout Description
+ldlm_regress_stop Stop lock manager stress test.
+\layout Description
-\series bold
-\emph on
-ldlm_regress_stop
-\series default
-\emph default
- Stop lock manager stress test.
-\layout List
-\labelwidthstring 00.00.0000
+dump_ldlm Dump all lock manager state, this is very useful for debugging.
+\layout Description
+activate Activate an import.
+\layout Description
-\series bold
+deactivate De-activate an import.
+\layout Description
+
+recover\SpecialChar ~
+[<connection\SpecialChar ~
+UUID>] Pass the information of the new target and initialize
+ the connection to this target.
+
+\layout Description
+
+lookup\SpecialChar ~
+<directory>\SpecialChar ~
+<file> Print some information of the given file.
+\layout Description
+
+notransno Disable sending of committed transnumber updates.
+\layout Description
+
+readonly Disable writes to the underlying device.
+\layout Description
+
+abort_recovery Abort recovery on MDS device.
+\layout Description
+
+start\SpecialChar ~
+<profilename> Setup mds/ost from the llog file.
+\layout Description
+
+mount_option\SpecialChar ~
+profile\SpecialChar ~
+osc_name\SpecialChar ~
+[mdc_name] Add a new profile to lustre.
+\layout Description
+
+del_mount_option\SpecialChar ~
+profile Delete a specified profile.
+\layout Description
+
+set_timeout\SpecialChar ~
+<secs> Set the timeout(
\emph on
-dump_ldlm
-\series default
+obd_timeout
\emph default
- Dump all lock manager state, this is very useful for debugging
-\layout List
-\labelwidthstring 00.00.0000
+) for server to wait before failing recovery.
+\layout Description
+set_lustre_upcall\SpecialChar ~
+</full/path/to/upcall> Set the lustre upcall(obd_lustre_upcall)
+ via the lustre.upcall sysctl.
+\layout Description
-\series bold
-\emph on
-newconn\SpecialChar ~
-<olduuid>\SpecialChar ~
-[newuuid]
+llog_catlist List all catalog logs on current device.
+\layout Description
+
+llog_info\SpecialChar ~
+<$logname|#oid#ogr#ogen> Print log header information.
+
+\layout Description
+
+llog_print\SpecialChar ~
+<$logname|#oid#ogr#ogen>\SpecialChar ~
+[from]\SpecialChar ~
+[to] Print log content information.
+ It will print all records from index 1 by default.
+\layout Description
+
+llog_check\SpecialChar ~
+<$logname|#oid#ogr#ogen>\SpecialChar ~
+[from]\SpecialChar ~
+[to] Check log content information.
+ It will check all records from index 1 by default.
+\layout Description
+
+llog_cancel\SpecialChar ~
+<catalog\SpecialChar ~
+id|catalog\SpecialChar ~
+name>\SpecialChar ~
+<log\SpecialChar ~
+id>\SpecialChar ~
+<index> Cancel one record in log.
+\layout Description
+
+llog_remove\SpecialChar ~
+<catalog\SpecialChar ~
+id|catalog\SpecialChar ~
+name>\SpecialChar ~
+<log\SpecialChar ~
+id> Remove one log from catalog, erase
+ it from disk.
\end_deeper
\layout Description
Debug
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+debug_daemon\SpecialChar ~
+[start\SpecialChar ~
+file\SpecialChar ~
+<#MB>|stop|pause|continue] Debug daemon control and
+ dump to a file.
+\layout Description
-\series bold
-\emph on
debug_kernel\SpecialChar ~
[file]\SpecialChar ~
-[raw]
-\series default
-\emph default
- Get debug buffer and dump to a
+[raw] Get debug buffer and dump to a
\emph on
-fileusage
+file
\emph default
.
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+dk The same as debug_kernel.
+\layout Description
-\series bold
-\emph on
debug_file\SpecialChar ~
<input>\SpecialChar ~
[output]\SpecialChar ~
-[raw]
-\series default
-\emph default
- Read debug buffer from input and dump to
+[raw] Read debug buffer from input and dump to
+
\emph on
-outputusage
+output
\emph default
.
-\layout List
-\labelwidthstring 00.00.0000
-
-
-\series bold
-\emph on
-clear
-\series default
-\emph default
- Clear kernel debug buffer.
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+clear Clear kernel debug buffer.
+\layout Description
-\series bold
-\emph on
mark\SpecialChar ~
-<text>
-\series default
-\emph default
- Insert marker text in kernel debug buffer.
-\layout List
-\labelwidthstring 00.00.0000
-
+<text> Insert marker text in kernel debug buffer.
+\layout Description
-\series bold
-\emph on
filter\SpecialChar ~
<subsystem\SpecialChar ~
id/debug\SpecialChar ~
-mask>
-\series default
-\emph default
- Filter message type from the kernel debug buffer.
-\layout List
-\labelwidthstring 00.00.0000
-
+mask> Filter message type from the kernel debug
+ buffer.
+\layout Description
-\series bold
-\emph on
show\SpecialChar ~
<subsystem\SpecialChar ~
id/debug\SpecialChar ~
-mask>
-\series default
-\emph default
- Show specific type of messages.
-\layout List
-\labelwidthstring 00.00.0000
-
+mask> Show specific type of messages.
+\layout Description
-\series bold
-\emph on
debug_list\SpecialChar ~
-<subs/types>
-\series default
-\emph default
- List all the subsystem and debug types.
-\layout List
-\labelwidthstring 00.00.0000
+<subs/types> List all the subsystem and debug types.
+\layout Description
+modules\SpecialChar ~
+<path> Provide gdb-friendly module information.
+\layout Description
-\series bold
-\emph on
-panic
-\series default
-\emph default
- Force the kernel to panic.
+panic Force the kernel to panic.
+\layout Description
+
+lwt\SpecialChar ~
+start/stop\SpecialChar ~
+[file] Light-weight tracing.
+\layout Description
+
+memhog\SpecialChar ~
+<page\SpecialChar ~
+count>\SpecialChar ~
+[<gfp\SpecialChar ~
+flags>] Memory pressure testing.
\end_deeper
\layout Description
Control
\begin_deeper
-\layout List
-\labelwidthstring 00.00.0000
-
+\layout Description
-\series bold
-\emph on
-help
-\series default
-\emph default
- Show a complete list of commands;
+help Show a complete list of commands;
\emph on
help <command name>
\emph default
can be used to get help on specific command.
-\layout List
-\labelwidthstring 00.00.0000
-
-
-\series bold
-\emph on
-exit
-\series default
-\emph default
- Close the lctl session.
-\layout List
-\labelwidthstring 00.00.0000
+\layout Description
+exit Close the lctl session.
+\layout Description
-\series bold
-\emph on
-quit
-\series default
-\emph default
- Close the lctl session.
+quit Close the lctl session.
\end_deeper
\layout Subsection
EXAMPLES
\layout Description
-
-\emph on
attach
\layout LyX-Code
\layout Description
-
-\emph on
connect
\layout LyX-Code
\layout Description
-
-\emph on
getattr
\layout LyX-Code
\layout Description
-
-\emph on
setup
-\emph default
+\emph on
\layout LyX-Code