I need Edit the ACL policy in EXOS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-19-2015 06:58 PM
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.
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-13-2016 02:09 PM
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
See this article for more information: Policy is not taking effect after changes have been made to the existing policy file
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-13-2016 05:59 AM
I agree with Dorian, you have to edit the policy wit the vi editor 
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-19-2015 07:55 PM
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 ".
I want to confirm the suggestion from Stephane.
The provided output shows that you are running the "show policy
To edit the policy use the vi editor with the command: "vi " or the command "edit policy ".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-19-2015 07:49 PM
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.
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.
