amp-server

Syntax

amp-server ip <IP-ADDR | IPv6-ADDR> group <GROUP> folder <FOLDER> secret <SECRET>

no amp-server

Description

The amp-server command configures AirWave Management Platform (AMP) IP address, group, folder, and shared secret for triggering the device registration with AMP. The amp-server command supports both the IPv4 and IPv6 addresses. Switch cannot be provisioned simultaneously with IPv4 and IPv6 AirWave addresses.

NOTE:

The amp-server with IPv6 address is supported from 16.06 switch version.

The no form of this command removes the configuration for the AMP server.

Command context

config

Parameters

IP-ADDR

AMP server IPv4 address.

IPv6-ADDR

AMP server IPv6 address.

GROUP

AMP server group name.

FOLDER

AMP server folder name.

SECRET

AMP server shared secret string.

Example

switch(config)# amp-server
 ip                    Configure AMP server IP address.
switch(config)# amp-server ip
 IP-ADDR               Enter an IP address.
 IPV6-ADDR             Enter an IPv6 address.
switch(config)# amp-server ip 192.168.1.1
 group                 AMP server group name.
switch(config)# amp-server ip 192.168.1.1 group
 GROUPNAME-STR         AMP server group name.
switch(config)# amp-server ip 192.168.1.1 group grp11
 folder                AMP server folder name.
switch(config)# amp-server ip 192.168.1.1 group grp11 folder
 FOLDERNAME-STR        AMP server folder name.
switch(config)# amp-server ip 192.168.1.1 group grp11 folder fld11
 secret                AMP server shared secret string.
switch(config)# amp-server ip 192.168.1.1 group grp11 folder fld11 secret
 SECRET-STR            AMP server shared secret string.
switch(config)# amp-server ip 192.168.1.1 group grp11 folder fld11 secret scrt11

switch(config)# amp-server ip
 IP-ADDR               Enter an IP address.
 IPV6-ADDR             Enter an IPv6 address.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b
 group                 AMP server group name.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group
 GROUPNAME-STR         AMP server group name.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group grp21
 folder                AMP server folder name.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group grp21 folder
 FOLDERNAME-STR        AMP server folder name.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group grp21 folder fld21
 secret                AMP server shared secret string.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group grp21 folder fld21 secret
 SECRET-STR            AMP server shared secret string.
switch(config)# amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b 
group grp21 folder fld21 secret scrt21

To view the AirWave configuration details, use the show amp-server command.

show amp-server

AMP Server Configuration details

  AMP Server IP            : 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b
  AMP Server Group         : grp21
  AMP Server Folder        : fld21
  AMP Server Secret        : scrt21
  AMP Server Config Status : Configured

show running-configuration

switch# show running-config

; JL071A Configuration Editor; Created on release #KB.16.06.0000x
; Ver #13:03.f8.1c.fb.7f.bf.bb.ff.7c.59.fc.7b.ff.ff.fc.ff.ff.3f.ef:05

hostname "Switch"
module 1 type jl071x
flexible-module A type JL081A
snmp-server community "public" unrestricted
oobm
   ip address dhcp-bootp
   exit
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-24,A1-A4
   ip address dhcp-bootp
   ipv6 enable
   ipv6 address dhcp full
   exit
amp-server ip 2001:1db8:3cd4:1115:1111:2222:1a2f:1a2b group "grp21" folder "fld21" 
   secret "scrt21"
NOTE:

ipv6 enable and ipv6 address dhcp full are enabled by default on VLAN 1 from 16.06 switch version.