Contents. IP addressing configuration commands 1 display ip interface 1 display ip interface brief 3 ip address 5

Similar documents
HP FlexFabric 5930 Switch Series

HPE FlexNetwork 5510 HI Switch Series

HPE FlexNetwork 5510 HI Switch Series

Table of Contents 1 IP Address Configuration Commands IP Performance Configuration Commands 2-1

HPE 5920 & 5900 Switch Series

Table of Contents 1 IP Address Configuration Commands IP Performance Configuration Commands 2-1

Command Manual (For Soliton) IP Address-IP Performance. Table of Contents

H3C S3100V2-52TP Switch

Command Manual Network Protocol. Table of Contents

H3C S5120-HI Switch Series

H3C S5500-HI Switch Series

IP Services Volume Organization

H3C S3100V2 Switch Series

H3C S5500-HI Switch Series

HPE FlexFabric 7900 Switch Series

H3C S5130-HI Switch Series

H3C SR6600 Routers. Layer 3 IP Services. Command Reference. Hangzhou H3C Technologies Co., Ltd.

IPv4 and IPv6 Commands

H3C S12500 Series Routing Switches

TSIN02 - Internetworking

Table of Contents Chapter 1 IP Addressing Configuration

Configuring IP addressing

Configuring IP addressing 1

Module 7 Internet And Internet Protocol Suite

Table of Contents 1 IP Addressing Configuration IP Performance Configuration 2-1

Loopback detection configuration commands

TSIN02 - Internetworking

Configuring Routes on the ACE

Operation Manual IP Addressing and IP Performance H3C S5500-SI Series Ethernet Switches. Table of Contents

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

HP 6125 Blade Switch Series

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

tcp ipv6 timer fin-timeout 40 tcp ipv6 timer syn-timeout 40 tcp ipv6 window 41

Loop detection commands 1

Table of Contents 1 Ethernet Interface Configuration Commands 1-1

HP 3600 v2 Switch Series

Internet Protocols (chapter 18)

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Chapter 6 Global CONFIG Commands

Network Layer (4): ICMP

Internet Control Message Protocol (ICMP)

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

IP performance optimization

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Table of Contents 1 Static Routing Configuration 1-1

HP A3100 v2 Switch Series

Operation Manual ARP H3C S5500-SI Series Ethernet Switches. Table of Contents

Portal configuration commands

IPv6 Configuration Commands

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Auxiliary Protocols. Internet Layer. Address Resolution Protocol. Delivery of IP Packets

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

K2289: Using advanced tcpdump filters

Chapter 7. ARP and RARP MGH T MGH C I 20

4. Basic IP Support Protocols

Extended ACL Configuration Mode Commands

IPv4. Christian Grothoff.

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

ARP attack protection commands

Operation Manual IPv6 H3C S3610&S5510 Series Ethernet Switches Table of Contents. Table of Contents

ICS 451: Today's plan

Contents. Ping, tracert, and system debugging commands 1. debugging 1 display debugging 1 ping 2 ping ipv6 5 tracert 7 tracert ipv6 10

ICMP (Internet Control Message Protocol)

Network Protocol Configuration Commands

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Configuring IPv4. Finding Feature Information. This chapter contains the following sections:

Vorlesung Kommunikationsnetze

ICMP (Internet Control Message Protocol)

Internet Control Message Protocol (ICMP)

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Introduction to routing in the Internet

ET4254 Communications and Networking 1

HP A5830 Switch Series Layer 3 - IP Services. Configuration Guide. Abstract

Configuring VLAN Interfaces

HP 5120 SI Switch Series

Configuring MPLS L2VPN

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

Each ICMP message contains three fields that define its purpose and provide a checksum. They are TYPE, CODE, and CHECKSUM fields.

Configure the Protocol Family on page 40. Configure the Interface Address on page 40

Introduction to routing in the Internet

Outline. SC/CSE 3213 Winter Sebastian Magierowski York University. ICMP ARP DHCP NAT (not a control protocol) L9: Control Protocols

H3C S5560S-EI & S5130S-HI[EI] & S5110V2 & S3100V3-EI Switch Series

Table of Contents. 2 Static Route Configuration Commands 2-1 Static Route Configuration Commands 2-1 delete static-routes all 2-1 ip route-static 2-1

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

IPv6. (Internet Protocol version 6)

Configuring Interfaces and Circuits

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

(ICMP), RFC

Configuring VLAN Interfaces

Networking Fundamentals

Configuring static routing

IP: Addressing, ARP, Routing

Configuring IPv6 basics

Configuring DHCP Features and IP Source Guard

Network Layer: Internet Protocol

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

Router Architecture Overview

Transcription:

Contents IP addressing configuration commands 1 display ip interface 1 display ip interface brief 3 ip address 5 i

IP addressing configuration commands display ip interface Syntax View Default level Parameters Examples display ip interface [ interface-type interface-number ] [ { begin exclude include } regular-expression ] Any view 1: Monitor level interface-type interface-number: Specifies an interface by its type and number. : Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Use display ip interface to display IP configuration information for the specified Layer 3 interface or all Layer 3 interfaces. # Display IP configuration information for VLAN-interface 1. <Sysname> display ip interface vlan-interface 1 Vlan-interface1 current state :DOWN Line protocol current state :DOWN Internet Address is 1.1.1.1/8 Primary Broadcast address : 1.255.255.255 The Maximum Transmit Unit : 1500 bytes input packets : 0, bytes : 0, multicasts : 0 output packets : 0, bytes : 0, multicasts : 0 ARP packet input number: 0 Request packet: 0 Reply packet: 0 Unknown packet: 0 TTL invalid packet number: 0 ICMP packet input number: 0 Echo reply: 0 1

Unreachable: 0 Source quench: 0 Routing redirect: 0 Echo request: 0 Router advert: 0 Router solicit: 0 Time exceed: 0 IP header bad: 0 Timestamp request: 0 Timestamp reply: 0 Information request: 0 Information reply: 0 Netmask request: 0 Netmask reply: 0 Unknown type: 0 # Display IP configuration information for the network management interface. <Sysname>display ip interface M-Ethernet 0/0/0 M-Ethernet0/0/0 current state :DOWN Line protocol current state :DOWN Table 1 Command output Field current state Line protocol current state Internet Address Broadcast address Current physical state of the interface: Administrative DOWN The interface is shut down by the shutdown command. DOWN The interface is administratively up but its physical state is down, which might be caused by a connection or link failure. UP Both the administrative and physical states of the interface are up. Current state of the link layer protocol: DOWN The protocol state of the interface is down. UP The protocol state of the interface is up. UP (spoofing) The protocol state of the interface pretends to be up. However, no corresponding link is present, or the corresponding link is not present permanently but is established as needed. IP address of an interface followed by: Primary Identifies a primary IP address. Sub Identifies a secondary IP address. negotiated Identifies a PPP negotiated IP address. unnumbered Identifies an unnumbered IP address. acquired via DHCP Identifies an IP address obtained through DHCP. acquired via BOOTP Identifies an IP address obtained through BOOTP. Cluster Identifies a cluster IP address. Mad Identifies a MAD IP address. Broadcast address of the subnet attached to an interface. 2

Field The Maximum Transmit Unit input packets, bytes, multicasts output packets, bytes, multicasts ARP packet input number Request packet Reply packet Unknown packet TTL invalid packet number ICMP packet input number Echo reply Unreachable Source quench Routing redirect Echo request Router advert Router solicit Time exceed IP header bad Timestamp request Timestamp reply Information request Information reply Netmask request Netmask reply Unknown type Maximum transmission units on an interface, in bytes. Unicast packets, bytes, and multicast packets received on an interface (the statistics start at the switch startup). Total number of ARP packets received on an interface (the statistics start at the switch startup): ARP request packets. ARP reply packets. Unknown packets. Number of TTL-invalid packets received on an interface (the statistics start at the switch startup). Total number of ICMP packets received on an interface (the statistics start at the switch startup): Echo reply packets. Unreachable packets. Source quench packets. Routing redirect packets. Echo request packets. Router advertisement packets. Router solicitation packets. Time exceeded packets. IP header bad packets. Timestamp request packets. Timestamp reply packets. Information request packets. Information reply packets. Netmask request packets. Netmask reply packets. Unknown type packets. display ip interface brief Syntax View Any view Default level display ip interface [ interface-type [ interface-number ] ] brief [ description ] [ { begin exclude include } regular-expression ] 1: Monitor level Parameters interface-type: Interface type. interface-number: Interface number. 3

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays a maximum of 23 characters for each interface description. If the description is longer than 23 characters, the first 20 characters are displayed, followed by an ellipsis (...). : Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Use display ip interface brief to display brief IP configuration information for the specified Layer 3 interface or all Layer 3 interfaces. If you do not specify the interface type and interface number, this command displays brief IP configuration information for all Layer 3 interfaces. If you specify only the interface type, this command displays brief IP configuration information for all Layer 3 interfaces of the specified type. If you specify both the interface type and interface number, this command displays only brief IP configuration information for the specified interface. Related commands: display ip interface. Examples # Display brief IP configuration information for VLAN interfaces. <Sysname> display ip interface vlan-interface brief (s): spoofing (l): loopback Interface Physical Protocol IP Address Vlan1 up up 6.6.6.6 -- Vlan2 up up 7.7.7.7 ABCDEFGHIJKLMNOPQRST... # Display brief IP configuration information for VLAN interfaces and complete interface descriptions. <Sysname> display ip interface vlan-interface brief description (s): spoofing (l): loopback Interface Physical Protocol IP Address Vlan1 up up 6.6.6.6 -- Vlan2 up up 7.7.7.7 ABCDEFGHIJKLMNOPQRSTUVW XYZ Table 2 Command output Field (s): spoofing (l): loopback Interface Spoofing attribute of the interface. It indicates that an interface might have no link present even when its link layer protocol is displayed up or the link is set up only on demand. Link loopback test that PPP and HDLC support. Interface name. 4

Field Physical Protocol IP Address Physical state of interface: *down The interface is administratively down. The interface is shut down by the shutdown command. down The interface is administratively up but its physical state is down, which might be caused by a connection or link failure. up Both the administrative and physical states of the interface are up. Link layer protocol state: down The link layer protocol state of the interface is down. up The link layer protocol state of the interface is up. up(s) The protocol state of the interface is up (spoofing). up(l) The protocol state of the interface is up (loopback). down(l) The protocol state of the interface is down (loopback). IP address of interface. If no IP address is configured, two hyphens (--) are displayed. Interface description information. If no description is configured, two hyphens (--) are displayed. ip address Syntax View Default level Parameters ip address ip-address { mask-length mask } [ sub ] undo ip address [ ip-address { mask-length mask } [ sub ] ] Interface view 2: System level ip-address: IP address of interface, in dotted decimal notation. mask-length: Subnet mask length, the number of consecutive ones in the mask. mask: Subnet mask in dotted decimal notation. sub: Secondary IP address for the interface. Use ip address to assign an IP address and mask to the interface. Use undo ip address to remove all IP addresses from the interface. Use the undo ip address ip-address { mask mask-length } command to remove the primary IP address. Use the undo ip address ip-address { mask mask-length } sub command to remove a secondary IP address. By default, no IP address is assigned to any interface. When assigning IP addresses to an interface: You can assign only one primary IP address to an interface. 5

The primary and secondary IP addresses can be located in the same network segment. Before removing the primary IP address, remove all secondary IP addresses. An interface can have up to 128 IP addresses configured, in which, one is the primary IP address, and all others are secondary IP addresses. Do not assign a secondary IP address to an interface that is configured to obtain an IP address through PPP negotiation. Related commands: display ip interface. Examples # Assign VLAN-interface 1 a primary IP address 129.12.0.1 and a secondary IP address 202.38.160.1, with subnet masks 255.255.255.0. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] ip address 129.12.0.1 255.255.255.0 [Sysname-Vlan-interface1] ip address 202.38.160.1 255.255.255.0 sub 6