HPE D6020 Maintenance And Service Manual page 160

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

cd
Use cd to change the working directory.
Syntax
cd { directory | .. }
Views
User view
Predefined user roles
network-admin
Parameters
directory: Specifies the destination directory.
..: Specifies the parent directory. If the working directory is the root directory, an error message
appears when you execute the cd .. command. No online help information is available for this
keyword.
Examples
# Access the test directory after logging in to the device.
<Sysname> cd test
# Change to the parent directory.
<Sysname> cd ..
# (Centralized devices in IRF mode.) Access the root directory of a file system on a subordinate
member after you log in to the master.
<Sysname> cd slot2#flash:/
# (Centralized devices in IRF mode.) Change back to the root directory of a file system on the
master.
<Sysname> cd flash:/
# (Distributed devices in standalone mode.) Access the root directory of a file system on the standby
MPU and then change to the test directory of a file system on the active MPU:
1.
Display the slot number of the standby MPU.
<Sysname> display device
Slot No.
----------------------------------------------------------------------------
0
1
2
The output shows that the slot number of the standby MPU is 1.
2.
Access the root directory of a file system on the standby MPU.
<Sysname> cd slot1#cfa0:/
3.
Change to the test directory in the root directory of a file system on the active MPU.
<Sysname> cd cfa0:/test
# (Distributed devices in IRF mode.) Change the working directory from the global active MPU to a
global standby MPU and then change back to the global active MPU:
4.
Display the member IDs and slot numbers of all MPUs.
<Sysname> display irf
MemberID
*1
Board Type
MPU-60
MPU-60
SPU
Role
Priority
CPU-Mac
Master
10
Status
Normal
Normal
Normal
Description
00e8-fc0f-8c01
---
152
Primary
SubSlots
Master
0
Standby
0
N/A
6

Advertisement

Table of Contents
loading

Table of Contents