ECS4110-28P_Management Guide

Table Of Contents
C
HAPTER
46
| IP Interface Commands
IPv4 Interface
– 1425
EXAMPLE
The following example defines a default gateway for this device:
Console(config)#ip default-gateway 10.1.1.254
Console(config)#
RELATED COMMANDS
ip address (1422)
ip route (1468)
ipv6 default-gateway (1433)
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-94-22-34
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.5 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP relay server: 0.0.0.0
Console#
RELATED COMMANDS
ip address (1422)
show ipv6 interface (1442)
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