05-Network Protocol Command

Table of Contents

Chapter 1 IP Address Configuration Commands. 1-1

1.1 IP Address Configuration Commands. 1-1

1.1.1 ip address. 1-1

1.1.2 ip address ppp-negotiate. 1-2

1.1.3 ip address unnumbered. 1-3

1.1.4 remote address. 1-4

Chapter 2 ARP Configuration Commands. 2-1

2.1 ARP Configuration Commands. 2-1

2.1.1 arp fixed. 2-1

2.1.2 arp fixup (in System View) 2-1

2.1.3 arp fixup (in Interface View) 2-2

2.1.4 arp static. 2-3

2.1.5 arp check enable. 2-4

2.1.6 arp timer aging. 2-4

2.1.7 debugging arp packet 2-5

2.1.8 display arp. 2-6

2.1.9 display arp timer aging (only for the AR46 Series) 2-7

2.1.10 exterior-arp enable. 2-7

2.1.11 naturemask-arp. 2-8

2.1.12 reset arp. 2-8

2.2 Proxy ARP Configuration Commands. 2-9

2.2.1 arp-proxy enable. 2-9

2.3 Gratuitous ARP Configuration Commands. 2-10

2.3.1 arp send-gratuitous-arp. 2-10

2.3.2 gratuitous-arp-learning enable. 2-11

2.3.3 gratuitous-arp-sending enable. 2-11

2.4 Authorized ARP Configuration Commands. 2-12

2.4.1 arp security. 2-12

2.4.2 arp security time-out 2-13

2.4.3 dhcp server synchronize arp (in Interface View) 2-14

2.4.4 dhcp server synchronize arp interface (in System View) 2-14

2.4.5 synchronize arp. 2-15

Chapter 3 DNS Configuration Commands. 3-1

3.1 Static DNS Configuration Commands. 3-1

3.1.1 display ip host 3-1

3.1.2 ip host 3-1

3.2 DNS Client Configuration Commands. 3-3

3.2.1 debugging dns. 3-3

3.2.2 dns resolve. 3-3

3.2.3 dns server 3-4

3.2.4 dns domain. 3-4

3.2.5 display dns domain. 3-5

3.2.6 display dns server 3-6

3.2.7 display dns dynamic-host 3-6

3.2.8 nslookup type. 3-7

3.2.9 reset dns dynamic-host 3-8

3.3 DNS Proxy Configuration Commands. 3-9

3.3.1 dns-proxy enable. 3-9

Chapter 4 DDNS Configuration Commands. 4-1

4.1 DDNS Configuration Commands. 4-1

4.1.1 ddns domainname. 4-1

4.1.2 ddns password. 4-1

4.1.3 ddns refresh. 4-2

4.1.4 ddns source-interface. 4-3

4.1.5 ddns username. 4-3

4.1.6 ddns-server 4-4

Chapter 5 URPF Configuration Commands. 5-1

5.1 URPF Configuration Commands. 5-1

5.1.1 ip urpf 5-1

5.1.2 debugging ip urpf 5-1

Chapter 6 IP Accounting Configuration Commands. 6-1

6.1 IP Accounting Configuration Commands. 6-1

6.1.1 debugging ip count 6-1

6.1.2 display ip count 6-4

6.1.3 display ip count rule. 6-5

6.1.4 ip count enable. 6-5

6.1.5 ip count exterior-threshold. 6-6

6.1.6 ip count firewall-denied. 6-7

6.1.7 ip count inbound-packets. 6-7

6.1.8 ip count interior-threshold. 6-8

6.1.9 ip count outbound-packets. 6-9

6.1.10 ip count rule. 6-9

6.1.11 ip count timeout 6-10

6.1.12 reset ip count 6-11

Chapter 7 UDP Helper Configuration Commands. 7-1

7.1 UDP Helper Configuration Commands. 7-1

7.1.1 debugging udp-helper 7-1

7.1.2 display udp-helper server 7-1

7.1.3 udp-helper enable. 7-2

7.1.4 udp-helper port 7-2

7.1.5 udp-helper server 7-3

Chapter 8 BOOTP Client Configuration Commands. 8-1

8.1 BOOTP Client Configuration Command. 8-1

8.1.1 display bootp client 8-1

8.1.2 ip address bootp-alloc. 8-2

Chapter 9 DHCP Configuration Commands. 9-1

9.1 DHCP Public Configuration Commands. 9-1

9.1.1 dhcp enable. 9-1

9.1.2 dhcp select (in Interface View) 9-1

9.1.3 dhcp select (in System View) 9-3

9.1.4 dhcp server detect 9-4

9.2 DHCP Server Configuration Commands. 9-4

9.2.1 accounting domain. 9-4

9.2.2 bims-server 9-6

9.2.3 debugging dhcp server 9-6

9.2.4 dhcp server accounting domain interface (in System View) 9-8

9.2.5 dhcp server accounting domain (in Interface View) 9-9

9.2.6 dhcp server bims-server (Interface View) 9-10

9.2.7 dhcp server bims-server interface (System View) 9-11

9.2.8 dhcp server dns-list 9-12

9.2.9 dhcp server dns-list interface (in System View) 9-13

9.2.10 dhcp server domain-name (in Interface View) 9-13

9.2.11 dhcp server domain-name interface (in System View) 9-14

9.2.12 dhcp server expired (in interface view) 9-15

9.2.13 dhcp server expired interface (in System View) 9-16

9.2.14 dhcp server forbidden-ip. 9-17

9.2.15 dhcp server ip-pool 9-18

9.2.16 dhcp server nbns-list (in interface view) 9-19

9.2.17 dhcp server nbns-list interface (in system view) 9-19

9.2.18 dhcp server netbios-type (in interface view) 9-21

9.2.19 dhcp server netbios-type interface (in system view) 9-22

9.2.20 dhcp server option (in interface view) 9-23

9.2.21 dhcp server option interface (in system view) 9-24

9.2.22 dhcp server ping. 9-25

9.2.23 dhcp server relay information enable. 9-25

9.2.24 dhcp server static-bind. 9-26

9.2.25 dhcp server voice-config (in Interface View) 9-27

9.2.26 dhcp server voice-config interface (in System View) 9-28

9.2.27 display dhcp server conflict 9-30

9.2.28 display dhcp server expired. 9-30

9.2.29 display dhcp server free-ip. 9-32

9.2.30 display dhcp server ip-in-use. 9-32

9.2.31 display dhcp server statistics. 9-34

9.2.32 display dhcp server tree. 9-35

9.2.33 dns-list 9-38

9.2.34 domain-name. 9-39

9.2.35 expired. 9-40

9.2.36 gateway-list 9-40

9.2.37 nbns-list 9-41

9.2.38 netbios-type. 9-42

9.2.39 network. 9-43

9.2.40 option. 9-43

9.2.41 reset dhcp server conflict 9-44

9.2.42 reset dhcp server ip-in-use. 9-45

9.2.43 reset dhcp server statistics. 9-45

9.2.44 static-bind ip-address. 9-46

9.2.45 static-bind { mac-address | client-identifier } 9-47

9.2.46 voice-config. 9-47

9.3 DHCP Relay Configuration Commands. 9-49

9.3.1 debugging dhcp relay. 9-49

9.3.2 dhcp relay information. 9-49

9.3.3 dhcp relay information strategy. 9-50

9.3.4 display dhcp relay address. 9-51

9.3.5 display dhcp relay statistics. 9-51

9.3.6 display dhcprelay-security. 9-52

9.3.7 ip relay address (in Interface View) 9-53

9.3.8 ip relay address cycle. 9-54

9.3.9 ip relay address interface (in System View) 9-54

9.3.10 reset dhcp relay statistics. 9-55

9.4 DHCP Client Configuration Commands. 9-56

9.4.1 debugging dhcp client 9-56

9.4.2 display dhcp client 9-56

9.4.3 ip address dhcp-alloc. 9-58

Chapter 10 IP Performance Configuration Commands. 10-1

10.1 IP Performance Configuration Commands. 10-1

10.1.1 debugging ip. 10-1

10.1.2 debugging tcp event 10-2

10.1.3 debugging tcp md5. 10-3

10.1.4 debugging tcp packet 10-4

10.1.5 debugging udp packet 10-5

10.1.6 display fib. 10-6

10.1.7 display fib acl 10-7

10.1.8 display fib begin. 10-8

10.1.9 display fib ip-prefix. 10-9

10.1.10 display fib longer 10-10

10.1.11 display fib statistics. 10-11

10.1.12 display icmp statistics. 10-11

10.1.13 display ip fast-forwarding cache. 10-13

10.1.14 display ip interface. 10-13

10.1.15 display ip interface brief 10-15

10.1.16 display ip socket 10-15

10.1.17 display ip statistics. 10-17

10.1.18 display tcp statistics. 10-18

10.1.19 display tcp status. 10-21

10.1.20 display udp statistics. 10-21

10.1.21 icmp redirect send. 10-23

10.1.22 ip fast-forwarding. 10-23

10.1.23 reset ip fast-forwarding cache. 10-24

10.1.24 reset ip statistics. 10-25

10.1.25 reset tcp statistics. 10-25

10.1.26 reset udp statistics. 10-26

10.1.27 tcp mss. 10-26

10.1.28 tcp timer fin-timeout 10-27

10.1.29 tcp timer syn-timeout 10-28

10.1.30 tcp window. 10-28

10.2 Broadcast Forwarding Configuration Commands. 10-29

10.2.1 ip forward-broadcast 10-29

10.3 Multicast Fast Forwarding Configuration Commands. 10-30

10.3.1 ip multicast-fast-forwarding. 10-30

10.3.2 reset ip multicast-fast-forwarding cache. 10-30

10.3.3 display ip multicast-fast-forwarding cache. 10-31

Chapter 11 NAT Configuration Commands. 11-1

11.1 NAT Configuration Commands. 11-1

11.1.1 connection-limit default 11-1

11.1.2 connection-limit default amount 11-1

11.1.3 connection-limit enable. 11-2

11.1.4 connection-limit policy. 11-3

11.1.5 debugging connection-limit 11-3

11.1.6 debugging nat 11-4

11.1.7 display connection-limit policy. 11-4

11.1.8 display connection-limit statistics. 11-5

11.1.9 display nat 11-6

11.1.10 display nat connection-limit 11-8

11.1.11 display nat server-group. 11-9

11.1.12 inside ip. 11-10

11.1.13 limit 11-11

11.1.14 nat address-group. 11-12

11.1.15 nat aging-time. 11-13

11.1.16 nat alg. 11-14

11.1.17 nat dns-map. 11-15

11.1.18 nat match factor-all 11-16

11.1.19 nat outbound. 11-17

11.1.20 nat outbound interface. 11-18

11.1.21 nat outbound static. 11-19

11.1.22 nat overlapaddress. 11-20

11.1.23 nat server 11-21

11.1.24 nat server-group. 11-24

11.1.25 nat static. 11-24

11.1.26 nat static inside. 11-25

11.1.27 nat connection-limit-policy. 11-26

11.1.28 reset nat 11-27

11.1.29 vpn-instance. 11-27

Chapter 12 IP Unicast Policy Routing Configuration Commands. 12-1

12.1 IP Unicast Policy Routing Configuration Commands. 12-1

12.1.1 apply default output-interface. 12-1

12.1.2 apply ip-address default next-hop. 12-2

12.1.3 apply ip-address next-hop (for Unicast Policy Routing) 12-2

12.1.4 apply ip-df 12-3

12.1.5 apply ip-dscp. 12-4

12.1.6 apply ip-precedence. 12-4

12.1.7 apply output-interface (for Unicast Policy Routing) 12-5

12.1.8 display ip policy. 12-6

12.1.9 display ip policy setup. 12-7

12.1.10 display ip policy statistic. 12-7

12.1.11 display route-policy. 12-8

12.1.12 if-match acl 12-9

12.1.13 if-match packet-length. 12-9

12.1.14 ip local policy route-policy. 12-10

12.1.15 ip policy route-policy. 12-11

12.1.16 route-policy. 12-11

Chapter 13 IP Multicast Policy Routing Configuration Commands. 13-1

13.1 IP Multicast Policy Routing Configuration Commands. 13-1

13.1.1 apply ip-address next-hop (for Multicast Policy Routing) 13-1

13.1.2 apply output-interface (for Multicast Policy Routing) 13-2

13.1.3 debugging ip multicast-policy. 13-2

13.1.4 display ip multicast-policy. 13-3

13.1.5 if-match acl 13-4

13.1.6 ip multicast-policy route-policy. 13-5

13.1.7 route-policy. 13-6

Chapter 14 QLLC Configuration Commands. 14-1

14.1.1 debugging qllc. 14-1

14.1.2 X25 qllc-switch. 14-1

Chapter 15 SOT Configuration Commands. 15-1

15.1 SOT Configuration Commands. 15-1

15.1.1 display sot 15-1

15.1.2 link-protocol sot 15-2

15.1.3 sot counter keepalive. 15-3

15.1.4 sot gather 15-4

15.1.5 sot group-set 15-4

15.1.6 sot peer 15-5

15.1.7 sot sdlc broadcast 15-6

15.1.8 sot sdlc controller 15-6

15.1.9 sot sdlc-status primary. 15-7

15.1.10 sot sdlc-status secondary. 15-8

15.1.11 sot send address. 15-9

15.1.12 sot send all tcp. 15-10

15.1.13 sot timer keepalive. 15-10

Chapter 16 Web Cache Redirection Configuration Commands. 16-1

16.1 Web Cache Redirection Configuration Commands. 16-1

16.1.1 webcache redirect address. 16-1

16.1.2 webcache redirect enable. 16-2

Chapter 17 MIP Configuration Commands. 17-1

17.1 MIP Configuration Commands. 17-1

17.1.1 debugging mobile-ip advertise. 17-1

17.1.2 debugging mobile-ip node. 17-1

17.1.3 display mobile-ip interface. 17-2

17.1.4 display mobile-ip globals. 17-4

17.1.5 display mobile-ip statistics. 17-6

17.1.6 mobile-ip. 17-10

17.1.7 mobile-ip tunnel path-mtu-discovery. 17-11

17.1.8 reset mobile-ip statistics. 17-11

17.1.9 snmp-agent trap enable mobile-ip. 17-12

17.2 HA Configuration Commands. 17-13

17.2.1 display mobile-ip binding. 17-13

17.2.2 mobile-ip home-agent 17-14

17.2.3 mobile-ip virtual-network. 17-17

17.2.4 reset mobile-ip binding. 17-18

17.3 FA Configuration Commands. 17-19

17.3.1 display mobile-ip visitor 17-19

17.3.2 mobile-ip foreign-agent 17-20

17.3.3 mobile-ip foreign-agent service. 17-22

17.3.4 mobile-ip prefix-length. 17-23

17.3.5 mobile-ip registration-lifetime. 17-24

17.3.6 reset mobile-ip visitor 17-25

17.4 MN Configuration Commands. 17-26

17.4.1 display mobile-ip node. 17-26

17.4.2 mobile-ip node. 17-27

17.4.3 reset mobile-ip node-statistics. 17-28

17.4.4 mobile-ip home-agent mobile-router 17-29

17.4.5 ip address. 17-29

17.4.6 mobile-network. 17-30

17.5 MR Configuration Commands. 17-31

17.5.1 debugging mobile-ip mobile-router 17-31

17.5.2 display mobile-ip mobile-router 17-32

17.5.3 encapsulation. 17-38

17.5.4 home-agent ip-address. 17-38

17.5.5 ip address. 17-39

17.5.6 mobile-ip mobile-router 17-40

17.5.7 mobile-ip mobile-router ccoa. 17-40

17.5.8 mobile-ip mobile-router roam.. 17-41

17.5.9 mobile-ip mobile-router solicit 17-42

17.5.10 mobile-network. 17-43

17.5.11 register lifetime. 17-44

17.5.12 register retransmit 17-44

17.5.13 reset mobile-ip mobile-router 17-46

17.5.14 reverse-tunnel 17-46

17.5.15 simultaneous-bindings. 17-47

17.6 MIP Security Policy Configuration Commands. 17-48

17.6.1 display mobile-ip secure. 17-48

17.6.2 display mobile-ip violation. 17-49

17.6.3 mobile-ip secure. 17-51

17.7 IRDP Configuration Commands. 17-52

17.7.1 display mobile-ip irdp. 17-52

17.7.2 mobile-ip irdp. 17-53

Chapter 18 QinQ Configuration Commands. 18-1

18.1 QinQ Configuration Commands. 18-1

18.1.1 bridge qinq vid. 18-1

18.1.2 bridge vlanid-drop enable. 18-2

 


Chapter 1  IP Address Configuration Commands

1.1  IP Address Configuration Commands

1.1.1  ip address

Syntax

ip address ip-address net-mask [ sub ]

undo ip address [ ip-address net-mask [ sub ] ]

View

Interface view

Parameter

ip-address: Interface IP address, in dot delimitated decimal format.

net-mask: The mask of the corresponding subnet in dot delimitated decimal format, or the mask length to be specified.

sub: To enable communications among different subnets, the configured slave IP address should be used.

Description

Use the ip address command to set an IP address for an interface.

Use the undo ip address command to delete an IP address of the interface.

By default, no IP address for an interface is configured.

Users can select proper IP subnet according to actual conditions. Moreover, in the case that part of the host address is composed of 0 or the entire host address is composed of 1, the address has some special use and can not be used as ordinary IP address.

The mask identifies the network number in an IP address.

Under normal conditions, one interface only needs to be configured with one IP address. However, to enable one interface of a router to connect to several subnets, one interface can be configured with several IP addresses. Among them, one is master IP address, and others are slave IP addresses. Following is the relationship between the master and slave IP addresses:

l           If a master IP address is configured while there’s already an existing master IP address, the original one will be deleted and the newly configured will take effect.

l           The command undo ip address without parameters indicates to delete all the IP addresses of the interface. The command undo ip address ip-address net-mask indicates to delete the master IP address and undo ip address ip-address net-mask sub indicates to delete the slave address. All the slave addresses must be deleted before the master IP address can be deleted.

In addition, any two IP addresses configured for all interfaces on a router cannot be located in the same subnet.

Related command: ip route-static, display ip interface, and display interface.

Example

# Configure the interface Serial 0/0/0 with the master IP address as 129.102.0.1, the slave IP address is 202.38.160.1, and the subnet mask of both is 255.255.255.0.

[H3C-Serial0/0/0] ip address 129.102.0.1 255.255.255.0

[H3C-Serial0/0/0] ip address 202.38.160.1 255.255.255.0 sub

1.1.2  ip address ppp-negotiate

Syntax

ip address ppp-negotiate

undo ip address ppp-negotiate

View

Interface view

Parameter

None

Description

Use the ip address ppp-negotiate command to allow IP address be assigned through negotiation at the interface.

Use the undo ip address ppp-negotiate command to disable this function.

By default, no interface IP address negotiation is allowed.

As PPP supports IP address negotiation, only when the interface is encapsulated with the link-layer p