address (DS-LITE Netflow9)
To enable the IPv4 address of the server that is used for logging the entries for a DS-Lite instance, use the address command in CGN DS-Lite external logging server configuration mode. To disable the Netflow server configuration, use the no form of this command.
address address port number
Syntax Description
address |
IPv4 address of the server. |
port |
Configures the port that is used for logging. The address corresponds to the IPv4 address of the NetflowV9 logging server port, which corresponds to the UDP port number in which the NetflowV9 logging server listens for the Netflow logs. |
number |
Port number. Range is from 1 to 65535. |
Command Default
If the address command is not configured, NetflowV9 logging is disabled.
Command Modes
CGN DS-Lite external logging server configuration
Command History
Release |
Modification |
---|---|
Release 4.2.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID |
Operations |
---|---|
cgn |
read, write |
Examples
The following example shows how to configure the IPv4 address and port number 45 for a DS-Lite instance:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# address 2.3.4.5 port 45