Cisco IOS

From UF HPC Wiki

Jump to: navigation, search

Contents

NAT Configuration

NAT of course stands for Network Address Translation. In our case we wanted to do a simple NAT configuration, but we ran into some issues with it because of some of the other configurations that we have.

The first thing to do is to decide which interfaces are inside and outside. An inside interface is an interface that is facing the internal network that you want to translate to. An outside interface is an interface that is facing the external network that you want to translate from.

NOTE: When configuring an outside interface that is a bonded interface connected to a vlan, be sure to label both the vlan and each individual interface that makes up the bond.

This can be done with each interface with either of the following commands:

# ip nat inside
# ip nat outside

Next is the actual NAT rule. For instance, if you were to NAT a public IP of 72.14.207.99 to a private IP of 192.168.0.1, you would do the following:

# ip nat inside source static 192.168.0.1 72.14.207.99

Firewall Settings

ACL Configuration

When creating an access list for our connection, one thing that needs to be noted when doing this is that our ten-gigabit uplinks are using OSPF protocols in order to see the rest of the world. As such, this needs to be included in the access list or nothing will work.

For example, we would need the following:

permit ospf 128.227.253.0 0.0.0.255 any

CPU Utilization

# show processes cpu history

This outputs something like the following:

                                                               
                  11111                                        
     4445555566666222225555555555444446666622222555553333355555
100                                                            
 90                                                            
 80                                                            
 70                                                            
 60                                                            
 50                                                            
 40                                                            
 30                                                            
 20                                                            
 10     *************************     *****     *****     *****
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5    

               CPU% per second (last 60 seconds)

                                                               
       1 2  1 1     43111121111  1 1   11     11111 2          
     660969809297988036111722108929998712436249522561          
100                                                            
 90                                                            
 80                                                            
 70                                                            
 60                                                            
 50                                                            
 40                 *                                          
 30      *          **    *                                    
 20      *          ***   *        *          **  * *          
 10  **###*#####################*#####***  *  *####**          
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5    

               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%

                                                                           
                                                                           
                                                                           
100                                                                        
 90                                                                        
 80                                                                        
 70                                                                        
 60                                                                        
 50                                                                        
 40                                                                        
 30                                                                        
 20                                                                        
 10                                                                        
    0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
              0    5    0    5    0    5    0    5    0    5    0    5    0 

                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%