Sample T1 configs: CiscoConfigs ! interface FastEthernet0
ip address yyy.yyy.yyy.yyy 255.255.255.0 speed 10 half-duplex
! interface Serial0
description COVAD-T1-ATMDXI mtu 1522 bandwidth 384 ip address xxx.xxx.xxx.xxx 255.255.255.0 encapsulation frame-relay IETF no fair-queue service-module t1 timeslots 1-6 frame-relay map ip xxx.xxx.xxx.1 16 ietf frame-relay interface-dlci 16 frame-relay lmi-type ansi frame-relay qos-autosense
!
ip default-gateway xxx.xxx.xxx.1 ip classless ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.1 ip http server ! snmp-server community public RO !
To bring the device into nat, enter config t and then enter
ip nat pool ovrld prefix-length 24 ip nat inside source list 7 interface Serial0 overload
the go into config for each device and set it up as the inside(source) or outside(exit) if as so
config t int fast 0 ip nat inside int serial0 ip nat outside
To enable "portmapping"
ip nat inside source static tcp 172.16.10.8 8080 172.16.10.8 80 !-- Static NAT command that states any packet received in the inside !-- interface with a source address of 172.16.10.8:8080 will be !-- translated to 172.16.10.8:80.
Another one:
CSEMED#show run Building configuration...
Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname CSEMED ! enable password 7 044B040D0A38 ! ip subnet-zero no ip domain-lookup ! ipx routing 1897.6751.62c3 ! interface FastEthernet0/0
ip address X.X.X.X 255.255.255.X ip directed-broadcast
! interface Serial0/0
mtu 1522 no ip address no ip directed-broadcast encapsulation frame-relay IETF no fair-queue service-module t1 timeslots 1-6 frame-relay map ip xxx.xxx.xxx.1 16 ietf frame-relay lmi-type ansi frame-relay qos-autosense
! interface Serial0/0.16 point-to-point
ip address Y.Y.Y.Y 255.255.255.X no ip directed-broadcast frame-relay interface-dlci 16
! ip classless ip route 0.0.0.0 0.0.0.0 Serial0/0.16 ip http server ! ! CSEMED#



T1 Routers: Efficient/Siemans 5940
rem del internet
rem add internet
rem setdlci 16 internet
rem setproto fr internet
rem disbridge internet
rem setsrcipaddr (WAN IP) 255.255.255.0 internet
rem addiproute 0.0.0.0 0.0.0.0 1 internet
rem setiptranslate on|off internet
rem setipoptions multicast on internet
rem setipoptions rxrip on internet
rem setipoptions private off internet
rem setipoptions txrip on internet
eth ip options rxrip on
eth ip enable
eth ip firewall off
eth ip addr (LAN IP) (SUBNET MASK)
dhcp disable all
sys secure set wan trust
t1e1 ds0bundle 1 #
save all
reboot

deletes the remote interface adds the remote interface sets the dlci sets the protocol to frame relay disables bridging on the remote interface sets the wan ip address adds the default route turns nat on or off enables multicast receive rip on remote interface makes the router pingable transmit rip on remote interface receive rip on ethernet interface enables ethernet ip disables ethernet firewall sets the ethernet ip address disables dhcp allows remote telnet connections sets the # of channels; 6=384, 12=768, 24=1.5 saves the configuration reboots the router