Table Of Contents
TCP/IP Normalization and IP Reassembly Parameters Commands on the Virtual Firewall
clear conn
clear icmp statistics
clear stats
clear syn-cookie
clear tcp statistics
clear udp statistics
fragment chain
fragment min-mtu
fragment timeout
icmp-guard
ip df
ip options
ip ttl minimum
normalization
show conn
show fragment
show icmp statistics
show stats
show syn-cookie
show tcp statistics
show udp statistics
syn-cookie
TCP/IP Normalization and IP Reassembly Parameters Commands on the Virtual Firewall
This module describes the commands necessary to configure TCP/IP normalization and IP reassembly for the VFW application. For information regarding configuring TCP/IP normalization and IP reassembly, refer to the "Configuring TCP/IP Normalization and IP Reassembly Parameters on the Virtual Firewall" module in Cisco IOS XR Virtual Firewall Configuration Guide.
Note
The commands described in this module are SanOS (Linux) commands used on the VFW application. Before you can access any of these commands, you must attach from the route processor to the VFW application using the service firewall attach location command. For more information, see the "Attaching to the VFW Application" section in Cisco IOS XR Virtual Firewall Configuration Guide.
clear conn
To clear a connection that passes through, terminates, or originates with the VFW application, use the clear conn command in EXEC mode.
clear conn [all | flow {protocol | icmp | tcp | udp} {source_ip | source_port | dest_ip | dest_port}]
Syntax Description
all
|
(Optional) Clears all connections, which includes the connections that go through the VFW application, originate with the VFW application, or terminate with the VFW application.
|
flow
|
(Optional) Clears the connection matching the specified flow descriptor.
|
protocol
|
IP protocol number of the flow.
|
icmp
|
Specifies flow types using ICMP.
|
tcp
|
Specifies flow types using TCP.
|
udp
|
Specifies flow types using UDP.
|
source_ip
|
Source IP address of the flow. Enter an IP address in dotted-decimal notation.
|
source_port
|
Source port of the flow.
|
dest_ip
|
Destination IP address of the flow. Enter an IP address in dotted-decimal notation.
|
dest_port
|
Destination port of the flow.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the inspect, NAT, connection, or SSL feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
To clear only the connections that go through the VFW application (flows that pass through the VFW application between the originating network host and the terminating network host), use the clear conn command without any keywords. When you do not include any keywords, the connections that terminate or originate with the VFW application are not cleared.
Examples
The following example shows how to clear the connections:
firewall/Admin# clear conn
Related Commands
Command
|
Description
|
show conn
|
Displays the connection statistics.
|
clear icmp statistics
To clear the Internet Control Message Protocol (ICMP) statistics, use the clear icmp statistics command in EXEC mode.
clear icmp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command has no user role feature restrictions. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to clear the ICMP statistics:
firewall/Admin# clear icmp statistics
Related Commands
Command
|
Description
|
show icmp statistics
|
Displays the Internet Control Message Protocol (ICMP) statistics.
|
clear stats
To clear the statistical information stored in the VFW application buffer, use the clear stats command in EXEC mode.
clear stats {all | connections | http | inspect [ftp | http | rtsp]}
Syntax Description
all
|
(Optional) Clears all statistical information in a context.
|
connections
|
(Optional) Clears connection statistical information.
|
http
|
(Optional) Clears HTTP statistical information.
|
inspect
|
(Optional) Clears inspection context statistical information.
|
ftp
|
(Optional) Clears FTP inspection context statistics.
|
http
|
(Optional) Clears HTTP inspection context statistics.
|
rtsp
|
(Optional) Clears RTSP inspection context statistics.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
The ftp and rtsp keywords were added.
|
Usage Guidelines
This command requires the inspect, NAT, connection, or SSL feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to clear the FTP inspection statistics:
firewall/Admin# clear stats inspect ftp
Related Commands
Command
|
Description
|
show stats
|
Displays the statistical information relating to the operation of the VFW application.
|
clear syn-cookie
To clear the SYN cookie statistics, use the clear syn-cookie command in EXEC mode.
clear syn-cookie [interface_name]
Syntax Description
interface_name
|
(Optional) Instructs the VFW application to clear SYN cookie statistics for the specified interface. Enter an unquoted text string with no spaces and a maximum of 30 alphanumeric characters.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
To clear SYN cookie statistics for all interfaces that are configured in the current context, enter the command with no arguments.
Examples
The following example shows how to clear SYN cookie statistics for the interface inside1:
host1/C1# clear syn-cookie inside1
Related Commands
clear tcp statistics
To clear all the TCP connections and normalization statistics, use the clear tcp statistics command in EXEC mode.
clear tcp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to clear the TCP statistics:
firewall/Admin# clear tcp statistics
Related Commands
Command
|
Description
|
show tcp statistics
|
Displays the Transmission Control Protocol (TCP) statistics.
|
clear udp statistics
To clear the User Datagram Protocol (UDP) connection statistics, use the clear udp statistics command in EXEC mode.
clear udp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to clear the UDP statistics:
firewall/Admin# clear udp statistics
Related Commands
fragment chain
To configure the maximum number of fragments belonging to the same packet that the VFW application accepts for reassembly for an interface, use the fragment chain command in the appropriate interface configuration mode. To reset the default value, use the no form of this command.
fragment chain number
no fragment chain
Syntax Description
number
|
Maximum number of fragments belonging to the same packet. Enter an integer from 1 to 256.
|
Defaults
By default, the maximum number of fragments is 24.
Command Modes
Interface configuration
Management interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to configure a fragment chain limit of 126:
firewall/C1(config-if)# fragment chain 126
Related Commands
Command
|
Description
|
fragment timeout
|
Configures a reassembly timeout for an interface.
|
show fragment
|
Displays the IP fragmentation and reassembly statistics for all interfaces in the VFW application or the specified interface.
|
fragment min-mtu
To configure the minimum fragment size that the VFW application accepts for reassembly for an interface, use the fragment min-mtu command in the appropriate interface configuration mode. To reset the default value, use the no form of this command.
fragment min-mtu number
no fragment min-mtu
Syntax Description
number
|
The minimum fragment size. Enter an integer from 68 to 9216 bytes. The default is 576 bytes.
|
Defaults
By default, minimum fragment size is 576 bytes.
Command Modes
Interface configuration
Management interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to configure a minimum fragment size of 1024:
firewall/C1(config-if)# fragment min-mtu 1024
Related Commands
Command
|
Description
|
fragment chain
|
Configures the maximum number of fragments belonging to the same packet that the VFW application accepts for reassembly for an interface.
|
fragment timeout
|
Configures a reassembly timeout for an interface.
|
show fragment
|
Displays the IP fragmentation and reassembly statistics for all interfaces in the VFW application or the specified interface.
|
fragment timeout
To configure a reassembly timeout for an interface, use the fragment timeout command in the appropriate interface configuration mode. To reset the default value, use the no form of this command.
fragment timeout seconds
no fragment timeout
Syntax Description
seconds
|
Reassembly timeout in seconds. Enter an integer from to 0 to 65535. A value of 0 instructs the VFW application to never time out.
|
Defaults
The default reassembly timeout is 10 seconds.
Command Modes
Interface configuration
Management interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
The IP reassembly timeout specifies the period of time after which the VFW application abandons the fragment reassembly process if it does not receive any outstanding fragments for the current fragment chain (fragments belonging to the same packet).
Examples
The following example shows how to configure an IP reassembly timeout of 750 seconds:
firewall/C1(config-if)# fragment timeout 750
Related Commands
Command
|
Description
|
fragment chain
|
Configures the maximum number of fragments belonging to the same packet that the VFW application accepts for reassembly for an interface.
|
show fragment
|
Displays the IP fragmentation and reassembly statistics for all interfaces in the VFW application or the specified interface.
|
icmp-guard
To enable the Internet Control Message Protocol (ICMP) security checks in the VFW application, use the icmp-guard command in the appropriate interface configuration mode. To disable the ICMP security checks, use the no form of this command.
icmp-guard
no icmp-guard
Syntax Description
This command has no arguments or keywords.
Defaults
This feature is enabled by default.
Command Modes
Interface configuration
Management interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
By default, the VFW application provides several ICMP security checks by matching ICMP reply packets with request packets and using mismatched packets to detect attacks. Also, the VFW application forwards ICMP error packets only if a connection record exists pertaining to the flow for which the error packet was received.
Caution 
Disabling the VFW application ICMP security checks may expose your VFW application and your data center to potential security risks. After you enter the
no icmp-guard command, the VFW application no longer performs NAT translations on the ICMP header and payload in error packets, which potentially can reveal real host IP addresses to attackers.
Examples
The following example shows how to enable the VFW application ICMP security checks after you have disabled them:
firewall/Admin(config)# interface xyz
firewall/Admin(config-if)# icmp-guard
Related Commands
Command
|
Description
|
normalization
|
Enables the ICMP security checks in the VFW application.
|
ip df
To configure how the VFW application handles an IP packet that has its Don't Fragment (DF) bit set on an interface, use the ip df command in interface configuration mode. To instruct the VFW application to ignore the DF bit, use the no form of this command.
ip df {clear | allow}
no ip df
Syntax Description
clear
|
Clears the DF bit and permits the packet. If the packet is larger than the next-hop MTU, the VFW application fragments the packet.
|
allow
|
(Default) Permits the packet with the DF bit set. If the packet is larger than the next-hop MTU, the VFW application discards the packet and sends an ICMP unreachable message to the source host.
|
Defaults
No default behavior or values
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Occasionally, a VFW application may receive a packet that has its Don't Fragment (DF) bit set in the IP header. This flag tells network routers and the VFW application not to fragment the packet and to forward it in its entirety.
Examples
The following example shows how to clear the DF bit and permit the packet:
firewall/Admin(config-if)# ip df clear
Related Commands
This command has no related commands.
ip options
To configure how the VFW application handles IP options and to perform specific actions when an IP option is set in a packet for an interface, use the ip-options command in interface configuration mode. To instruct the VFW application to ignore the IP option, use the no form of this command.
ip options {clear | clear-invalid | allow | drop}
no ip options
Syntax Description
allow
|
Allows the packet with the IP options set.
|
clear
|
Clears the specified option from the packet and allows the packet.
|
clear-invalid
|
(Default) Clears all IP options from the packet if the VFW application encounters one or more invalid or unsupported IP options and allows the packet.
|
drop
|
Causes the VFW application to discard the packet.
|
Defaults
No default behavior or values
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to allow packets with IP options set:
firewall/Admin(config-if)# ip options allow
The following example shows how to reset the VFW application behavior to the default of clearing all IP options if the module encounters one or more invalid or unsupported IP options:
firewall/Admin(config-if)# no ip options
Related Commands
This command has no related commands.
ip ttl minimum
To set the packet time-to-live (TTL) hops in the IP header on an interface, use the ip ttl minimum command in interface configuration mode. To reset the default behavior, use the no form of this command.
ip ttl minimum number
no ip ttl minimum
Syntax Description
number
|
Minimum number of hops that a packet can take to reach its destination. Enter an integer from 1 to 255 seconds.
|
Defaults
The default behavior of the VFW application is to not rewrite the TTL value of a packet.
Command Modes
Interface configuration mode
Admin and user contexts
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Each router along the packet's path decrements the TTL by one. If the packet's TTL equals 0 before the packet reaches its destination, the packet is discarded.
If the TTL value of the incoming packet is lower than the configured value, the VFW application rewrites the TTL with the configured value. Otherwise, the VFW application transmits the packet with its TTL unchanged or discards the packet if the TTL equals zero.
Examples
The following example shows how to set the TTL hops to 15:
firewall/Admin(config-if)# ip ttl minimum 15
Related Commands
This command has no related commands.
normalization
To enable TCP normalization, use the normalization command in interface configuration mode. To disable TCP normalization, use the no form of this command.
normalization
no normalization
Syntax Description
This command has no arguments or keywords.
Defaults
Normalization is enabled by default.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
By default, TCP normalization is enabled.
Caution 
Disabling TCP normalization may expose your VFW application and your data center to potential security risks. TCP normalization helps protect the VFW application and the data center from attackers by enforcing strict security policies that are designed to examine traffic for malformed or malicious segments.
To operate your VFW application for load balancing only, disable TCP normalization by entering the no normalization command. You must also disable the VFW application ICMP security checks using the no icmp-guard command.
Examples
The following example shows how to enable TCP normalization after you have disabled it:
firewall/Admin(config)# interface xyz
firewall/Admin(config-if)# normalization
Related Commands
Command
|
Description
|
icmp-guard
|
Enables the ICMP security checks in the VFW application.
|
show conn
To display the connection statistics, use the show conn command in EXEC mode.
show conn {address ip_address1 [ip_address2] netmask mask} | count | detail | display
number_of_connections | {port number1 [number2]} | {protocol {tcp | udp}}
Syntax Description
address ip_address1 [ip_address2]
|
Displays connection statistics for a single source or destination IP address or, optionally, for a range of source or destination IP addresses. To specify a range of IP addresses, enter an IP address for the lower limit of the range and a second IP address for the upper limit of the range. Enter one or two IP addresses in dotted-decimal notation.
|
count
|
Displays the total current connections to the VFW application.
|
detail
|
Displays detailed connection information.
|
display number_of_connections
|
Displays a specific number of connection pairs.
|
netmask mask
|
Specifies the network mask for the IP address or range of IP addresses you specify. Enter a network mask in dotted-decimal notation.
|
port number1 [number2]
|
Displays connection statistics for a single source or destination port or, optionally, for a range of source or destination ports.
|
protocol {tcp | udp}
|
Displays connection statistics for TCP or UDP.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
The display keyword was added.
|
Usage Guidelines
This command has no user role feature restrictions. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to display connection statistics for a range of IP addresses:
firewall/Admin# show conn address 192.168.12.15 192.168.12.35 netmask 255.255.255.0
Related Commands
Command
|
Description
|
clear conn
|
Clears a connection that passes through, terminates, or originates with the VFW application.
|
show fragment
To display the IP fragmentation and reassembly statistics for all interfaces in the VFW application or the specified interface, use the show fragment command in EXEC mode.
show fragment [interface interface_name]
Syntax Description
interface interface_name
|
(Optional) Specifies an existing interface.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
If you omit the interface interface_name optional keyword and argument, you can display statistics for all interfaces in the VFW application.
Examples
The following example shows how to display the IP fragmentation and reassembly statistics for interface xyz:
firewall/Admin# show fragment interface xyz
Related Commands
Command
|
Description
|
show interface
|
Displays the interface information.
|
show icmp statistics
To display the Internet Control Message Protocol (ICMP) statistics, use the show icmp statistics command in EXEC mode.
show icmp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command has no user role feature restrictions. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Use the clear icmp-statistics command to clear the ICMP statistics.
Examples
The following example shows how to display ICMP statistics:
firewall/Admin# show icmp statistics
Related Commands
Command
|
Description
|
clear icmp statistics
|
Clears the Internet Control Message Protocol (ICMP) statistics.
|
show stats
To display the statistical information relating to the operation of the VFW application, use the show stats command in EXEC mode.
show stats [connection | http | inspect]
Syntax Description
connection
|
(Optional) Displays global connection statistics associated with the current context.
|
http
|
(Optional) Displays global HTTP statistics associated with the current context.
|
inspect
|
(Optional) Displays global HTTP inspect statistics associated with the current context.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the inspect, NAT, connection, or SSL feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to display all the VFW application statistical information:
firewall/Admin# show stats
The following example shows how to display HTTP protocol inspection statistics:
firewall/Admin# show stats inspect http
+------------------------------------------+
+--------- HTTP Inspect statistics --------+
+------------------------------------------+
Total request/response : 0
Total allow decisions : 0
Total logging decisions : 0
Table 13 describes the fields in the show stats inspect http command output.
Table 13 Field Descriptions for show stats inspect http Command
Field
|
Description
|
Total Request/Response
|
Total number of HTTP packet requests or responses processed by the VFW application.
|
Total Allow Decisions
|
Total number of HTTP packets inspected and allowed by the VFW application.
|
Total Drop Decisions
|
Total number of HTTP packets inspected and denied by the VFW application.
|
Total Logging Decisions
|
Total number of syslog messages generated to track the action taken by the VFW application on the matching HTTP traffic. Logging is enabled as an action in the associated HTTP inspection policy map.
|
Related Commands
Command
|
Description
|
clear stats
|
Clears the statistical information stored in the VFW application buffer.
|
show syn-cookie
To display SYN cookie statistics, use the show syn-cookie command.
show syn-cookie [interface_name]
Syntax Description
interface_name
|
(Optional) Instructs the VFW application to show SYN cookie statistics for the specified interface. Enter an unquoted text string with no spaces and a maximum of 30 alphanumeric characters.
|
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Usage Guidelines
This command has no user role feature restrictions. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
To display SYN cookie statistics for all interfaces that are configured in the current context, enter the command with no arguments.
Examples
The following example shows how to display SYN cookie statistics for interface inside1:
firewall/Admin# show syn-cookie inside1
Table 14 describes the fields in the show syn-cookie command output.
Table 14 Field Descriptions for the show syn-cookie Command Output
Field
|
Description
|
Interface
|
Name of the interface configured on the VFW application.
|
Configured TCP Embryonic Connection Limit
|
Configured embryonic connection threshold above which the VFW application applies SYN-cookie DoS protection.
|
Current TCP Embryonic Connection Limit
|
Number of embryonic connections that the VFW application is currently tracking.
|
Number of TCP SYNs Intercepted by SYN COOKIE
|
Number of client SYN packets that the VFW application intercepted because the SYN-cookie embryonic connection threshold was exceeded.
|
Number of TCP ACKs Successfully Processed by SYN COOKIE
|
Number of client ACK packets that the VFW application saw and that matched a given SYN cookie. Each client ACK that matches a cookie creates a valid embryonic connection on the VFW application.
|
Failed Number of TCP ACKs Processed by SYN COOKIE
|
Number of client ACK packets that did not match a SYN cookie.
|
.
Related Commands
show tcp statistics
To display the Transmission Control Protocol (TCP) statistics, use the show tcp statistics command in EXEC mode.
show tcp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the connection feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to display TCP statistics:
firewall/Admin# show tcp statistics
Related Commands
Command
|
Description
|
clear tcp statistics
|
Clears all the TCP connections and normalization statistics.
|
show udp statistics
To display the User Datagram Protocol (UDP) statistics, use the show udp statistics command in EXEC mode.
show udp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
This command requires the connection feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Examples
The following example shows how to display UDP statistics:
firewall/Admin# show udp statistics
Related Commands
Command
|
Description
|
clear udp statistics
|
Clears the User Datagram Protocol (UDP) connection statistics.
|
syn-cookie
To configure SYN-cookie-based DoS protection, use the syn-cookie command in interface configuration mode. To remove SYN-cookie DoS protection from the interface, use the no form of this command.
syn-cookie number
no syn-cookie
Syntax Description
number
|
Embryonic connection threshold above which the VFW application applies SYN-cookie DoS protection. Enter an integer from 2 to 65535.
|
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Multi-Service Blade (MSB) for the Cisco XR 12000 Series Router.
|
Usage Guidelines
This command requires the interface feature in your user role. For details about role-based access control (RBAC) and user roles, see the Configuring Virtualization on the Virtual Firewall module in Cisco IOS XR Virtual Firewall Configuration Guide.
Please keep in mind the following guidelines when you use the SYN cookie feature:
•
If the server drops the SYN that is sent by the VFW application, the VFW application resets the connection using the embryonic timeout. It does not retry the SYN packet.
•
A SYN cookie supports only the MSS TCP option. The VFW application ignores all other TCP options, even if there are problems with those other options.
•
The VFW application returns an MSS of 536 to the client, which is the RFC-specified default.
•
If you use a parameter map to specify the minimum and maximum MSS values, the VFW application ignores those values.
•
Disabling normalization and using a SYN cookie concurrently may result in unpredictable behavior.
•
The VFW application does not generate any syslogs for a SYN cookie, even if the number of embryonic connections exceeds the configured threshold, which may indicate a SYN-flood attack.
Examples
The following example shows how to configure SYN-cookie DoS protection for servers in a data center connected to inside1:
firewall/C1(config)# interface inside1
firewall/C1(config-if)# syn-cookie 4096
Related Commands
Command
|
Description
|
show interface
|
Displays the interface information.
|
show running-config
|
Displays the running configuration information associated with the current context.
|