Forum Discussion
Sync F5 via command line
Hi, It is easy to Sync via GUI. I want to sync via CLI, but I am not sure how to use the command:
"run /cm config-sync to-group <sync_group>" How to know what is this sync_group? I use the below command to find what is sync_group. I got three as below. So which one of the three is sync_group? Thank you
tmsh show running-config | grep device-group
cm device-group device_group_1 {
cm device-group device_trust_group {
cm device-group gtm {
10 Replies
- Ryannnnnnnnn
Altocumulus
You can use the following command to display the device groups:
show cm device-group
- eesun_276598
Cirrus
Thank you so much for your reply. If we want to sync, do we need to sync all of group? After I used your command, it show several group in the F5: HA, device_trust_group and gtm. Do I need to sync all of them separately?
but via GUI, we do not need to think about all of these group when wanting to sync
- Ryan_80361
Cirrostratus
You can use the following command to display the device groups:
show cm device-group
- eesun_276598
Cirrus
Thank you so much for your reply. If we want to sync, do we need to sync all of group? After I used your command, it show several group in the F5: HA, device_trust_group and gtm. Do I need to sync all of them separately?
but via GUI, we do not need to think about all of these group when wanting to sync
- Vijith_182946
Cirrostratus
The sync-group here is
device_group_1
- eesun_276598
Cirrus
"device_group_1" does not work after using it. here is error message:
01070734:3: Configuration error: Device group (device_group_1) not found in device group sync
"device_group_1" is not listed in that group.
These below three are listed in the group and can work with the command "run /cm config-sync to-group "
HA
device_trust_group
gtm
So, do I use all of three or one of them? Thank you
- Red_19
Nimbostratus
run cm config-sync to-group HA
- Vijith_182946
Cirrostratus
Yes, so the device group is 'HA'
- Red_19
Nimbostratus
I always do "list cm device-group" will get the group whose type is "sync-failover and will run the sync command. In your case I'm guess your group is "HA"
- Samir_Jha_52506
Noctilucent
run /cm config-sync to-group Syncfailover
is the name of Device trust group[GUI -->Device Management ›› Overview >> Device Group].Syncfailover
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com