Syslog and Trap Source-interface Command List. D-Link DGS-3000-24TC, DGS-3000 series
Реклама
Реклама
DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Chapter 71 Syslog and Trap Sourceinterface Command List
config syslog source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr> } | none]
show syslog source_ipif
config trap source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr> } | none]
show trap source_ipif
71-1 config syslog source_ipif
Description
This command is used to configure syslog source IP interface.
Format config syslog source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr> } | none]
Parameters
<ipif_name 12> - Enter the IP interface name. If only specify this parameter, the least IPv4 address and the smallest IPv6 address of ipif_name will be used as source IP addresses. This name can be up to 12 characters long.
<ipaddr> - (Optional) Enter the IP address used for the configuration here.
<ipv6addr> - (Optional) Enter the IPv6 address used for the configuration here.
none - Specifies to clear the configured source IP interface.
Restrictions
Only Administrators and Operators can issue this command.
Example
Configure syslog source IP interface:
DGS-3000-26TC:admin#config syslog source_ipif ipif3 14.0.0.5
Command: config syslog source_ipif ipif3 14.0.0.5
Success
DGS-3000-26TC:admin#
To clear the configured source IP interface for syslog:
635
DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
DGS-3000-26TC:admin#config syslog source_ipif none
Command: config syslog source_ipif none
Success
DGS-3000-26TC:admin#
71-2 show syslog source_ipif
Description
This command is used to display the syslog source IP interface.
Format show syslog source_ipif
Parameters
None.
Restrictions
None.
Example
Show syslog source IP interface:
DGS-3000-26TC:admin#show syslog source_ipif
Command: show syslog source_ipif
Syslog Source IP Interface Configuration:
IP Interface : ipif3
IPv4 Address : 14.0.0.5
IPv6 Address : None
DGS-3000-26TC:admin#
71-3 config trap source_ipif
Description
This command is used to configure trap source IP interface.
Format config trap source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr> } | none]
636
DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Parameters
ipif - Specifies the IP interface name. If only specify this parameter, the least IPv4 address and the smallest IPv6 address of ipif_name will be used as source IP addresses.
<ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
<ipaddr> - (Optional) Enter the IP address used for the configuration here.
<ipv6addr> - (Optional) Enter the IPv6 address used for the configuration here.
none - Specifies to clear the configured source IP interface.
Restrictions
Only Administrators and Operators can issue this command.
Example
Configure trap source IP interface:
DGS-3000-26TC:admin#config trap source_ipif System
Command: config trap source_ipif System
Success
DGS-3000-26TC:admin#
To clear the configured trap source IP interface:
DGS-3000-26TC:admin#config trap source_ipif none
Command: config trap source_ipif none
Success
DGS-3000-26TC:admin#
71-4 show trap source_ipif
Description
This command is used to display the trap source IP interface.
Format show trap source_ipif
Parameters
None.
Restrictions
None.
637
DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Example
Show trap source IP interface:
DGS-3000-26TC:admin#show trap source_ipif
Command: show trap source_ipif
Trap Source IP Interface Configuration:
IP Interface : System
IPv4 Address : None
IPv6 Address : None
DGS-3000-26TC:admin#
638
Завантажити
Реклама