Hello All,
I am at a loss as to how I remove a couple of lines from a cisco running-config:
when running: show running-config:
Code:
no ip http server
no ip http secure-server
ip nat inside source list NAT interface FastEthernet0 overload
ip nat inside source static 10.0.2.8 203.???.???.???
ip nat inside source static 10.0.2.4 203.???.???.???
ip nat inside source static 10.0.2.7 203.???.???.???
ip nat inside source static 10.0.2.5 203.???.???.???
ip nat inside source static 10.0.2.36 203.???.???.???
ip nat inside source static 10.0.2.6 203.???.???.???
ip nat inside source static 10.0.2.9 203.???.???.???
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 80 extendable
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 548 extendable
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 8080 extendable
ip nat inside source static 10.0.2.160 203.???.???.???
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 80 extendable
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 548 extendable
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 8080 extendable
ip nat inside source static 10.0.2.11 203.???.???.???
ip nat inside source static tcp 10.0.2.2 548 203.???.???.??? 80 extendable
ip nat inside source static tcp 10.0.2.2 548 203.???.???.??? 548 extendable
ip nat inside source static tcp 10.0.2.2 548 203.???.???.??? 8080 extendable
ip nat inside source static 10.0.2.2 203.???.???.???
ip nat inside source static 10.0.2.3 203.???.???.???
I would like to remove the following lines:
Code:
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 80 extendable
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 548 extendable
ip nat inside source static tcp 10.0.2.160 548 203.???.???.??? 8080 extendable
ip nat inside source static 10.0.2.160 203.???.???.???
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 80 extendable
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 548 extendable
ip nat inside source static tcp 10.0.2.11 548 203.???.???.??? 8080 extendable
ip nat inside source static 10.0.2.11 203.???.???.???
I have tried saving the config removing the lines then loading the config file again, but it still does not remove the expected lines. Is there a way to just delete those 8 lines?
Cheers,
trscookie