CLI Reference Guide-R05

Table Of Contents
Chapter 28
| IP Interface Commands
IPv4 Interface
– 817 –
Example
Console#show ip default-gateway
IP default gateway 10.1.0.254
Console#
Related Commands
ip default-gateway (816)
show ipv6 default-gateway (833)
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 70-72-CF-59-8F-40
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.2.13 Mask: 255.255.255.0
DHCP Client VendOr Class ID (text): ECS4810-12M
Craft interface is Administrative Up
IP Address: 192.168.1.2 Mask: 255.255.255.0
Console#
Related Commands
ip address (814)
show ipv6 interface (833)
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
4877 total received
header errors
unknown protocols
address errors
discards
4763 delivers
reassembly request datagrams
reassembly succeeded
reassembly failed
IP sent
forwards datagrams