In the example, you log in to a device to view and create directories.
You can log in to a device through a console port or using Telnet or STelnet to manage directories on the device.
To log in to a device using Telnet or STelnet, you must have configured a Telnet or STelnet server and ensure that the server and terminal are routable.
For detailed configurations, see User Login Configuration.
In this example, login through a console port is used to manage directories.
The configuration roadmap is as follows:
Configure login through a console port.
View the current directory.
Create a directory.
Check that the new directory is created.
To complete the configuration, you need the following data:
Name of the directory to be created
For detailed configurations, see Example for Configuring Login Through a Console Port.
<HUAWEI> dir
Directory of cfcard:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 1,235 Dec 17 2009 17:10:53 vrpcfg.cfg
1 -rw- 524,575 Jan 25 2010 10:03:33 private-data.txt
2 drw- - Sep 09 2009 09:42:52 src
3 drw- - Sep 09 2009 09:42:53 logfile
4 -rw- 280 Sep 09 2009 09:42:53 $_patch_rollback_state
5 -rw- 11,772 Nov 25 2009 16:56:55 $_patchstate_a
6 -rw- 4 Jan 19 2010 03:09:32 snmpnotilog.txt
7 drw- - Sep 09 2009 09:43:00 lam
8 -rw- 2,584 Jan 21 2010 12:02:18 vrpcfg.cfg
9 drw- - Jan 21 2010 11:09:21 logfilelogfile
180,862 KB total (305,358 KB free)
<HUAWEI> mkdir abc
Info:Create directory cfcard:/abc/......Done.
<HUAWEI> dir
Directory of cfcard:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 1,235 Dec 17 2009 17:10:53 vrpcfg.cfg
1 -rw- 524,575 Jan 25 2010 10:03:33 private-data.txt
2 drw- - Sep 09 2009 09:42:52 src
3 drw- - Sep 09 2009 09:42:53 logfile
4 -rw- 280 Sep 09 2009 09:42:53 $_patch_rollback_state
5 -rw- 11,772 Nov 25 2009 16:56:55 $_patchstate_a
6 -rw- 4 Jan 19 2010 03:09:32 snmpnotilog.txt
7 drw- - Sep 09 2009 09:43:00 lam
8 -rw- 2,584 Jan 21 2010 12:02:18 vrpcfg.cfg
9 drw- - Jan 21 2010 11:09:21 logfilelogfile
10 drw- - Jan 23 2010 11:10:42 abc
180,862 KB total (305,358 KB free)