|
|
This appendix contains sample configuration files for the following:
Use these sample configurations as models for the customization of your configurations. The portions of these configurations that you are likely to need to change for your network are printed in bold.
! no service finger service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname CMS01 ! aaa new-model aaa authentication login CONSOLE none aaa authentication login ADMIN radius local aaa authentication ppp ADMIN if-needed radius local aaa authorization network radius aaa accounting network start-stop radius
aaa accounting connection start-stop radius
aaa accounting exec start-stop radius enable password cisco1
enable secret secret123 ! ! for copy rcp config file username justincase password doublesecret
ip rcmd remote-username APMadmin
ip routing ! ip subnet-zero no ip source-route ip name-server 192.168.10.1
ip radius source-interface Loopback1 clock timezone GMT 0 ! interface Loopback 1 description "MGMT Network and Async129" ip address 192.168.1.56 255.255.255.255
! interface Ethernet1/0 description "To Failover switch" ip address 192.168.1.24 255.255.255.224
no ip directed-broadcast no shutdown ! interface Ethernet1/1 description "To Primary switch" ip address 172.16.1.24 255.255.255.224 no ip directed-broadcast no shutdown ! interface Async 129 description "OSS Modem Incoming Call" ip unnumbered Loopback1 encapsulation ppp async dynamic address async mode interactive peer default ip address 192.168.1.63 no cdp enable no fair-queue ppp authentication chap callin ADMIN ! router ospf 4242 passive-interface Loopback1 network 192.168.1.0 0.0.0.63 area 21
network 172.16.1.0 0.0.0.63 area 21
! ip classless ! ip http server logging trap debugging
logging facility syslog
! logging source uses logging IP logging 192.168.10.1
logging source-interface Loopback1 no access-list 10 access-list 10 permit 192.168.10.1 ! snmp-server community public RO snmp-server community private 10 snmp-server trap-source Loopback1 snmp-server host 192.168.10.1 public snmp-server location NOC Center snmp-server contact Network Administrator snmp-server system-shutdown radius-server host 192.168.10.8 auth-port 1645 acct-port 1646 radius-server key bananas ! line con 0 session-timeout 45 exec-timeout 45 0 login authentication CONSOLE transport preferred none line 1 32 session-timeout 60 no exec login authentication ADMIN modem InOut transport input all flowcontrol hardware line aux 0 exec-timeout 15 0 autoselect during-login autoselect ppp login authentication ADMIN modem InOut transport preferred none transport input none flowcontrol hardware speed 115200 line vty 0 31 session-timeout 45 exec-timeout 45 password cisco2 transport preferred none login authentication ADMIN ! ntp server 172.22.5.254
! ntp source Loopback1 end
! !begin set prompt SW01
set length 24 default set logout 20 ! #system set system baud 9600 set system modem disable set system name SW01 set system location NOC Center set system contact Network Administrator
#snmp set snmp community read-only public set snmp community read-write private set snmp community read-write-all xprivate set snmp rmon disable set snmp trap enable module set snmp trap enable chassis set snmp trap disable bridge set snmp trap disable repeater set snmp trap enable vtp set snmp trap enable auth ! #vtp set vtp domain SW01 mode server set vlan 1 name default type ethernet mtu 1500 said 100001 state active ! #ip set interface sc0 1 172.16.1.30 255.255.255.224 172.16.1.31 set interface sl0 0.0.0.0 0.0.0.0 set arp agingtime 1200 set ip redirect enable set ip unreachable enable set ip fragmentation enable set ip route 0.0.0.0 172.16.1.27 1 set ip alias default 0.0.0.0 ! #Command alias ! #switch port analyzer set span 1 2/24 both set span disable ! #bridge set bridge ipx snaptoether 8023raw set bridge ipx 8022toether 8023 set bridge ipx 8023rawtofddi snap ! #vlan set vlan 1 1/1-2 set vlan 1 2/1-24 ! #syslog set logging console enable set logging server enable ! use logging ip for the logging server address, for example: ! set logging server 192.168.10.1 set logging server 192.168.10.1
set logging level cdp 2 default set logging level cgmp 2 default set logging level disl 5 default set logging level dvlan 2 default set logging level earl 2 default set logging level fddi 2 default set logging level ip 2 default set logging level pruning 2 default set logging level snmp 2 default set logging level spantree 2 default set logging level sys 5 default set logging level tac 2 default set logging level tcp 2 default set logging level telnet 2 default set logging level tftp 2 default set logging level vtp 2 default set logging level vmps 2 default ! #ntp set ntp broadcastclient disable set ntp broadcastdelay 3000 set ntp client enable set ntp server 192.168.1.56
set timezone GMT 0 0 ! #cam set cam agingtime 1 300 ! #cdp set cdp enable 1/1-2 set cdp enable 2/1-24 ! #trunks set trunk 1/1 auto 1-1000 set trunk 1/2 auto 1-1000 ! #spantree #vlan 1 set spantree enable 1 set spantree fwddelay 15 1 set spantree hello 2 1 set spantree maxage 20 1 set spantree priority 32 1 ! #trunk set spantree portfast 1/1-2 enable set spantree portfast 2/1-24 enable ! #module 1 set module name 1 set port enable 1/1-2 set port level 1/1-2 high set port duplex 1/1-2 full set port trap 1/1-2 enable set port name 1/1 RS01 set port name 1/2 RS02 ! #module 2 set module name 2 set module enable 2 set port enable 2/1-24 set port speed 2/1,2/11-12 10 set port speed 2/2-10,2/13-24 100 set port level 2/1-24 normal set port duplex 2/1,2/11-12 half set port duplex 2/2-10,2/13-24 full set port trap 2/1-24 enable set port name 2/1 CMS01 set port name 2/2 AS01 set port name 2/3 AS02 set port name 2/4 AS03 set port name 2/5 AS04 set port name 2/6 AS05 set port name 2/7 AS06 set port name 2/8 AS07 set port name 2/9 AS08 set port name 2/10 AS09 set port name 2/11 GK02 set port name 2/12 GK01 set port name 2/13 AS10 set port name 2/14 AS11 set port name 2/15 AS12 set port name 2/16 AS13 set port name 2/17 AS14 set port name 2/18 AS15 set port name 2/19 AS16 set port name 2/20 AS17 set port name 2/21 AS18 set port name 2/22 AS19 ! !end
! no service finger service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname GK01 ! aaa new-model aaa authentication login CONSOLE none aaa authentication login ADMIN radius local aaa authorization network radius aaa accounting network start-stop radius
aaa accounting connection start-stop radius
aaa accounting exec start-stop radius
enable password cisco
enable secret secret123
! ! for copy rcp config file username justincase password doublesecret ip rcmd remote-username APMadmin
ip routing ! ip subnet-zero no ip source-route ip domain-list box.com
ip domain-name box.com
ip name-server 192.168.10.1
ip radius source-interface Loopback1 clock timezone GMT 0 ! dial-control-mib retain-timer 2147483647 dial-control-mib max-size 500 ! ! loopback 0 interface is required if single non-redundant gatekeeper used !interface Loopback 0 ! description "Gatekeeper interface single gatekeeper" ! ip address 172.16.1.57 255.255.255.255
! interface Loopback 1 description "MGMT Network and Async129 " ip address 192.168.1.57 255.255.255.255 ! interface Ethernet1/1 description "To Failover switch" ip address 192.168.1.28 255.255.255.224 no ip directed-broadcast no shutdown ! interface Ethernet1/0 description "To Primary switch" ip address 172.16.1.28 255.255.255.224 no ip directed-broadcast no shutdown standby 1 ip 172.16.1.25 standby 1 timers 5 15 ! comment out following line if this is GK02 - second gatekeeper standby 1 priority 110 ! router ospf 4242 !uncomment following line if loopback 0 is defined !passive-interface Loopback0 passive-interface Loopback1 network 198.168.1.0 0.0.0.63 area 21
network 172.16.1.0 0.0.0.63 area 21
! ip classless ! ip http server logging trap debugging logging facility syslog ! logging source uses logging IP logging 192.168.10.1
logging source-interface Loopback1 no access-list 10 access-list 10 permit 192.168.10.1
! snmp-server community public RO snmp-server community private RW 10 snmp-server trap-source Loopback1 snmp-server host 192.168.10.1 public snmp-server location NOC Center
snmp-server contact Network Administrator snmp-server system-shutdown snmp-server enable traps dial snmp-server enable traps voice poor-qov radius-server host 192.168.10.8 auth-port 1645 acct-port 1646 radius-server key bananas ! ! gatekeeper dialplan configuration gatekeeper zone local sanjose.box.com box.com 172.16.1.25 zone remote boston.box.com box.com 172.17.1.25 zone remote denver.box.com box.com 172.18.1.25 zone access sanjose.box.com default direct zone prefix sanjose.box.com 408....... zone prefix sanjose.box.com 415....... zone prefix boston.box.com 203....... zone prefix boston.box.com 204....... zone prefix denver.box.com 315....... zone prefix denver.box.com 316....... gw-type-prefix 222#* no shutdown ! line con 0 session-timeout 45 exec-timeout 45 0 login authentication CONSOLE transport preferred none line aux 0 line vty 0 4 session-timeout 45 exec-timeout 45 transport preferred none login authentication ADMIN ! ntp server 192.168.1.56
end
! no service finger service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname RS01 ! aaa new-model aaa authentication login CONSOLE none aaa authentication login ADMIN radius local aaa authorization network radius aaa accounting network start-stop radius aaa accounting connection start-stop radius aaa accounting exec start-stop radius enable password cisco
enable secret secret123 ! ! for copy rcp config file username justincase password doublesecret
ip rcmd remote-username APMadmin ip routing ! ip subnet-zero no ip source-route ip name-server 192.168.10.1
ip radius source-interface Loopback1 clock timezone GMT 0 clock calendar-valid ! interface Loopback1 description "Management (SNMP & AAA) pseudo interface" ip address 192.168.1.54 255.255.255.255
! interface FastEthernet0/0 description "To Failover path Switch" ip address 192.168.1.27 255.255.255.224
full-duplex media-type MII no shutdown bandwidth 10000 no ip directed-broadcast ip route-cache no keepalive !fair-queue ip rsvp bandwidth
no lat enabled no mop enabled ! interface FastEthernet1/0 description "To Stack via SW01" ip address 172.16.1.27 255.255.255.224 no ip directed-broadcast ip route-cache default keepalive full-duplex !fair-queue ip rsvp bandwidth
no lat enabled no mop enabled no shutdown ! interface FastEthernet 5/0 description "To FastE0/0" no ip address bridge-group 2 default keepalive full-duplex no lat enabled no mop enabled no shutdown ! interface FastEthernet 5/1 ! description "Reserved for link to RS02 Eswitch FastE5/1" ! RS01 ! description "To RS01 Eswitch FastE5/1" ! RS02 no ip address bridge-group 2 default keepalive full-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/2 ! description "To CMS01 E1/0" ! RS01 ! description "To AS12 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/3 ! description "To AS01 E0" ! RS01 ! description "To AS13 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/4 ! description "To AS02 E0" ! RS01 ! description "To AS14 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/5 ! description "To AS03 E0" ! RS01 ! description "To AS15 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/6 ! description "To AS04 E0" ! RS01 ! description "To AS16 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/7 ! description "To AS05 E0" ! RS01 ! description "To AS17 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/8 ! description "To AS06 E0" ! RS01 ! description "To AS18 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/9 ! description "To AS07 E0" ! RS01 ! description "To AS19 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/10 ! description "To AS08 E0" ! RS01 ! description "To AS20 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/11 ! description "To AS09 E0" ! RS01 ! description "To AS21 E0" ! RS02 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/12 ! description "To AS10 E0" ! RS01 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! interface Ethernet 5/13 ! description "To AS11 E0" ! RS01 no ip address bridge-group 2 default keepalive half-duplex no lat enabled no mop enabled no shutdown ! router ospf 4242 redistribute connected subnets passive-interface Loopback1 network 192.168.1.0 0.0.0.63 area 21 network 172.16.1.0 0.0.0.63 area 21 ! bridge irb bridge 2 protocol ieee ! RS01 has priority 1, RS02 has priority 2 bridge 2 priority 1 ! ip classless ip route 0.0.0.0 0.0.0.0 172.22.5.254 ! ip http server logging trap debugging logging facility syslog ! logging source uses logging IP logging 192.168.10.1
logging source-interface Loopback1 no access-list 10 access-list 10 permit 192.168.10.1
! snmp-server community public RO snmp-server community private RW 10 snmp-server trap-source Loopback1 snmp-server host 192.168.10.1 public snmp-server location NOC Center snmp-server contact Network Administrator snmp-server system-shutdown radius-server host 192.168.10.8 auth-port 1645 acct-port 1646 radius-server key bananas ! line con 0 session-timeout 30 exec-timeout 15 0 logout-warning 60 login authentication CONSOLE transport preferred none line aux 0 line vty 0 4 session-timeout 45 exec-timeout 45 0 login authentication ADMIN transport preferred none ! ntp server 192.168.1.56
end
! no service finger service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname sanjoseAS01 ! aaa new-model aaa authentication login CONSOLE none aaa authentication login ADMIN radius local aaa authentication login h323 radius
aaa authorization network radius if-authenticated aaa accounting network start-stop radius aaa accounting exec start-stop radius aaa accounting connection start-stop radius
aaa accounting connection h323 start-stop radius enable secret secret123 enable password cisco
! ! for copy rcp config file ip rcmd remote-username APMadmin ip routing username justincase password doublesecret
! ip subnet-zero no ip source-route ip domain-list box.com
ip domain-name box.com
ip name-server 192.168.10.1
ip radius source-interface Loopback1 ! clock timezone GMT 0 call-history-mib max-size 5 ! dial-control-mib retain-timer 2147483647 dial-control-mib max-size 1200 ! controller T1 0 framing esf fdl ansi clock source line primary linecode b8zs ! if T1, no of isdn channel=24, E1=31 cas-group 1 timeslots 1-24 type fxs-loop-start
no shutdown ! controller T1 1 framing esf fdl ansi clock source line secondary linecode b8zs ! if T1, no of isdn channel=24, E1=31 cas-group 1 timeslots 1-24 type fxs-loop-start
no shutdown ! controller T1 2 framing esf fdl ansi clock source internal linecode b8zs ! if T1, no of isdn channel=24, E1=31 cas-group 1 timeslots 1-24 type fxs-loop-start
no shutdown ! controller T1 3 framing esf fdl ansi clock source internal linecode b8zs ! if T1, no of isdn channel=24, E1=31 cas-group 1 timeslots 1-24 type fxs-loop-start
no shutdown ! gw-accounting h323
! dial-peer voice 20 pots application clid_authen_collect
destination-pattern 408.......
port 0:D prefix 408 ! dial-peer voice 21 pots application clid_authen_collect
destination-pattern 415.......
port 0:D prefix 415 ! dial-peer voice 22 pots application clid_authen_collect
destination-pattern 408.......
port 1:D prefix 408 ! dial-peer voice 23 pots application clid_authen_collect
destination-pattern 415.......
port 1:D prefix 415 ! dial-peer voice 1 voip destination-pattern 1.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 2 voip destination-pattern 2.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 3 voip destination-pattern 3.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 4 voip destination-pattern 4.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 5 voip destination-pattern 5.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 6 voip destination-pattern 6.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 7 voip destination-pattern 7.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 8 voip destination-pattern 8.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! dial-peer voice 9 voip destination-pattern 9.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8
vad
session target ras ! num-exp 222#408....... 408.......
num-exp 222#415....... 415.......
! voice-port 0:D echo-cancel coverage 32 ! voice-port 1:D echo-cancel coverage 32 ! voice-port 2:D ! voice-port 3:D ! gateway ! interface Loopback0 description "Gateway interface" ip address 172.16.1.33 255.255.255.255
h323-gateway voip interface h323-gateway voip id sanjose.box.com ipaddr 172.16.1.25 1719 h323-gateway voip h323-id sanjoseAS01@box.com
h323-gateway voip tech-prefix 222#
! interface Loopback1 description "Management (SNMP & AAA) NAS pseudo interface" ip address 192.168.1.33 255.255.255.255
! interface Ethernet0 description "To Failover path via Switch port on 7206" ip address 192.168.1.1 255.255.255.224
no shutdown no ip directed-broadcast ip route-cache no lat enabled default keepalive ! fair-queue ip rsvp bandwidth
! interface FastEthernet0 description "To Primary path via SW01" ip address 172.16.1.1 255.255.255.224
no shutdown duplex auto speed auto no ip directed-broadcast ip route-cache no lat enabled default keepalive ! fair-queue ip rsvp bandwidth
! router ospf 4242
redistribute connected subnets passive-interface Loopback0 passive-interface Loopback1 network 192.168.1.0 0.0.0.63 area 21
network 172.16.1.0 0.0.0.63 area 21
! ! ip http server logging trap debugging
logging facility syslog
! logging source uses logging ip logging 192.168.10.1
logging source-interface Loopback1 ! no access-list 10 access-list 10 permit 192.168.10.1 ! snmp-server community public RO snmp-server community private RW 10 snmp-server trap-source Loopback1 snmp-server host 192.168.10.1 public
snmp-server location NOC Center
snmp-server contact Network Administrator
snmp-server system-shutdown snmp-server enable traps dial snmp-server enable traps voice poor-qov radius-server host 192.168.10.8 auth-port 1645 acct-port 1646 radius-server key bananas ! line con 0 session-timeout 30 exec-timeout 15 0 logout-warning 60 transport preferred none login authentication CONSOLE line aux 0 line vty 0 4 session-timeout 45 exec-timeout 45 0 transport preferred none login authentication ADMIN ! ntp server 192.168.1.56
end
! no service finger service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname sanjoseAS01 ! aaa new-model aaa authentication login CONSOLE none aaa authentication login ADMIN radius local aaa authentication login h323 radius aaa authorization network radius if-authenticated aaa accounting network start-stop radius aaa accounting exec start-stop radius aaa accounting connection start-stop radius
aaa accounting connection h323 start-stop radius enable secret secret123 enable password cisco
! ! for copy rcp config file ip rcmd remote-username APMadmin ip routing username justincase password doublesecret ! ip subnet-zero no ip source-route ip domain-list box.com
ip domain-name box.com
ip name-server 192.168.10.1
ip radius source-interface Loopback1 ! isdn switch-type primary-5ess clock timezone GMT 0
call-history-mib max-size 5 ! dial-control-mib retain-timer 2147483647 dial-control-mib max-size 1200 ! controller T1 0 framing esf fdl ansi clock source line primary linecode b8zs ! if T1, no of isdn channel=24, E1=31 pri-group timeslots 1-24 no shutdown ! controller T1 1 framing esf fdl ansi clock source line secondary linecode b8zs ! if T1, no of isdn channel=24, E1=31 pri-group timeslots 1-24 no shutdown ! controller T1 2 framing esf fdl ansi clock source internal linecode b8zs ! if T1, no of isdn channel=24, E1=31 pri-group timeslots 1-24 no shutdown ! controller T1 3 framing esf fdl ansi clock source internal linecode b8zs ! if T1, no of isdn channel=24, E1=31 pri-group timeslots 1-24 no shutdown ! gw-accounting h323
! dial-peer voice 20 pots application clid_authen_collect
destination-pattern 408.......
port 0:D prefix 408 ! dial-peer voice 21 pots application clid_authen_collect
destination-pattern 415.......
port 0:D prefix 415 ! dial-peer voice 22 pots application clid_authen_collect
destination-pattern 408.......
port 1:D prefix 408 ! dial-peer voice 23 pots application clid_authen_collect
destination-pattern 415.......
port 1:D prefix 415 ! dial-peer voice 1 voip destination-pattern 1......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 2 voip destination-pattern 2.........
tech-prefix 222#
req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 3 voip destination-pattern 3......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 4 voip destination-pattern 4......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 5 voip destination-pattern 5......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 6 voip destination-pattern 6......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 7 voip destination-pattern 7.........
tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 8 voip destination-pattern 8.........
tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! dial-peer voice 9 voip destination-pattern 9......... tech-prefix 222# req-qos controlled-load
acc-qos controlled-load
! ip precendence 5 codec g729r8 vad
session target ras ! num-exp 222#408....... 408.......
num-exp 222#415....... 415.......
! voice-port 0:D echo-cancel coverage 32 ! voice-port 1:D echo-cancel coverage 32 ! voice-port 2:D ! voice-port 3:D ! gateway ! interface Loopback0 description "Gateway interface" ip address 172.16.1.33 255.255.255.255
h323-gateway voip interface h323-gateway voip id sanjose.box.com ipaddr 172.16.1.25 1719 h323-gateway voip h323-id sanjoseAS01@box.com h323-gateway voip tech-prefix 222#
! interface Loopback1 description "Management (SNMP & AAA) NAS pseudo interface" ip address 192.168.1.33 255.255.255.255 ! interface Ethernet0 description "To Failover path via Switch port on 7206" ip address 192.168.1.1 255.255.255.224 no shutdown no ip directed-broadcast ip route-cache no lat enabled default keepalive ! fair-queue ip rsvp bandwidth
! interface FastEthernet0 description "To Primary Switch path" ip address 172.16.1.1 255.255.255.224 no shutdown duplex auto speed auto no ip directed-broadcast ip route-cache no lat enabled default keepalive ! fair-queue ip rsvp bandwidth
! ! if North American isdn d channel=23, European=15 interface Serial0:23
description "PRI D channel" isdn switch-type primary-5ess isdn incoming-voice modem no fair-queue no cdp enable no keepalive no shutdown ! interface Serial1:23
description "PRI D channel" isdn switch-type primary-5ess isdn incoming-voice modem no fair-queue no cdp enable no keepalive no shutdown ! interface Serial2:23
description "PRI D channel" isdn switch-type primary-5ess isdn incoming-voice modem no fair-queue no cdp enable no keepalive no shutdown ! interface Serial3:23
description "PRI D channel" isdn switch-type primary-5ess isdn incoming-voice modem no fair-queue no cdp enable no keepalive no shutdown ! router ospf 4242 redistribute connected subnets passive-interface Loopback0 passive-interface Loopback1 passive-interface Serial0:23
passive-interface Serial1:23
passive-interface Serial2:23
passive-interface Serial3:23
network 192.168.1.0 0.0.0.63 area 21 network 172.16.1.0 0.0.0.63 area 21 ! ! ip http server logging trap debugging
logging facility syslog
! logging source uses logging ip logging 192.168.10.1
logging source-interface Loopback1 ! no access-list 10 access-list 10 permit 192.168.10.1 ! snmp-server community public RO snmp-server community private RW 10 snmp-server trap-source Loopback1 snmp-server host 192.168.10.1 public snmp-server location NOC Center snmp-server contact Network Administrator snmp-server system-shutdown snmp-server enable traps dial snmp-server enable traps voice poor-qov radius-server host 192.168.10.8 auth-port 1645 acct-port 1646 radius-server key bananas
! line con 0 session-timeout 30 exec-timeout 15 0 logout-warning 60 transport preferred none login authentication CONSOLE line aux 0 line vty 0 4 session-timeout 45 exec-timeout 45 0 transport preferred none login authentication ADMIN ! ntp server 192.168.1.56
end
|
|