# AES - useful commands

Here is a list of useful commands in Avaya AES.

**Checking services**

```
service aesvcsSpiritAgent status
service subagent1 status
service subagent2 status
service snmpd status

systemctl status aesvcsSpiritAgent
systemctl status subagent1
systemctl status subagent2
systemctl status snmpd
```

**Information**

```
swversion
cat /etc/os-release
uname -r
df -h
hostname
who
reboot
shutdown -r now
```

**Networking info**

```
ifconfig
route -n
iptables -L --line-numbers
netstat -nao | grep 8443
netstat -plnt | grep 0.0.0.0
/opt/mvap/bin/netconfig
```

**Administration**

```
wget https://x.x.x.x:8443
cat /etc/hosts
cat /etc/hosts.allow
cat /etc/hosts.deny
find / -iname sms_test.php
```

**Important file/folders**

```
ls /var/log/avaya/aes/
cat /var/lib/net-snmp/snmpd.conf
vi /opt/mvap/conf/javaManager.properties
ls /opt/coreservices/avaya/certs/ -ltr
cat /opt/coreservices/certmgmt/conf/certmgmt.conf
```

**IP Table administration**

```
iptables -S | grep 8443
iptables -L --line-numbers
iptables -D INPUT 1
sudo iptables -I INPUT 1 -p tcp -s 10.191.33.168 --dport 8443 -j ACCEPT
```

[Source: https://whereismyvoicepacket.com/avaya-aes-admin-task-useful-commands/](https://whereismyvoicepacket.com/avaya-aes-admin-task-useful-commands/)