Ruijie Community

Title: How do I back up the devices? [Print this page]

Author: linyonghang1@ru    Time: 2023-8-4 13:38
Title: How do I back up the devices?


Note:

1.        Register the mac address of the device that is not connected to the AP (it is the MAC on the sticker on the back of the device, rather than the mac address of the physical interface).

2.        Pre-configure the AP on the AC

3.        After an AP goes online, the AC delivers the configuration based on the AP mac address


1. To configure the AP on the AC, take the mac address of the device 1414.4b74.fe58 as an example:

Ruijie>enable ------> Enter privileged mode

Ruijie#configure terminal ------> Enter the global configuration mode

Ruijie(config)#ap-config JXL-01 ------> Name AP JXL-01, AP should be online first, or the user can not use this command

Ruijie(config-ap)#ap-mac 1414.4b74.fe58 ------> Bind the mac address (device sticker mac) of the AP, specifying that this AP-config is the configuration of the AP whose device mac is 1414.4b74.fe58

Ruijie(config-ap)#channel 1 radio 1

Ruijie(config-ap)#channel 149 radio 2

Ruijie(config-ap)#ap-group BJYZ ------> Calls ap-group named BJYZ. If the user doesn't change it, the default name will be the default

Ruijie(config-ap)#acip ipv4 1.1.1.1 ------> Optional configuration: Specify an address to set up a tunnel

Ruijie(config-ap)#ip add 12.12.12.3 255.255.255.0 12.12.12.1 ------> Optional configuration: specify the address, mask, and gateway address of the AP

Ruijie(config-ap)#end

Ruijie#wr ------> Save the configuration

2. The first time AP is online, it will obtain the ip address automatically. Here is the log for an example

Log of the online process:

*Sep  9 19:42:10: %DHCPD-6-ADDRESS_ASSIGN:  Interface VLAN 1 assigned DHCP address 12.12.12.2, mask 255.255.255.0, Mac 1414.4b74.fe59

*Sep 9 19:42:24: %APMG-6-RX_CTRL_UP_MSG: AP(JXL-01:1414.4b74.fe58) attached to AC. ------> Automatically obtains an IP address and establishes a tunnel

*Sep  9 19:42:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface CAPWAP-Tunnel 1, changed state to up

*Sep 9 19:42:26: %CAPWAP-3-DOWN: The tunnel is down for DTLS peer 12.12.12.2: 10000 disconnect. ------>AC sends the configuration to change the address and disconnects the previous tunnel

*Sep 9 19:42:26: %CAPWAP-7-TUNNEL: Tunnel deleted: source ip is 1.1.1.1, dest ip is 12.12.12.2.

9 19:42:27: %DHCPD-6-ADDRESS_RELEASE: DHCP released lease 12.12.12.2, mask 255.255.255.0, Mac 1414.4b74.fe59

9 19:42:27: %APMG-6-RX_CTRL_MSG: AP(JXL-01:1414.4b74.fe58) leave AC.

*Sep 9 19:42:36: %APMG-6-RX_CTRL_UP_MSG: AP(JXL-01:1414.4b74.fe58) attached to AC. ------> Use the pre-configured address to establish the tunnel

*Sep 9 19:42:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface CAPWAP-Tunnel 1, changed state to up------> The tunnel is set up successfully

3. Check the configuration:

Ruijie#show  ap-config summary    -->check the information of AP

Ruijie#show  ap-config running JXL-01    --->check the configuration of AP






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2