Cisco Systems PA-MC-8TE1 Manual De Usuario

Descargar
Página de 90
logging source-interface
To specify the source IPv4 or IPv6 address of system logging packets, use the loggingsource-interface
command in global configuration mode . To remove the source designation, use the no form of this command.
logging source-interface type number
no logging source-interface
Syntax Description
Interface type and number.
type number
Command Default
The wildcard interface address is used.
Command Modes
Global configuration (config)
Command History
Modification
Release
This command was introduced.
11.2
This command was modified. IPv6 support was added.
12.4(4)T
This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SRA
This command is supported in the Cisco IOS Release 12.2SX. Support in a
specific 12.2SX release of this train depends on your feature set, platform,
and platform hardware.
12.2SX
Usage Guidelines
This command can be configured on the Virtual Routing and Forwarding (VRF) and non-VRF interfaces.
Normally, a syslog message contains the IPv4 or IPv6 address of the interface used to leave the router. The
loggingsource-interface command configures the syslog packets contain the IP or IPv6 address of a particular
interface, regardless of which interface the packet uses to exit the router.
When no specific interface is configured, a wildcard interface address of 0.0.0.0 (for IPv4) or :: (for IPv6) is
used, and the IP socket selects the best outbound interface.
Examples
In the following example, the user specifies that the IP address of Ethernet interface 0 is the source IP address
for all syslog messages:
Router(config)#
logging source-interface ethernet 0
   Cisco IOS Interface and Hardware Component Command Reference
70
l2 vfi manual through loopback PA-MC-8TE1 + port adapter
logging source-interface