snmp-trap filter-ip
SNMP Commands
page 45-22
OmniSwitch CLI Reference Guide
March 2011
snmp-trap filter-ip
Enables or disables SNMP trap filtering. Trap filtering is used to determine whether a trap or group of
traps will be sent from the switch to a specified SNMP station.
snmp-trap filter-ip {ip_address | ipv6_address} trap_id_list
no snmp-trap filter-ip {ip_address | ipv6_address} trap_id_list
Syntax Definitions
ip_address
The IP address for the SNMP station for which trap filtering is being
enabled or disabled.
ipv6_address
The IPv6 address for the SNMP station for which trap filtering is being
enabled or disabled.
trap_id_list
Specifies the trap(s) for which filtering is being enabled or disabled.
Traps must be specified using the numeric trap ID. You can specify
more than one trap in the command line; separate each trap ID with a
space and no comma.
Defaults
By default, SNMP trap filtering is disabled.
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
To
enable
trap filtering, use the syntax
snmp-trap filter-ip
ip_address trap_id_list
.
•
To
disable
trap filtering, use the syntax
no snmp-trap filter-ip
ip_address trap_id_list
.
•
When filtering is enabled, the specified trap(s)
will
not
be sent to the SNMP station. When filtering is
disabled, the specified traps
will
be sent to the SNMP station.
•
To display a list of traps and their ID numbers, use the
show snmp-trap config
command.
Examples
-> snmp-trap filter-ip 172.1.2.3 1
-> snmp-trap filter-ip 172.1.2.3 0 1 3 5
-> snmp-trap filter-ip 300::1 1 3 4
-> no snmp-trap filter-ip 172.1.2.3 1
-> no snmp-trap filter-ip 172.1.2.3 0 1 3 5
-> no snmp-trap filter-ip 300::1 1 3
Summary of Contents for 060321-10, Rev. B
Page 1: ...Part No 060321 10 Rev B March 2011 OmniSwitch CLI Reference Guide www alcatel lucent com...
Page 36: ...Technical Support About This Guide page xxxvi OmniSwitch CLI Reference Guide March 2011...
Page 108: ...show udld status port UDLD Commands page 2 22 OmniSwitch CLI Reference Guide March 2011...
Page 142: ...show vlan members VLAN Management Commands page 4 16 OmniSwitch CLI Reference Guide March 2011...
Page 922: ...show ip ospf restart OSPF Commands page 17 88 OmniSwitch CLI Reference Guide March 2011...
Page 968: ...show ipv6 ospf interface OSPFv3 Commands page 18 46 OmniSwitch CLI Reference Guide March 2011...
Page 1414: ...show ip dvmrp tunnel DVMRP Commands page 22 34 OmniSwitch CLI Reference Guide March 2011...
Page 1540: ...show ipv6 pim sgroute PIM Commands page 23 126 OmniSwitch CLI Reference Guide March 2011...
Page 1888: ...show aaa priv hexa AAA Commands page 28 58 OmniSwitch CLI Reference Guide March 2011...
Page 1902: ...show port mapping Port Mapping Commands page 29 14 OmniSwitch CLI Reference Guide March 2011...
Page 1960: ...show sflow poller sFlow Commands page 32 18 OmniSwitch CLI Reference Guide March 2011...
Page 2226: ...ftp File Management Commands page 42 38 OmniSwitch CLI Reference Guide March 2011...
Page 2284: ...show snmp trap config SNMP Commands page 45 32 OmniSwitch CLI Reference Guide March 2011...
Page 2294: ...show dns DNS Commands page 46 10 OmniSwitch CLI Reference Guide March 2011...
Page 2350: ...OmniSwitch CLI Reference Guide March 2011 page 22 DNS Commands...