who

The -syntaxoption adds syntax information to the command tree.

view tree

Use tree to view the command tree.

(command

 

 

hierarchy)

hostname# (cfg-session)# tree

 

session

 

 

 

+---alias

 

 

 

+---boot

 

 

+---list-image

 

 

+---remove-image

 

 

+---rollback

 

 

bugreport

(continued)

view tree (command hierarchy) with syntax notation

Use tree -syntaxto view the command tree with syntax notation.

hostname(cfg-session)# tree -syntax session

+---columns <columns>

+---more no more

+---rows <rows>

+---timeout <minutes> [-persist]

+---wraparound no wraparound

who

access: global; all

The who command displays the usernames, the connection methods, the IP addresses, and the login times of the users who are currently logged in on the device. By default, the login time is shown in local time, if you use the -utcoption, the login time will be shown in Universal Time.

list usernames and IP addresses of current users

hostname# who

I/F

IP Address

Login <Local Time>

User

==============================

======

===============

===================

ekwalker

CON

Serial

2003-8-18 10:28:17

kscanlon

HTTP

111.222.33.66

2003-8-15

15:50:18

sserur

HTTP

111.222.34.77

2003-8-16

11:40:04

ntulsian

HTTP

111.222.35.88

2003-8-16

16:56:47

jkrejca

HTTP

111.222.36.99

2003-8-17

16:48:30

X Family CLI Reference V 2.5.1

121