Pseries Installation Guide
P-Series Installation and Operation Guide, version 2.3.1.2 89
Example
Figure 53
[root@localhost SW]# pnic flow-teardown-enable
No card number specified. Assuming card 0
*** Enabling Flow-Teardown on card:0 successful.
[root@localhost SW]#
pnic flow-teardown-enable Command Example
Usage
Information
The flow teardown feature is coupled with the firewall feature. When default drop mode is
enabled (command
pnic default-drop-enable), the flow teardown is enabled by default.
When default drop mode is disabled (
pnic default-drop-disable), the flow teardown is
disabled by default.
Related
Commands
pnic getmachashindex
Display the hash index value for a specific source and destination IP address combination.
Syntax
pnic getmachashindex [number]
Parameters
Command
History
Example
Figure 54
[root@localhost SW]# pnic getmachashindex
No card number specified. Assuming card 0
Please input the Source IP address [e.g. 192.168.15.22]: 10.14.122.21
Input the Destination IP address [e.g. 172.168.15.14]: 154.12.123.44
The hash index calculated for MAC rewrite is: 170 (0xaa)
[root@localhost SW]#
pnic getmachashindex Command Example
Usage
Information
Use this command with the MAC rewrite feature. This command displays the hash index
value for an IP address pairs.
pnic default-drop-disable Disable firewall functionality. This is the default behavior.
pnic default-drop-enable Enable firewall functionality.
number
Enter the number of the network interface card.
Range: 0-5
Default: 0
Version 2.1.0.0 Introduced