diff --git a/app/provision/index.php b/app/provision/index.php
index efd76559bd..df3d72fa91 100644
--- a/app/provision/index.php
+++ b/app/provision/index.php
@@ -42,6 +42,15 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
// $device_template = check_str($_REQUEST['template']);
//}
+//get the mac address for Cisco 79xx in the URL as &name=SEP000000000000
+ if (empty($mac)){
+ $name = check_str($_REQUEST['name']);
+ if (substr($name, 0, 3) == "SEP") {
+ $mac = substr($name, 3, 12);
+ unset($name);
+ }
+ }
+
//check alternate MAC source
if (empty($mac)){
//set the http user agent
diff --git a/resources/templates/provision/cisco/7940/directory.xml b/resources/templates/provision/cisco/7940/directory.xml
index f3f7b94470..2aeda06113 100644
--- a/resources/templates/provision/cisco/7940/directory.xml
+++ b/resources/templates/provision/cisco/7940/directory.xml
@@ -4,16 +4,16 @@
Select