Archive for the ‘IOS Services’ Category

CCIE LAB – Configuration Rollback

Cisco finally introduced rollback functionality in 12.3(7)T train,before, with “copy startup-config running-config” we were not able to role back configuration cause always copying to RAM happens with a merge. with introduced “config replace” we can replace the whole configuration from other sources right into RAM (from NVRAM, Flash, FTP, TFTP, HTTP, etc) configure replace nvram:startup-config [...]

Continue reading »

CCIE LAB – NAT on a Stick

NAT on a Stick Configuration   Nat can be configured on a single interface as inside and outside with following configuration:   ! route-map NatTest permit 10 match ip address 1 set interface loopback0 ! interface FastEthernet 0/0 ip address 123.234.0.2 255.255.255.0 ip address 192.168.100.1 255.255.255.0 secondary ip nat outside ip policy route-map NatTest ! [...]

Continue reading »

CCIE LAB – Static DHCP Host

The Fedora DHCP client did not send any DHCP client-ID in the DHCPREQUEST message.   One would think that the IOS DHCP server would use the MAC address as the client-ID, but that’s not the case. You have to configure the hardware-address parameter in the host DHCP pool to match the MAC address of the [...]

Continue reading »

CCIE LAB – Logging Config Changes

Logging Config Changes Archive command is useful for configuration consistency check and logging, you can use Syslog for informing configuration changes, or use telnet to see what has been changed and who has done that. Configuration: archive log config logging enable logging size 500 notify syslog! Verification: R1#sh archive log config all idx sess user@line [...]

Continue reading »

CCIE LAB – Configuring KRON

Configuring KRON Kron in task scheduler in IOS just like Unix/Linux boxes, Configure Router to do a task every 6 hours, like renewing an IP through DHCP: Configuraion: kron occurrence TOT in 6 recurringpolicy-list POL1!kron policy-list POL1cli renew dhcp fastethernet 0/1

Continue reading »

CCIE LAB – Servers Loadbalancing with NAT

Configuring NAT Destination Requests to a public address is going to be translated to multiple inside servers and distributing TCP load across redundant servers. Configuring Global NAT Parameters: List of Local Servers:! ip nat pool LOCALSRV 192.168.1.3 192.168.1.6 prefix-length 24 type rotary Defining Public address of Virtual Server:! access-list 100 permit tcp any host 217.218.0.1 [...]

Continue reading »

CCIE LAB – Core Dump / Crash Log

Core File Dump The Mission is to configure IOS to send a crash dump file to a defined FTP server, when system crashes… ! exception core-file CDUMP.txt exception protocol ftp exception dump 192.168.10.22 ! ip ftp username cisco ip ftp password cisco !

Continue reading »

CCIE LAB – IP SLA with HSRP

If an ICMP ping to service provider goes down, users should use another gateway automatically: 1.Configuring an IP SLA to monitor our ICMPecho to service provider2.Configuring HSRP between R1 and R2 (R1 is connected to first Link to an ISP, and R2 is connected to second link)3.Creating reaction to SLA failure. let’s start with R1 [...]

Continue reading »