Raritan Computer EMX2-111 User Manual

Page of 379
 
Chapter 10: Using the Command Line Interface 
 
 
279
 
 
config:# 
security roleBasedAccessControl ipv6 rule modify <rule_number> policy 
<policy> 
 
 
To modify all contents of an existing IPv6 rule, use this 
command syntax: 
 
config:# 
security roleBasedAccessControl ipv6 rule modify <rule_number>  
startIpAddress <start_ip> endIpAddress <end_ip> role <role> policy 
<policy> 
 
Variables: 
 
<rule_number> is the number of the existing rule that you want to 
modify. 
 
<start_ip> is the starting IP address. 
 
<end_ip> is the ending IP address. 
 
<role> is one of the existing roles. 
 
<policy> is one of the options: allow or deny
Policy 
Description 
allow 
Accepts traffic from the specified IP address 
range when the user is a member of the specified 
role 
deny 
Drops traffic from the specified IP address range 
when the user is a member of the specified role 
 
 
Example 
The following command modifies all contents of the 8th IPv4 rule. 
 
config:# 
security roleBasedAccessControl ipv4 rule modify 8  
startIpAddress 192.168.8.8 endIpAddress 192.168.90.90 role operator  
policy allow 
 
Results: 
 
The starting IPv4 address is changed to 192.168.8.8, and the ending 
IPv4 address to 192.168.90.90. 
 
The role is changed to "operator." 
 
The policy now becomes "allow."