Script Examples
| 
                                                         
                                                              | 
                                                    
                                                         Note - Line numbers in the left column are written only to make it easier to read the script examples.  | 
                                                
Example 1
Create a Virtual System connected to a Virtual Router.
Add a default route on the Virtual System that routes the traffic to the Virtual Router.
Add applicable routes on the Virtual Router to route the traffic to the Virtual System.
| 
                                                             Line  | 
                                                        
                                                             Command  | 
                                                    
|---|---|
| 
                                                             1  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             2  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             3  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             4  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             
  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             5  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             6  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             7  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             8  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             
  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             9  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             10  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             11  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             12  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             13  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             14  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             15  | 
                                                        
                                                             
  | 
                                                    
Example 2
Create a Virtual System connected to a Virtual Switch, with manual topology.
| 
                                                             Line  | 
                                                        
                                                             Command  | 
                                                    
|---|---|
| 
                                                             1  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             2  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             3  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             4  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             
  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             5  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             6  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             7  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             8  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             9  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             10  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             11  | 
                                                        
                                                             
  | 
                                                    
Example 3
Add CoreXL Firewall instances to the Virtual System made in the last example.
Turn on automatic calculation of topology.
Change the name of the internal interface, and decrease its MTU.
| 
                                                             Line  | 
                                                        
                                                             Command  | 
                                                    
|---|---|
| 
                                                             1  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             2  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             3  | 
                                                        
                                                             
  | 
                                                    
| 
                                                             4  | 
                                                        
                                                             
  |