R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

256
[Sysname] host-monitor add source 1.1.1.1 destination 2.2.2.2 protocol 6 interface
gigabitethernet 2/1/1 inbound
host-monitor delete
Use host-monitor delete to delete a flow entry.
Syntax
In standalone mode:
host-monitor delete source source-ip destination destination-ip protocol protocol interface interface-type
interface-number { inbound | outbound } [ vpn-instance vpn-instance-name ] [ slot slot-number ]
In IRF mode:
host-monitor delete source source-ip destination destination-ip protocol protocol interface interface-type
interface-number { inbound | outbound } [ vpn-instance vpn-instance-name ] [ chassis chassis-number
slot slot-number ]
Views
System view
Default command level
3: Manage level
Parameters
source source-ip: Specifies the source IP address.
destination destination-ip: Specifies the destination IP address.
protocol protocol: Specifies the protocol number in the IPv4 header, in the range of 0 to 255. Common
protocols include ICMP (1), IGMP (2), TCP (6), and UDP (17).
interface interface-type interface-number: Specifies the incoming or outgoing interface of the traffic flow.
inbound: Specifies the incoming interface.
outbound: Specifies the outgoing interface.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance name that has the traffic flow. The
vpn-instance-name argument represents the VPN name, a case-sensitive string of 1 to 31 characters. If
the traffic flow does not belong to any VPN, do not specify this option.
slot slot-number: Deletes the flow entries from a card. The slot-number argument specifies a card by its
slot number. If no slot is specified, the flow entries are deleted from each card. (In standalone mode.)
chassis chassis-number slot slot-number: Deletes flow entries from a card on an IRF member device. The
chassis-number argument represents the ID of the IRF member device and the slot-number argument
represents the number of the slot where the card resides. If no slot is specified, the flow entries are deleted
from each card in the IRF fabric. (In IRF mode.)
Examples
# Delete the flow entry with the source IP address at 1.1.1.1, destination IP address at 2.2.2.2, and
protocol number as 6 on GigabitEthernet 2/1/1 for the incoming traffic.
<Sysname> system-view
[Sysname] host-monitor delete source 1.1.1.1 destination 2.2.2.2 protocol 6 interface
gigabitethernet 2/1/1 inbound