cancel
Showing results for 
Search instead for 
Did you mean: 

I need Edit the ACL policy in EXOS

I need Edit the ACL policy in EXOS

Daniel_Valera1
New Contributor II
I cant edit the ACL policy. i need add others IP´s direction

Slot-2 SW.1 # sh policy Regla_acceso
Policies at Policy Server:
Policy: Regla_acceso
entry bLoqueo_SSH {
if match any {
source-address 10.170.x.x/32 ;
source-address 10.170.d.d/32 ;
source-address 10.170.x.x/24 ;
}
then {
permit ;
}
}
Number of clients bound to policy: 1
Client: exsshd bound once

Slot-2 SW.1 #

*******************************************************************************************

i try with these commands but it dont make the change

• i - To insert text ahead of the initial cursor position.

• a- To append text after the initial cursor position.

• dd - To delete the current line.

• yy - To copy the current line.

• p - To paste the line copied.

• :w - To write (save) the file.

• :q - To quit the file if no changes were made.

• :q! - To forcefully quit the file without saving changes.

• :wq - To write and quit the file.

5 REPLIES 5

Drew_C
Valued Contributor III
Since this thread has been bumped, it should also be mentioned that you'll need to refresh the policy after editing to make it take effect.
See this article for more information: Policy is not taking effect after changes have been made to the existing policy file

Mareen
New Contributor
I agree with Dorian, you have to edit the policy wit the vi editor 

Dorian_Perry
Extreme Employee
Hi Daniel,

I want to confirm the suggestion from Stephane.

The provided output shows that you are running the "show policy ", which only prints the policy to the screen.

To edit the policy use the vi editor with the command: "vi " or the command "edit policy ".

Stephane_Grosj1
Extreme Employee
Hi,

Just checking, you are into the text editor when trying to make the change, right?

# vi Regla_acceso.pol

or

# edit policy Regla_acceso

from there, you should be able to modify your file with the vi command listed.
GTM-P2G8KFN