

########## EXAMPLE SWROPTIONS FILE ##############

#Use launchapp=c5921i86-universalk9_npe-ms.SSA for NPE image

soft-rommon=./
launchapp=c5921i86-universalk9-ms.SPA
ram=512
ethernet-slots=2
node-lock-type=machine

#This variable has to be set to true for kernel versions that has the patch(RHEL bug 1135347) and 
#to false for kernel versions that does not have the patch. 
#Not required for Centos Linux distributions except kernel version 2.6.36. 
#Mandatory for all other Liinux distributions
#For example for kernel 2.6.32-504.23.4 set flag as below
  
linux-vlan-stripped-from-pak=true


### FILE MAPPING SECTION ###

[filemap]
ios=flash0
linux=/opt/cisco/c5921/
access=rw


### INTERFACE MAPPING SECTION ###

# Map Linux eth0 to IOS e0/0, type raw
# Set promiscuous true
# Make speed/duplex interface configs available for e0/0 in IOS.
# Monitor and Pull Linux interface changes like speed/duplex/MTU/MAC 
# of eth0 to IOS e0/0.
# Push changes like speed/duplex/MAC of IOS e0/0 to Linux eth0.

[interface]
linux=eth0
ios=e0/0
type=raw
promiscuous=true
monitor-state=true
push-mon-int=true

# Map Linux eth1 to IOS e0/1, type raw
# Set promiscuous true
# Make speed/duplex interface configs NOT available for e0/1 in IOS 
# Monitor and Pull Linux interface changes like speed/duplex/MTU/MAC 
# of eth1 to IOS e0/1.
# Push MAC changes of IOS e0/1 to Linux eth1.
# Speed/Duplex of e0/1 could not be changed by IOS and hence not 
# pushed to Linux eth1.

[interface]
linux=eth1
ios=e0/1
type=raw
promiscuous=true
monitor-state=true
push-mon-int=false

# Map Linux eth2 to IOS e0/2, type raw
# Set promiscuous true
# Make speed/duplex interface configs available for e0/2 in IOS 
# DO NOT Monitor/Pull Linux interface changes like speed/duplex/MTU/MAC 
# of eth2 to IOS e0/2.
# DO NOT Push IOS e0/2 changes to Linux eth2.

[interface]
linux=eth2
ios=e0/2
type=raw
promiscuous=true
monitor-state=false
push-mon-int=true

[interface]
linux=tap0
ios=e1/0
type=tap
monitor-state=true

