R3303-HP 6600/HSR6600 Routers Network Management and Monitoring Command Reference

259
host-monitor delete
Use host-monitor delete to delete a flow entry.
Syntax
6602:
host-monitor delete source source-ip destination destination-ip protocol protocol interface interface-type
interface-number { inbound | outbound } [ vpn-instance vpn-instance-name ]
HSR6600/6604/6608/6616:
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 ]
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.
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
host-monitor fixup
Use host-monitor fixup to set the Host-monitor table to Fixed state.
Use undo host-monitor fixup to set the Host-monitor table to Unfixed state, and remove all illegitimate
entries.
Syntax
6602: