Displaying IEC Options
Perform this task to verify that the Cisco VoIP Internal Error Codes feature is working.
SUMMARY STEPS
1.
enable
2.
show running-config
3.
show voice cause-code category-q850
4.
show voice iec description string
5.
show voice statistics iec {interval number | since-reboot | since-reset}
6.
clear voice statistics iec
DETAILED STEPS
Configuration Examples for Cisco VoIP Internal Error Codes
This section provides configuration examples for the tasks identified in the previous section.
Enabling IEC Syslog Reporting and Configuring Cause Code Mapping: Example
In the following example, IEC syslog reporting and cause-code mapping are enabled:
enable
configure terminal
voice iec syslog
voice cause-code
error-category 128 q850-cause 27
Verifying IEC Configuration: Example
In the following examples, the output is displayed for each command used to verify IEC configuration:
Sample Output from the show running-config Command: Example
Router# show running-config
Building configuration...
Current configuration :2791 bytes
!
version 12.2
no parser cache
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service internal
!
hostname GW-1
!
no boot startup-test
!
!
resource-pool disable
spe default-firmware spe-firmware-1
!
!
aaa new-model
!
!
aaa group server radius h323
!
aaa authentication login h323 group radius group h323
aaa authorization config-commands
aaa authorization exec h323 group h323
aaa accounting connection h323 start-stop group radius group h323
aaa session-id common
!
isdn switch-type primary-5ess
!
The following lines show optional IEC configuration information:
voice iec syslog
voice cause-code
error-category 128 q850-cause 27
error-category 129 q850-cause 38
!
!
!
controller T1 3/0
framing esf
linecode b8zs
pri-group timeslots 1-24
!
controller T1 3/1
shutdown
framing sf
linecode ami
gw-accounting aaa
!
!
!
interface FastEthernet0/0
ip address 172.18.195.28 255.255.255.0
no ip route-cache
no ip mroute-cache
duplex full
speed 100
no cdp enable
h323-gateway voip interface
h323-gateway voip id GK-1 ipaddr 172.18.195.41 1718
h323-gateway voip h323-id GW-1
!
interface FastEthernet0/1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
duplex auto
speed auto
no cdp enable
!
interface Serial0/0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
clockrate 2000000
no cdp enable
!
interface Serial0/1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
clockrate 2000000
no cdp enable
!
interface Serial3/0:23
no ip address
dialer-group 1
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.18.195.1
no ip http server
!
!
!
radius-server host 172.18.200.222 auth-port 1645 acct-port 1646
radius-server key lab
radius-server authorization permit missing Service-Type
radius-server vsa send accounting
call rsvp-sync
!
!
voice-port 3/0:D
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 100 pots
destination-pattern 1#919....
direct-inward-dial
port 3/0:D
prefix 919
!
dial-peer voice 301 voip
destination-pattern 7190003
session target ras
!
!
gateway
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
logging synchronous
line vty 0 4
password lab
line 1/00 1/59
no flush-at-activation
modem InOut
!
scheduler allocate 10000 400
































No comments:
Post a Comment