To get the best performance, configure the SecureXL Affinity in static mode for the slave interfaces.
If you are running SecureXL in a multi-core system, after you define bonds, set affinities manually. Use the sim affinity -s
command.
Note - The sim affinity
commands take effect only if the SecureXL is enabled and actually running. SecureXL begins running when you install a Policy for the first time.
For optimal performance, set affinities according to the following guidelines:
sim affinity -s
Use interface pairs of the same position with internal and external bonds.
cat /proc/net/bonding/<bond name>.
Interfaces that appear in the same position in the two bonds are interface pairs and set to be handled by one processing core.
For example, you might have four processing cores (0-3) and six interfaces (0-5), distributed among two bonds:
bond0 |
bond1 |
---|---|
eth0 |
eth3 |
eth1 |
eth4 |
eth2 |
eth5 |
Two of the CPU cores will need to handle two interfaces each. An optimal configuration can be:
bond0 |
|
bond1 |
|
---|---|---|---|
eth0 |
core 0 |
eth3 |
core 0 |
eth1 |
core 1 |
eth4 |
core 1 |
eth2 |
core 2 |
|
|
|
|
eth5 |
core 3 |
Description
Shows the configuration of bond interfaces and their slave interfaces.
Syntax in Expert mode
cphaconf show_bond {-a |
<bond_name>}
Where:
Command |
Description |
---|---|
|
Shows configuration of all configured bond interfaces |
|
Shows configuration of the specified bond interface |
Example
Bond name: bond0 Bond mode: Load Sharing Bond status: UP Balancing mode: 802.3ad Layer3+4 Load Balancing Configured slave interfaces: 4 In use slave interfaces: 4 Required slave interfaces: 2 Slave name | Status | Link ----------------+-----------------+------- eth2 | Active | Yes eth3 | Active | Yes eth4 | Active | Yes eth5 | Active | Yes |
The output shows:
Active
- This slave interface is currently handling traffic.Backup
- (Bond High Availability only) This slave interface is ready and can support internal bond failover.Not Available
- (Bond High Availability only) The physical link on this slave interface is broken, or the Cluster member is in status down. The bond cannot failover in this state.Yes
or No
).
In This Section |
cphaconf show_bond <bond_name>
cphaprob state
If any of the cluster members have a firewall
State
other than active,
continue with the cphaprob state
troubleshooting.
In a VSX member, reboot is needed after the following actions on a bond interface:
Note - Removing a slave does not require reboot.
When using certain switches, connectivity delays may occur during some internal bond failovers. With the various features that are now included on some switches, it can take close to a minute for a switch to begin servicing a newly connected interface. These are suggestions for reducing the startup time after link failure.
The PortFast feature should never be used on ports that connect to switches or hubs. It is important that the Spanning Tree complete the initialization procedure in these situations. Otherwise, these connections may cause physical loops where packets are continuously forwarded (or even multiply) in such a way that can cause the network to fail.
The following are the commands necessary to enable PortFast on a Gigabit Ethernet 1/0/15 interface of a Cisco 3750 switch running IOS.
cisco-3750A# conf t
cisco-3750A(config)# interface gigabitethernet1/0/15
cisco-3750A(config-if)# spanning-tree portfast
cisco-3750A(config-if)# end
cisco-3750A# write