User`s guide
264 XgOS User’s Guide • September 2014
Example: Add Role Group Mapping With a
Regular Expression
By using a regular expression, you can simplify the creation of a role group mapping
if many groups are similar and have the same role.
In the following example, a role group mapping will be created for the AD groups
tech-marketing, tech-pubs, and tech-supports. A regular expression will be used in
the role group mapping to allow matching against all of these groups. The role
group mapping will set the role of “administrator” to any member of these groups.
▼ Add a Role Group Mapping
1. Create a role group mapping.
For example:
2. Set the group using a regular expression, and set the role for the groups that
match the regular expression.
3. Display the role group mapping to verify that it was added.
Example: Remove a Role Group Mapping
For the following example, assume that you will be removing the role group
mapping name publications. When the mapping is deleted, no matching occurs, and
users in the group cannot access the Oracle Fabric Interconnect through the group
served by the mapping. User can still access the Oracle Fabric Interconnect through
other groups (if any) that are mapped.
add ims role-group-mapping mktingpubssupport
set ims role-group-mapping mktingpubssupport -group=tech.* -role=administrators
show ims role-group-mapping mktingpubssupport
name group role descr
-----------------------------------------------------------------
mktingpubssupport tech.* administrators
1 record displayed
remove ims role-group-mapping publications