Router(config)#interface gigabitethernet 0/1 Moves to interface
con?¬?guration mode
Router(config-if)#no cdp enable Instructs the router to
not advertise CDP
information between
Cisco devices at the
interface level
Router(config-if)#exit Returns to global
con?¬?guration mode
Router(config)#no service config Disables the con?¬?g service
NOTE: The con?¬?g
service allows for
the autoloading of
con?¬?guration ?¬?les
from a network server.
Router(config)#no ftp-server enable Globally disables the
router FTP service
Disabling Unneeded Services and Interfaces 73
NOTE: The BOOTP, CDP, and PAD services are enabled by default. Con?¬?guration
auto-loading, FTP, TFTP, and NTP services are disabled by default. TCP and UDP
minor services are enabled by default prior to Cisco IOS Release 11.3 and disabled
by default in Cisco IOS Release 11.3 and later. The MOP service is enabled on most
Ethernet interfaces.
Router(config)#no tftp-server filesys:
imagename
Disables the TFTP service
to serve the IOS image at
the listed location
Router(config)#no ntp server ip-address Disables both NTP server
and client capabilities
Router(config)#no service pad Disables X.25 packet
assembler/disassembler
(PAD) service
Router(config)#no service tcp-small-servers Disables minor TCP
services??”echo, discard,
chargen, and daytime??”
available from hosts on the
network
Router(config)#no service udp-small-servers Disables minor UDP
services??”echo, discard,
chargen, and daytime??”
available from hosts on the
network
Router(config-if)#no mop enabled Disables the Digital
Equipment Corporation
(DEC) Maintenance
Operations Protocol
74 Disabling Path Integrity Mechanisms
Disabling Commonly Con?¬?gured Management Services
NOTE: The no ip domain-lookup command also disables all DNS on the system.
Pages:
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75