-
[ Pobierz całość w formacie PDF ]
Defaults Disabled
Command Modes Interface configuration
Command History Release Modification
10.0 This command was introduced.
Examples The following example enables the sending of ICMP Mask Reply messages on Ethernet interface 0:
interface ethernet 0
ip address 131.108.1.0 255.255.255.0
ip mask-reply
Network Protocols Command Reference, Part 1
P1R-146
IP Services Commands
ip mtu
ip mtu
To set the maximum transmission unit (MTU) size of IP packets sent on an interface, use the ip mtu
interface configuration command. To restore the default MTU size, use the no form of this command.
ip mtu bytes
no ip mtu
Syntax Description bytes MTU in bytes.
Defaults Minimum is 128 bytes; maximum depends on interface medium.
Command Modes Interface configuration
Command History Release Modification
10.0 This command was introduced.
Usage Guidelines If an IP packet exceeds the MTU set for the interface, the Cisco IOS software will fragment it.
All devices on a physical medium must have the same protocol MTU in order to operate.
Note Changing the MTU value (with the mtu interface configuration command) can affect the
IP MTU value. If the current IP MTU value is the same as the MTU value, and you change
the MTU value, the IP MTU value will be modified automatically to match the new MTU.
However, the reverse is not true; changing the IP MTU value has no effect on the value for
the mtu command.
Examples The following example sets the maximum IP packet size for the first serial interface to 300 bytes:
interface serial 0
ip mtu 300
Related Commands Command Description
mtu Adjusts the maximum packet size or MTU size.
Network Protocols Command Reference, Part 1
P1R-147
IP Services Commands
ip redirects
ip redirects
To enable the sending of ICMP Redirect messages if the Cisco IOS software is forced to resend a packet
through the same interface on which it was received, use the ip redirects interface configuration
command. To disable the sending of redirect messages, use the no form of this command.
ip redirects
no ip redirects
Syntax Description This command has no arguments or keywords.
Defaults Enabled, unless Hot Standby Router Protocol is configured
Command Modes Interface configuration
Command History Release Modification
10.0 This command was introduced.
Usage Guidelines If the Hot Standby Router Protocol is configured on an interface, ICMP Redirect messages are disabled
by default for the interface.
Examples The following example enables the sending of ICMP Redirect messages on Ethernet interface 0:
interface ethernet 0
ip redirects
Related Commands Command Description
ip default-gateway Defines a default gateway (router) when IP routing is disabled.
show ip redirects Displays the address of a default gateway (router) and the address of hosts
for which an ICMP Redirect message has been received.
Network Protocols Command Reference, Part 1
P1R-148
IP Services Commands
ip source-route
ip source-route
To allow the Cisco IOS software to handle IP datagrams with source routing header options, use the
ip source-route global configuration command. To have the software discard any IP datagram
containing a source-route option, use the no form of this command.
ip source-route
no ip source-route
Syntax Description This command has no arguments or keywords.
Defaults Enabled
Command Modes Global configuration
Command History Release Modification
10.0 This command was introduced.
Examples The following example enables the handling of IP datagrams with source routing header options:
ip source-route
Related Commands Command Description
ping (privileged) Diagnoses basic network connectivity on Apollo, AppleTalk,
Connectionless Network Service (CLNS), DECnet, IP, Novell IPX, VINES,
or XNS networks.
ping (user) Diagnoses basic network connectivity on AppleTalk, CLNS, IP, Novell,
Apollo, VINES, DECnet, or XNS networks.
Network Protocols Command Reference, Part 1
P1R-149
IP Services Commands
ip tcp chunk-size
ip tcp chunk-size
To alter the TCP maximum read size for Telnet or rlogin, use the ip tcp chunk-size global configuration [ Pobierz całość w formacie PDF ] - zanotowane.pl
- doc.pisz.pl
- pdf.pisz.pl
- matkadziecka.xlx.pl