13
Syntax
codec-type { g711a | g711u | g729a }
undo codec-type
Default
The codec type for the voice operation is G.711 A-law.
Views
Voice operation view
Predefined user roles
network-admin
Parameters
g711a: Specifies G.711 A-law codec type.
g711u: Specifies G.711 μ-law codec type
g729a: Specifies G.729 A-law codec type.
Examples
# Set the codec type to g729a for the voice operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type voice
[Sysname-nqa-admin-test-voice] codec-type g729a
community read
Use community read to specify the community name for SNMPv1 and SNMPv2c probe packets.
Use undo community read to restore the default.
Syntax
community read { cipher | simple } community-name
undo community read
Default
The SNMPv1 and SNMPv2c probe packets use the community name public.
Views
SNMP operation view
Predefined user roles
network-admin
Parameters
cipher: Sets a ciphertext community name.
simple: Sets a plaintext community name.
community-name: Specifies the community name. This argument is case sensitive. If you specify the
simple keyword, the name must be a string of 1 to 32 characters. If you specify the cipher keyword, the
name must be a string of 33 to 73 characters.