Chapter 26
| IP Interface Commands
IPv4 Interface
– 649 –
Example
Console#show ip redirects
ip default gateway 10.1.0.254
Console#
Related Commands
ip default-gateway (648)
show ipv6 default-gateway (665)
show ip interface This command displays the settings of an IPv4 interface.
Command Mode
Privileged Exec
Example
Console#show ip interface
Vlan 1 is Administrative Up - Link Up
Address is 00-E0-0C-00-00-FD
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.3 Mask: 255.255.255.0
Console#
Related Commands
ip address (646)
show ipv6 interface (665)
show ip traffic This command displays statistics for IP, ICMP, UDP, TCP and ARP protocols.
Command Mode
Privileged Exec
Example
Console#show ip traffic
IP Statistics:
IP received
7845 total received
header errors
unknown protocols
address errors
discards
7845 delivers
reassembly request datagrams
reassembly succeeded
reassembly failed
IP sent
forwards datagrams
9903 requests
discards
no routes