1#!/usr/bin/env python
2from __future__ import print_function
3import pyeapi
4
5connection = pyeapi.connect(host='192.168.1.16')
6output = connection.execute(['enable', 'show version'])
7
8print(('My system MAC address is', output['result'][1]['systemMacAddress']))
9
10
11