Skip to Content
Learning OpenStack Networking - Third Edition
book

Learning OpenStack Networking - Third Edition

by James Denton
August 2018
Beginner
462 pages
12h 36m
English
Packt Publishing
Content preview from Learning OpenStack Networking - Third Edition

Removing security groups from instances and ports in the CLI

To remove an individual security group, use the openstack server remove security group command, as shown in the following example:

openstack server remove security group <INSTANCE> <SECURITY_GROUP>

Alternatively, you can use the openstack port unset command to remove the group from a port:

openstack port unset --security-group <SECURITY GROUP> <PORT>

To remove all security groups from a port, including the default group, use the openstack port set command with the --no-security-group argument, as shown in the following example:

openstack port set --no-security-group <PORT> 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

OpenStack Certification, 2/e

OpenStack Certification, 2/e

Sander van Vugt
Mastering OpenStack - Second Edition

Mastering OpenStack - Second Edition

Omar Khedher, Chandan Dutta

Publisher Resources

ISBN: 9781788392495