Reset Search
 

 

Article

How to Convert a Cisco IOS Access-List for Extreme EXOS

« Go Back

Information

 
TitleHow to Convert a Cisco IOS Access-List for Extreme EXOS
Objective
To convert an existing Cisco IOS Access List for use with Extreme EXOS
Environment
  • Summit all
  • BlackDiamond all
  • EXOS version 15.2 and above
Procedure
IOS Format:
<PERMIT | DENY> <TCP | UDP | IP> <host [IP] | ANY | [IP] [REVERSEMASK]> <host [IP] | any | [IP] [REVERSEMASK]> eq <PORT>

EXOS Format:
entry <ENTRY_NAME> {
if {
source-address <IP/MASK> ;
destination-address <IP/MASK> ;
protocol [UDP | TCP] ;
source-port <PORT_NUMBER> ;
} then {
<PERMIT | DENY> ;
}
}

IOS Example:
permit tcp host 192.0.2.2 host 192.0.2.5 eq 22

EXOS Equivalent:
entry permitTCPport22 {

if {
source-address 192.0.2.2/32 ;
destination-address 192.0.2.2/32 ;
protocol TCP;
source-port 22;
} then {
PERMIT;
}
}
Additional notes
Alternatively, there is a python script to also convert the file on the Extreme Networks GitHub page:
https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/IOStoPolicy

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255