ipdr collector
Function
The ipdr collector name command is used to create an
Internet Protocol Detail Record (IPDR) collector. After the IPDR collector is
created, it cannot be modified.
The undo ipdr collector command is used to delete an IPDR collector. IPDR collectors associated with sessions cannot be deleted. Before deleting an IPDR collector, ensure that its association with a session has been deleted by using the undo ipdr session collector command.
The ipdr collector type command is used to configure the IPDR collector's connection mode. active mode is the collector initiating a connection, passive mode is the collector receiving a connection. The default mode is active.
The undo ipdr collector command is used to delete an IPDR collector. IPDR collectors associated with sessions cannot be deleted. Before deleting an IPDR collector, ensure that its association with a session has been deleted by using the undo ipdr session collector command.
The ipdr collector type command is used to configure the IPDR collector's connection mode. active mode is the collector initiating a connection, passive mode is the collector receiving a connection. The default mode is active.
Format
ipdr collector name name ip ip-address [ port
port ]
undo ipdr collector name
ipdr collector type { active | passive }
undo ipdr collector name
ipdr collector type { active | passive }
Parameters
Parameter | Description | Value |
---|---|---|
name name | Indicates a IPDR collector name. | Character string type, a string of 1-20 characters. |
ip ip-address | Indicates the IP address of the IPDR collector. | IPv4 address format. Dotted decimal notation. |
port port | Indicates the socket port number of the IPDR collector. |
Numeral type. Range: 1-65535. Default value: 4737. When the connection mode of the IPDR collector is active, this port is invalid. This port is used only when the IPDR collector's connection mode is passive. |
type | Indicates the IPDR collector connection type. | - |
active | IPDR collector initiating a connection. | - |
passive | IPDR collector receiving a connection. | - |
Usage Guidelines
- IP address identify an IPDR collector.
- A maximum of 10 IPDR collectors can be configured in the system.
Example
To create an IPDR collector whose name is huawei, IP address is 10.10.10.10,
and port number is 1, do as follows:
huawei(config)#ipdr collector { name<K>|type<K> }:name { name<S><Length 1-20> }:huawei { ip<K> }:ip { ip-address<I><X.X.X.X> }:10.10.10.10 { <cr>|port<K> }:port { port<U><1,65535> }:1 Command: ipdr collector name huawei ip 10.10.10.10 port 1To create an IPDR collector whose name is huawei, IP address is 10.10.10.11, and default port number is 4737, do as follows:
huawei(config)#ipdr collector { name<K>|type<K> }:name { name<S><Length 1-20> }:huawei { ip<K> }:ip { ip-address<I><X.X.X.X> }:10.10.10.11 { <cr>|port<K> }: Command: ipdr collector name huawei ip 10.10.10.11To delete an IPDR collector named huawei, do as follows:
huawei(config)#undo ipdr collector { name<S><Length 1-20> }:huawei Command: undo ipdr collector huaweiTo configure the IPDR collector's connection mode is active, do as follows:
huawei(config)#ipdr collector type { active<K>|passive<K> }:active Command: ipdr collector type activeTo configure the IPDR collector's connection mode is passive, do as follows:
huawei(config)#ipdr collector type { active<K>|passive<K> }:passive Command: ipdr collector type passive
No comments:
Post a Comment