- Table of Contents
-
- H3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)
- 00-1Cover
- 01-CLI Commands
- 02-Login Commands
- 03-Configuration File Management Commands
- 04-VLAN Commands
- 05-Extended VLAN Application Commands
- 06-IP Address-IP Performance-IPX Commands
- 07-GVRP Commands
- 08-QinQ Commands
- 09-Port Basic Configuration Commands
- 10-Link Aggregation Commands
- 11-Port Isolation Commands
- 12-Port Binding Commands
- 13-DLDP Commands
- 14-MAC Address Table Commands
- 15-MSTP Commands
- 16-Routing Protocol Commands
- 17-Multicast Commands
- 18-802.1x Commands
- 19-AAA-RADIUS-HWTACACS-EAD Commands
- 20-Traffic Accounting Commands
- 21-VRRP-HA Commands
- 22-ARP Commands
- 23-DHCP Commands
- 24-ACL Commands
- 25-QoS Commands
- 26-Mirroring Commands
- 27-Cluster Commands
- 28-PoE Commands
- 29-UDP-Helper Commands
- 30-SNMP-RMON Commands
- 31-NTP Commands
- 32-SSH Terminal Service Commands
- 33-File System Management Commands
- 34-FTP and TFTP Commands
- 35-Information Center Commands
- 36-DNS Commands
- 37-System Maintenance and Debugging Commands
- 38-HWPing Commands
- 39-RRPP Commands
- 40-NAT-Netstream-Policy Routing Commands
- 41-Telnet Protection Commands
- 42-Hardware-Dependent Software Configuration Commands
- 43-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
06-IP Address-IP Performance-IPX Commands | 267 KB |
Table of Contents
Chapter 1 IP Address Configuration Commands
1.1 IP Address Configuration Commands
Chapter 2 IP Performance Configuration Commands
2.1 IP Performance Configuration Commands
Chapter 3 IPX Configuration Commands
3.1 IPX Configuration Commands
3.1.2 display ipx routing-table
3.1.3 display ipx service-table
3.1.9 ipx rip import-route static
3.1.13 ipx route load-balance-path
3.1.14 ipx route max-reserve-path
3.1.17 ipx sap gns-disable-reply
3.1.18 ipx sap gns-load-balance
3.1.19 ipx sap max-reserve-servers
3.1.27 reset ipx routing-table statistics protocol
Chapter 1 IP Address Configuration Commands
1.1 IP Address Configuration Commands
1.1.1 display ip interface
Syntax
display ip interface [ brief ] [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: interface-type indicates a port type and interface-number indicates a port number. For details, refer to the description of the interface command in Port Basic Configuration Command Manual.
brief: Displays the basic interface configuration information.
Description
Use the display ip interface command to display information about one specific or all interfaces.
Examples
# Display information about VLAN-interface 1.
<H3C> display ip interface Vlan-interface 1
Vlan-interface1 current state :UP
Line protocol current state :UP
Internet Address is 192.168.0.39/24 Primary
Broadcast address : 192.168.0.255
The Maximum Transmit Unit : 1500 bytes
IP packets input number: 9678, bytes: 475001, multicasts: 7
IP packets output number: 8622, bytes: 391084, multicasts: 0
TTL invalid packet number: 0
ICMP packet input number: 0
Echo reply: 0
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
Table 1-1 Description on the fields of the display ip interface command
Field |
Description |
Vlan-interface1 current state |
Current state of VLAN-interface 1 |
Line protocol current state |
Current state of the Line protocol |
Internet Address |
IP address |
Broadcast address |
Broadcast address |
The Maximum Transmit Unit |
Max transmit unit |
IP packets input number: 9678, bytes: 475001, multicasts: 7 IP packets output number: 8622, bytes: 391084, multicasts: 0 |
Number of input/output unicast packets, bytes, and multicast packets |
TTL invalid packet number |
Number of received invalid TTL packets |
ICMP packet input number: 0 Echo reply: 0 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 |
Total number of received ICMP packets, including: Echo reply packet, unreachable packet, source quench packet, routing redirect packet, Echo request packet, router advert packet, router solicit packet, time exceed packet, IP header bad packet, timestamp request packet, timestamp reply packet, information request packet, information reply packet, netmask request packet, netmask reply packet, and unknown types of packets. |
1.1.2 ip address
Syntax
ip address ip-address { mask | mask-length } [ sub ]
undo ip address [ ip-address { mask | mask-length } [ sub ] ]
View
VLAN interface view, loopback interface view
Parameters
ip-address: IP address, in dotted decimal notation.
mask: Subnet mask, in dotted decimal notation.
mask-length: Length of a subnet mask.
sub: Secondary IP address of a VLAN or loopback interface.
Description
Use the ip address command to specify an IP address and mask for a VLAN or loopback interface.
Use the undo ip address command to remove an IP address and mask of a VLAN or loopback interface.
By default, a VLAN or loopback interface has no IP address.
Generally, it is enough to configure one IP address for a VLAN/LoopBack interface. However, you can configure up to eight IP addresses for a VLAN/LoopBack interface so that it can be connected to several subnets. Among these IP addresses, one is the primary IP address and all the others are secondary ones. The relationship between the primary address and the secondary addresses is as follows:
l When you configure a primary IP address for an interface which already has a primary IP address, the new address will replace the old one.
l If you execute the undo ip address command without any parameter, the switch deletes both primary and secondary IP addresses of the interface. The undo ip address ip-address { mask | mask-length } command is used to delete the primary IP address. The undo ip address ip-address { mask | mask-length } sub command is used to delete secondary IP addresses.
Related commands: display ip interface.
Examples
# Specify the IP address and subnet mask of VLAN-interface 1 as 129.12.0.1 and 255.255.255.0 respectively.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] ip address 129.12.0.1 255.255.255.0
Chapter 2 IP Performance Configuration Commands
2.1 IP Performance Configuration Commands
2.1.1 display fib
display fib fib-rule
View
Any view
Parameters
fib-rule: Specifies FIB entries that conform to specific rules. It can be a combination of multiple rules. The following table describes the combinations.
Table 2-1 Display combination of specified FIB entries
Description |
Form of fib-rule |
Display FIB entries of the specified slot |
slot-number |
Display FIB entries matching the specified destination IP address/mask pair and all the FIB entries matching the specified IP address/mask (in the natural mask range) pair |
ip-address1 [ { mask1 | mask-length1 } [ ip-address2 { mask2 | mask-length2 } | longer ] | longer ] |
Display FIB statistics |
statistics |
Display the FIB entries that are output from the buffer according to the regular expression and are related to the specific character string |
| { begin | exclude | include } text |
Display the FIB entries matching a specific ACL |
acl { number | name } |
Display the FIB entries matching the specific prefix list |
ip-prefix listname |
Description
Use the display fib command to view the entries of the forwarding information base (FIB). Each line indicates an FIB entry. The information includes: destination address/mask length, next hop, current flag, timestamp, and output interface. For the ACL configuration, refer to the ACL module of this manual.
Examples
# View all FIB entries.
Destination/Mask Nexthop Flag TimeStamp Interface
211.71.75.0/24 1.1.1.2 GSU t[250763] Vlan-interface2
1.1.2.1/32 127.0.0.1 GHU t[37] InLoopBack0
127.0.0.1/32 127.0.0.1 GHU t[37] InLoopBack0
127.0.0.0/8 127.0.0.1 U t[37] InLoopBack0
1.1.1.1/32 127.0.0.1 GHU t[37] InLoopBack0
1.1.1.0/24 1.1.1.1 U t[37] Vlan-interface2
Table 2-2 Description on the fields of the display fib command
Field |
Description |
Destination/Mask |
Destination address/mask length |
Nexthop |
Next hop address |
Flag |
Flags: U: A route is up and available. G: Gateway route H: Local host route B: Blackhole route D: Dynamic route S: Static route R: Rejected route E: Multi-path equal-cost route L: Route generated by ARP or ESIS |
TimeStamp |
Timestamp |
Interface |
Forwarding interface |
# View ACL 2001.
<H3C> display acl config 2001
Basic ACL 2001, 1 rule
rule 0 permit source 211.71.75.0 0.0.0.255 (0 times matched)
# View the FIB entries that pass the filtering by ACL 2001.
<H3C> display fib acl 2001
Route Entry matched by access-list 2001
Summary Counts :1
Destination/Mask Nexthop Flag TimeStamp Interface
211.71.75.0/24 1.1.1.2 GSU t[250763] Vlan-interface2
# View all the lines from the line containing the string 1.1.1.1.
<H3C> display fib | begin 1.1.1.1
1.1.1.1/32 127.0.0.1 GHU t[37] InLoopBack0
1.1.1.0/24 1.1.1.1 U t[37] Vlan-interface2
# View the total number of FIB entries.
Route Entry Count : 30
2.1.2 display icmp statistics
Syntax
display icmp statistics
View
Any view
Parameters
None
Description
Use the display icmp statistics command to view the statistics about ICMP packets.
Related commands: display ip interface, reset ip statistics.
Examples
# View the statistics about ICMP packets.
<H3C> display icmp statistics
Input: bad formats 0 bad checksum 0
echo 5 destination unreachable 0
source quench 0 redirects 0
echo reply 10 parameter problem 0
timestamp 0 information request 0
mask requests 0 mask replies 0
time exceeded 0
Output:echo 10 destination unreachable 0
source quench 0 redirects 0
echo reply 5 parameter problem 0
timestamp 0 information reply 0
mask requests 0 mask replies 0
time exceeded 0
Table 2-3 Description on the fields of the display icmp statistics command
Field |
Description |
bad formats |
Number of input packets in bad formats |
bad checksum |
Number of input packets with bad checksum |
echo |
Number of input/output echo request packets |
destination unreachable |
Number of input/output packets with unreachable destination |
source quench |
Number of input/output source quench packets |
redirects |
Number of input/output redirected packets |
echo reply |
Number of input/output echo reply packets |
parameter problem |
Number of input/output packets with parameter problem |
timestamp |
Number of input/output timestamp packets |
information request |
Number of input information request packets |
mask requests |
Number of input/output mask request packets |
mask replies |
Number of input/output mask reply packets |
information reply |
Number of output information reply packets |
time exceeded |
Number of time-exceeded packets |
2.1.3 display ip socket
Syntax
display ip socket [ socktype sock-type ] [ task-id socket-id ]
View
Any view
Parameters
sock-type: Type of a socket, ranging from 1 to 3. These values correspond to SOCK_STREAM (TCP socket), SOCK_DGRAM (UDP socket or socket based on the link layer), and SOCK_RAW (RAW IP socket).
task-id: ID of a task, with the value ranging from 1 to 100.
socket-id: ID of a socket, with the value ranging from 0 to 3,072.
Description
Use the display ip socket command to display the information of the current socket.
Examples
# Display the information about the socket of the TCP type.
<H3C> display ip socket socktype 1
SOCK_STREAM:
Task = VTYD(18), socketid = 1, Proto = 6,
LA = 0.0.0.0:23, FA = 0.0.0.0:0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_KEEPALIVE SO_SENDVPNID SO_SETKEEPALIVE,
socket state = SS_PRIV SS_ASYNC
Task = VTYD(18), socketid = 2, Proto = 6,
LA = 10.153.17.99:23, FA = 10.153.17.56:1161,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_KEEPALIVE SO_OOBINLINE SO_SENDVPNID SO_SETKEEPALIVE,
socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC
Task = VTYD(18), socketid = 3, Proto = 6,
LA = 10.153.17.99:23, FA = 10.153.17.82:1121,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_KEEPALIVE SO_OOBINLINE SO_SENDVPNID SO_SETKEEPALIVE,
socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC
Table 2-4 Description on the fields of the display ip socket command
Field |
Description |
SOCK_STREAM |
Type of a socket. Three types are available: SOCK_STREAM (TCP socket), SOCK_DGRAM (UDP socket or socket supporting link layer access), and SOCK_RAW (RAW IP socket). |
Task |
Task ID |
socketid |
Socket ID |
Proto |
Protocol number used by the socket |
sndbuf |
Sending buffer size of the socket |
rcvbuf |
Receiving buffer size of the socket |
sb_cc |
Current data size in the sending buffer. The value makes sense only for the socket of TCP type, because only TCP is able to cache data. |
rb_cc |
Current data size in the receiving buffer |
socket option |
Option of a socket |
socket state |
State of a socket |
2.1.4 display ip statistics
Syntax
display ip statistics
View
Any view
Parameters
None
Description
Use the display ip statistics command to view the statistics about IP packets.
Related commands: display ip interface, reset ip statistics.
Examples
# View the statistics about IP packets.
<H3C> display ip statistics
Input: sum 7120 local 112
bad protocol 0 bad format 0
bad checksum 0 bad options 0
Output: forwarding 0 local 27
dropped 0 no route 2
compress fails 0
Fragment:input 0 output 0
dropped 0
fragmented 0 couldn't fragment 0
Reassembling:sum 0 timeouts 0
Table 2-5 Description on the fields of the display ip statistics command
Field |
Description |
|
Input: |
sum |
Sum of input packets |
Local |
Number of received packets whose destination address is the local device |
|
bad protocol |
Number of packets with wrong protocol number |
|
bad format |
Number of packets in bad format |
|
bad checksum |
Number of packets with bad checksum |
|
bad options |
Number of packets with wrong options |
|
Output: |
forwarding |
Number of forwarded packets |
local |
Number of packets sent by the local device |
|
dropped |
Number of dropped packets during transmission |
|
no route |
Number of packets that cannot be routed |
|
compress fails |
Number of packets that cannot be compressed |
|
Fragment: |
input |
Number of input fragments |
output |
Number of output fragments |
|
dropped |
Number of dropped fragments |
|
fragmented |
Number of packets that are fragmented |
|
couldn't fragment |
Number of packets that cannot be fragmented |
|
Reassembling: |
sum |
Number of reassembled packets |
timeouts |
Number of timeout fragment packets |
2.1.5 display tcp statistics
Syntax
display tcp statistics
View
Parameters
None
Description
Use the display tcp statistics command to view the statistics about TCP packets.
Related commands: display tcp status, reset tcp statistics.
Examples
# View the statistics about TCP packets.
<H3C> display tcp statistics
Received packets:
Total: 753
packets in sequence: 412 (11032 bytes)
window probe packets: 0, window update packets: 0
checksum error: 0, offset error: 0, short error: 0
duplicate packets: 4 (88 bytes), partially duplicate packets: 5 (7 bytes)
out-of-order packets: 0 (0 bytes)
packets of data out of window: 0 (0 bytes)
packets received after close: 0
ACK packets: 481 (8776 bytes)
duplicate ACK packets: 7, too much ACK packets: 0
Sent packets:
Total: 665
urgent packets: 0
control packets: 5 (including 1 RST)
window probe packets: 0, window update packets: 2
data packets: 618 (8770 bytes) data packets retransmitted: 0 (0 bytes)
ACK-only packets: 40 (28 delayed)
Retransmitted timeout: 0, connections dropped in retransmitted timeout: 0
Keepalive timeout: 0, keepalive probe: 0, Keepalive timeout, so connections disconnected : 0
Initiated connections: 0, accepted connections: 0, established connections: 0
Closed connections: 0 (dropped: 0, initiated dropped: 0)
Packets dropped with MD5 authentication: 0
Packets permitted with MD5 authentication: 0
Table 2-6 Description on the fields of the display tcp statistics command
Field |
Description |
|
Received packets |
Total |
Total number of received packets |
packets in sequence |
Number of packets in sequence |
|
window probe packets/ window update packets |
Number of window probe packets/number of window update packets |
|
checksum error/ offset error/ short error |
Number of checksum errors/number of offset errors/number of short errors |
|
duplicate packets/ partially duplicate packets |
Number of duplicate packets/number of partially duplicate packets |
|
out-of-order packets |
Number of out-of-order packets |
|
packets of data out of window |
Number of packets out of window |
|
packets received after close |
Number of received packets after close |
|
ACK packets |
Number of ACK packets |
|
duplicate ACK packets/ too much ACK packets |
Number of duplicate ACK packets/number of ACK packets for data not sent. |
|
Sent packets |
Total |
Total number of sent packets |
urgent packets |
Number of urgent packets |
|
control packets (including 1 RST) |
Number of control packets, including one retransmitted packet |
|
window probe packets/ window update packets |
Number of window probe packets/number of window update packets |
|
data packets/ data packets retransmitted |
Number of data packets/number of retransmitted packets |
|
ACK-only packets |
Number of ACK packets (28 delay ACK packets) |
|
Retransmitted timeout/ connections dropped in retransmitted timeout |
Times of retransmission timer timeout/number of dropped connections because retransmission times exceed the limit |
|
Keepalive timeout/ keepalive probe/ Keepalive timeout, so connections disconnected |
Times of keepalive timer timeout/number of transmitted keepalive probe packets/number of dropped connections due to keepalive probe failure |
|
Initiated connections/ accepted connections/ established connections |
Number of initiated connections/number of accepted connections/number of established connections |
|
Closed connections (dropped:\ initiated dropped: ) |
Number of closed connections (number of dropped connections\number of failed connection attempts) |
|
Packets dropped with MD5 authentication |
Number of dropped packets with MD5 authentication |
|
Packets permitted with MD5 authentication |
Number of permitted packets with MD5 authentication |
2.1.6 display tcp status
Syntax
display tcp status
View
Any view
Parameters
None
Description
Use the display tcp status command to view the state of all TCP connections so that you can monitor TCP connections in real time.
Examples
# View the state of all TCP connections.
<H3C> display tcp status
TCPCB Local Add:port Foreign Add:port State
03e37dc4 0.0.0.0:4001 0.0.0.0:0 Listening
04217174 100.0.0.204:23 100.0.0.253:65508 Established
Table 2-7 Description on the fields of the display tcp status command
Field |
Description |
TCPCB |
Address of the TCP control block |
Local Add:port |
Local IP address; port number |
Foreign Add:port |
Remote IP address; port number |
State |
TCP connection state |
2.1.7 display udp statistics
Syntax
display udp statistics
View
Any view
Parameters
None
Description
Use the display udp statistics command to view the statistics about UDP packets.
Related commands: reset udp statistics.
Examples
# View the statistics about UDP packets.
<H3C>display udp statistics
Received packets:
Total: 26320
checksum error: 0
shorter than header: 0, data length larger than packet: 0
no socket on port: 0
total broadcast or multicast packets : 25006
no socket broadcast or multicast packets: 24989
not delivered, input socket full: 0
input packets missing pcb cache: 1314
Sent packets:
Total: 7187
Table 2-8 Description on the fields of the display udp statistics command
Field |
Description |
|
Received packets: |
Total |
Total number of received UDP packets |
checksum error |
Number of packets with checksum errors |
|
shorter than header, |
Number of packets that are shorter than their headers |
|
data length larger than packet |
Number of packets whose data length is larger than that of the packets |
|
no socket on port |
Number of packets dropped because the socket corresponding to the port number is not found |
|
total broadcast or multicast packets |
Total number of transmitted broadcast or multicast packets |
|
no socket broadcast or multicast packets |
Total number of transmitted broadcast or multicast packets whose sockets are not found |
|
not delivered, input socket full |
Number of not delivered packets because the socket cache is full |
|
input packets missing pcb cache |
Number of packets missing pcb cache |
|
Sent packets: |
Total |
Total number of transmitted UDP packets |
2.1.8 ip
Syntax
ip { ttl-expires | unreachables }
undo ip { ttl-expires | unreachables }
View
System view
Parameters
ttl-expires: Configure whether to send TTL timeout packets to the CPU.
unreachables: Configure whether to send unreachable packets to the CPU.
Description
Use the ip { ttl-expires | unreachables } command to configure to send TTL timeout packets and unreachable packets to the CPU.
Use the undo ip { ttl-expires | unreachables } command to cancel the configuration.
By default, unreachable packets are not sent to the CPU, while TTL timeout packets are sent to the CPU.
Examples
# Configure to send unreachable packets to the CPU.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] ip unreachables
2.1.9 ip forward-broadcast
Syntax
ip forward-broadcast
undo ip forward-broadcast
View
System view
Parameters
None
Description
Use the ip forward-broadcast command to forward Layer 3 broadcast packets.
Use the undo ip forward-broadcast command to forbid forwarding Layer 3 broadcast packets.
By default, the switch does not forward Layer 3 broadcast packets.
Examples
# Configure to forward Layer 3 broadcast packets.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] ip forward-broadcast
2.1.10 reset ip statistics
Syntax
reset ip statistics
View
User view
Parameters
None
Description
Use the reset ip statistics command to clear the statistics about IP packets.
Related commands: display ip interface, display ip statistics.
Examples
# Clear the statistics about IP packets.
<H3C> reset ip statistics
2.1.11 reset tcp statistics
Syntax
reset tcp statistics
View
User view
Parameters
None
Description
Use the reset tcp statistics command to clear the statistics about TCP packets.
Related commands: display tcp statistics.
Examples
# Clear the statistics about TCP packets.
<H3C> reset tcp statistics
2.1.12 reset udp statistics
Syntax
reset udp statistics
View
User view
Parameters
None
Description
Use the reset udp statistics command to clear the statistics about UDP packets.
Examples
# Clear the statistics about UDP packets.
<H3C> reset udp statistics
2.1.13 tcp timer fin-timeout
Syntax
tcp timer fin-timeout time-value
undo tcp timer fin-timeout
View
System view
Parameters
time-value: TCP finwait timer value, in seconds, with the value ranging from 76 to 3,600.
Description
Use the tcp timer fin-timeout command to configure the TCP finwait timer.
Use the undo tcp timer fin-timeout command to restore the default value of the TCP finwait timer.
The default value is 675 seconds.
When the TCP connection state changes from FIN_WAIT_1 to FIN_WAIT_2, the finwait timer is enabled. If the switch does not receive FIN packets before the finwait timer times out, the TCP connection will be terminated.
Related commands: tcp timer syn-timeout, tcp window.
Examples
# Configure the default value of the TCP finwait timer to 800 seconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] tcp timer fin-timeout 800
2.1.14 tcp timer syn-timeout
Syntax
tcp timer syn-timeout time-value
undo tcp timer syn-timeout
View
System view
Parameters
time-value: TCP synwait timer value, in seconds, with the value ranging from 2 to 600.
Description
Use the tcp timer syn-timeout command to configure the TCP synwait timer.
Use the undo tcp timer syn-timeout command to restore the default value of the TCP synwait timer.
The default value is 75 seconds.
When a SYN packet is sent, TCP starts the synwait timer. If the response packet is not received before synwait times out, the TCP connection will be terminated.
Related commands: tcp timer fin-timeout, tcp window.
Examples
# Configure the default value of the TCP synwait timer to 80 seconds.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] tcp timer syn-timeout 80
2.1.15 tcp window
Syntax
tcp window window-size
undo tcp window
View
System view
Parameters
window-size: Size of the transmission/receiving buffer measured in kilobytes (KB), whose value ranges from 1 to 32.
Description
Use the tcp window command to configure the size of the transmission/receiving buffer of the connection-oriented socket.
Use the undo tcp window command to restore the default size of the transmission/receiving buffer of the connection-oriented socket.
By default, the size of the transmission/receiving buffer of the connection-oriented socket is 8 KB.
Related commands: tcp timer fin-timeout, tcp timer syn-timeout.
Examples
# Configure the size of the transmission/receiving buffer to 3 KB.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] tcp window 3
Chapter 3 IPX Configuration Commands
3.1 IPX Configuration Commands
3.1.1 display ipx interface
Syntax
display ipx interface [Vlan-interface vlan-id ]
View
Any view
Parameters
vlan-id: Specifies a VLAN interface by a VLAN ID.
Description
Use the display ipx interface command to view the IPX information of the specified VLAN interface.
If no vlan-id is specified, the IPX information of all the IPX-enabled VLAN interfaces will be displayed.
Examples
# View the IPX information of VLAN-interface 1.
<H3C> display ipx interface Vlan-interface 1
Vlan-interface1 is down
IPX address is 1.0020-9c68-448e [down]
SAP is enabled
Split horizon is enabled
Update change only is disabled
Forwarding of IPX type 20 propagation packet is disabled
Delay of this IPX interface, in ticks is 1
SAP GNS response is enabled
RIP packet maximum size is 432 bytes
SAP packet maximum size is 480 bytes
IPX encapsulation is Netware 802.3
0 received, 0 sent
0 bytes received, 0 bytes sent
0 RIP received, 0 RIP sent, 0 RIP discarded
0 RIP specific requests received, 0 RIP specific responses sent
0 RIP general requests received, 0 RIP general responses sent
0 SAP received, 0 SAP sent, 0 SAP discarded
0 SAP requests received, 0 SAP responses sent
Table 3-1 Description on the fields of the display ipx interface command
Field |
Description |
Vlan-interface1 is down |
State of the current VLAN interface |
IPX address |
IPX network number and node address of the current VLAN interface |
[down] |
State of the IPX protocol |
SAP |
Indicates whether SAP is enabled on the current VLAN interface |
Split horizon |
Indicates whether split-horizon is enabled on the current VLAN interface |
Update change only |
Indicates whether triggered update is enabled on the current VLAN interface |
Forwarding of IPX Type 20 propagation packet |
Indicates whether the IPX packets whose broadcast type is 20 are forwarded through the current VLAN interface |
Delay of this IPX interface |
Delay of the current VLAN interface |
SAP GNS response |
Indicates whether SAP GNS response is enabled on the current VLAN interface |
RIP packet maximum size |
Maximum length of the RIP update packets that the current VLAN interface can send |
SAP packet maximum size |
Maximum length of the SAP update packets that the current VLAN interface can send |
IPX encapsulation |
IPX encapsulation format of the current VLAN interface |
0 received, 0 sent 0 bytes received, 0 bytes sent 0 RIP received, 0 RIP sent, 0 RIP discarded 0 RIP specific requests received, 0 RIP specific responses sent 0 RIP general requests received, 0 RIP general responses sent 0 SAP received, 0 SAP sent, 0 SAP discarded 0 SAP requests received, 0 SAP responses sent |
The number of IPX packets and bytes sent and received by the current VLAN interface; the number of received, sent, and dropped IPX RIP packets; the number of received special request packets and response packets; the number of received general request packets and response packets; the number of received, transmitted, and dropped IPX SAP packets; the number of received IPX SAP packets and response packets |
3.1.2 display ipx routing-table
Syntax
display ipx routing-table [ network [ verbose ] | protocol { default | direct | rip | static } [ inactive | verbose ] | statistics | verbose ]
View
Any view
Parameters
network: Displays IPX routing information by specifying a destination network number, which is an eight-digit hexadecimal number in the range of 1 to 0xFFFFFFFE.
protocol: Displays the IPX routing information of the specified route type.
default: Displays the information of all the default routes.
direct: Displays the information of all direct routes.
rip: Displays the information of all IPX RIP routes.
static: Displays the information of all IPX static routes.
inactive: Displays the information of the inactive routes.
verbose: Displays the detailed IPX routing information, including the active and inactive routes.
statistics: Displays the IPX routing statistics.
Description
Use the display ipx routing-table command to view the IPX routing information.
If no parameters are specified, the information of all the active IPX routes will be displayed.
Examples
# View the information of the active IPX routes.
<H3C> display ipx routing-table
Routing tables:
Summary count: 2
Dest_Ntwk_ID Proto Pre Ticks Hops Nexthop Interface
0x1 Direct 0 1 0 0.0000-0000-0000 Vlan-interface1
0x2 Static 60 1 1 1.000e-0001-0000 Vlan-interface1
Table 3-2 Description on the fields of the display ipx routing-table command
Field |
Description |
Dest_Ntwk_ID |
Destination network number of the route |
Proto |
Protocol type of the route |
Pre |
Route preference |
Ticks |
Tick count of the route |
Hops |
Hop count of the route |
Nexthop |
Next hop of the route |
Interface |
Outgoing interface of the route |
# Display the detailed IPX routing information, including active and inactive routes.
<H3C> display ipx routing-table verbose
Routing tables:
Destinations: 2 Routes: 3
Destination Network ID: 0x1
Protocol: Direct Preference: 0
Ticks: 1 Hops: 0
Nexthop: 0.0000-0000-0000 Time: 0
Interface: 1.0020-9c68-448e(Vlan-interface1)
State: <Active>
Protocol: Static Preference: -60
Ticks: 1 Hops: 1
Nexthop: 2.000e-0001-0000 Time: 0
Interface: 2.0020-9c68-448f(Vlan-interface2)
State: <Inactive>
Destination Network ID: 0x2
Protocol: Static Preference: 60
Ticks: 1 Hops: 1
Nexthop: 1.000e-0001-0000 Time: 0
Interface: 1.0020-9c68-448e(Vlan-interface1)
State: <Active>
Table 3-3 Description on the fields of the display ipx routing-table verbose command
Field |
Description |
Time |
Route aging time; it is 0 for the direct and static routes, meaning they never time out. |
State |
The state of the route. It can be active, inactive, or delete. Active indicates that this route is an active route. Inactive indicates that this route is an inactive route. Delete indicates that this route has been deleted, but it is not released. |
# View the IPX routing statistics.
<H3C> display ipx routing-table statistics
Routing tables:
Proto/State route active added deleted freed
Direct 1 1 2 1 1
Static 2 1 2 0 0
RIP 0 0 0 0 0
Default 0 0 0 0 0
Total 3 2 4 1 1
Table 3-4 Description on the fields of the display ipx routing-table statistics command
Field |
Description |
Proto/State |
Routing protocol |
Route |
Number of routes, including active and inactive routes |
Active |
Number of active routes |
Added |
Number of added routes |
Deleted |
Number of deleted, but not released routes |
Freed |
Number of released routes |
3.1.3 display ipx service-table
display ipx service-table [ inactive | name name | network network | order { network | type } | type service-type ] [ verbose ]
View
Any view
Parameters
inactive: Displays the information of the inactive services.
name name: Displays the name information of the specified server. It is a string of 1 to 47 characters.
network network: Displays the network number information of the specified server. The network number is an eight-digit hexadecimal number in the range of 0x1 to 0xFFFFFFFF. The preamble 0 can be omitted when you input a network number.
order { network | type }: Displays the service information by network number or by service type.
type service-type: Displays the service information with a specified service type. It is a four-digit hexadecimal number, ranging from 0 to FFFF. 0 indicates all service types.
verbose: Displays the detailed service information.
Description
Use the display ipx service-table command to view the content of the IPX service information table.
Examples
# View the content of the IPX service information table.
[H3C] display ipx service-table
Abbreviation: S - Static, Pref - Preference(Decimal), NetId - Network number,
NodeId - Node address, hop - Hops(Decimal), Recv-If - Interface from which the service is received
Number of Static Entries: 2
Number of Dynamic Entries: 0
Name Type NetId
S Prn1 0005 000d
S Prn2 0005 0008
# View the details about the IPX service information table.
[H3C] display ipx service-table verbose
Abbreviation: S - Static, Pref - Preference(Decimal), NetId - Network number,
NodeId - Node address, hop - Hops(Decimal), Recv-If - Interface from which the service is received
Number of Static Entries: 2
Number of Dynamic Entries: 0
Name Type NetId NodeId Sock Pref Hops Recv-If
S Prn1 0005 000d 000a-000a-000a 0452 500 02 Vlan-interface1
S Prn2 0005 0008 000a-000a-000a 0452 500 03 Vlan-interface1
Table 3-5 Description on the fields of the display ipx service-table command
Field |
Description |
Name |
Server name |
Type |
Service type |
NetId |
Network number |
NodeId |
Node number |
Sock |
Socket |
Pref |
Preference |
Hops |
Hop count |
Recv-If |
Name of the interface receiving services |
3.1.4 display ipx statistics
Syntax
display ipx statistics
View
Any view
Parameters
None
Description
Use the display ipx statistics command to view the statistics of IPX packets.
Examples
# View the IPX packet statistics.
<H3C> display ipx statistics
Received: 0 total, 0 packets pitched
0 packets size errors, 0 format errors
0 bad hops(>16), 0 discarded(hops=16)
0 other errors, 0 local destination
0 can not be dealt with
Sent: 0 forwarded, 0 generated
0 no route, 0 discarded
RIP: 0 sent, 0 received
0 responses sent, 0 responses received
0 requests received, 0 requests dealt
0 requests sent, 0 periodic updates
SAP: 0 general requests received
0 specific requests received
0 GNS requests received
0 general responses sent
0 specific responses sent
0 GNS responses sent
0 periodic updates, 0 errors
PING: 0 requests sent, 0 requests received
0 responses sent, 0 responses received
0 responses in time, 0 responses time out
Table 3-6 Description on the fields of the display ipx statistics command
Field |
Description |
Received: 0 total, 0 packets pitched 0 packets size errors, 0 format errors 0 bad hops(>16), 0 discarded(hops=16) 0 other errors, 0 local destination 0 can not be dealt with |
Statistics of received packets: the total number of received packets, the number of filled packets, the number of packets with incorrect length, the number of incorrectly encapsulated packets, the number of packets whose hop count exceeds 16, the number of packets whose hop count is equal to 16, the number of other incorrect packets, the number of packets whose destination is the local switch, and the number of packets that cannot be handled |
Sent: 0 forwarded, 0 generated 0 no route, 0 discarded |
Statistics of transmitted packets: the number of forwarded packets, the number of packets transmitted from the local switch, the number of packets that cannot be routed successfully, and the number of dropped packets |
RIP: 0 sent, 0 received 0 responses sent, 0 responses received 0 requests received, 0 requests dealt 0 requests sent, 0 periodic updates |
Statistics of IPX RIP packets: the total number of received, transmitted IPX RIP packets, the number of transmitted/received response packets, the number of received/transmitted/handled packets, and the number of the periodic update packets |
SAP: 0 general requests received 0 specific requests received 0 GNS requests received 0 general responses sent 0 specific responses sent 0 GNS responses sent 0 periodic updates, 0 errors |
Statistics of SAP packets: the number of received general request packets, the number of special request packets, the number of latest request packets, the number of transmitted periodic update packets, and the number of received error packets |
PING: 0 requests sent, 0 requests received 0 responses sent, 0 responses received 0 responses in time, 0 responses time out |
Statistics of Ping packets: the number of transmitted/received request packets, the number of transmitted/received response packets, the number of prompt response packets, and the number of timeout response packets |
3.1.5 ipx enable
Syntax
ipx enable
undo ipx enable
View
System view
Parameters
None
Description
Use the ipx enable command to enable IPX.
Use the undo ipx enable command to disabled IPX and delete all the IPX configurations.
Note that after the undo ipx enable command is executed, the IPX configurations cannot be recovered using the ipx enable command.
Examples
# Enable IPX.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx enable
3.1.6 ipx encapsulation
Syntax
ipx encapsulation [ dot2 | dot3 | ethernet-2 | snap ]
undo ipx encapsulation
View
VLAN interface view
Parameters
dot2: Sets the encapsulation format to Ethernet_802.2.
dot3: Sets the encapsulation format to Ethernet_802.3.
ethernet-2: Sets the encapsulation format to Ethernet_II.
snap: Sets the encapsulation format to Ethernet_SNAP.
Description
Use the ipx encapsulation command to configure an IPX frame encapsulation format on the current VLAN interface.
Use the undo ipx encapsulation command to restore the encapsulation format to the default format.
By default, the IPX frame encapsulation format is Ethernet_802.3 (dot3).
Examples
# Set the IPX frame encapsulation format to Ethernet_II on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx encapsulation ethernet-2
3.1.7 ipx netbios-propagation
Syntax
ipx netbios-propagation
undo ipx netbios-propagation
View
VLAN interface view
Parameters
None
Description
Use the ipx netbios-propagation command to enable the current VLAN interface to forward Type 20 broadcast packets.
Use the undo ipx netbios-propagation command to disable the current VLAN interface from forwarding Type 20 broadcast packets.
By default, Type 20 broadcast packets are not forwarded.
Examples
# Allow the current interface to forward Type 20 broadcast packets.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx netbios-propagation
3.1.8 ipx network
Syntax
ipx network network
undo ipx network
View
VLAN interface view
Parameters
network: Hexadecimal IPX network number in the range 0x1 to 0xFFFFFFFD. The preamble 0 can be omitted when you input a network number.
Description
Use the ipx network command to assign an IPX network number to the VLAN interface.
Use the undo ipx network command to delete the IPX network number of the VLAN interface.
By default, no network number is assigned to VLAN interfaces; therefore, IPX is disabled on all the VLAN interfaces even after it is enabled globally.
Examples
# Assign the network number 675 to VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx network 675
3.1.9 ipx rip import-route static
Syntax
ipx rip import-route static
undo ipx rip import-route static
View
System view
Parameters
None
Description
Use the ipx rip import-route static command to enable RIP to import static routes. The imported routes are included in the update packets of RIP.
Use the undo ipx rip import-route static command to disable RIP from importing static routes.
By default, IPX RIP does not import static routes.
Note that IPX RIP imports only active static routes; inactive static routes are neither imported nor forwarded.
Examples
# Import static routes into IPX RIP.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx rip import-route static
3.1.10 ipx rip mtu
Syntax
ipx rip mtu bytes
undo ipx rip mtu
View
VLAN interface view
Parameters
bytes: Maximum size of IPX RIP update packets, in bytes. It is in the range of 432 to 1,500.
Description
Use the ipx rip mtu command to configure the IPX RIP update packet size.
Use the undo ipx rip mtu command to restore the default size.
By default, the default size of IPX RIP update packets is 432 bytes.
Examples
# Set the maximum RIP update packet size to 500 bytes on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2]ipx rip mtu 500
3.1.11 ipx rip multiplier
Syntax
ipx rip multiplier multiplier
undo ipx rip multiplier
View
System view
Parameters
multiplier: A multiplier of the update interval, decides the aging interval of the RIP routing entries together with the update interval. It is in the range 1 to 1,000. Multiplying the update interval by the multiplier, you can get the actual aging interval.
Description
Use the ipx rip multiplier command to configure the aging interval of the IPX RIP routing entries.
Use the undo ipx rip multiplier command to restore the default value. The aging interval of IPX RIP is a multiple of the IPX RIP update interval.
By default, the aging interval of the IPX RIP routing entries is three times the RIP updating interval.
Related commands: ipx rip timer update
Examples
# Set the RIP aging interval of the routing entries to five times the update interval.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx rip multiplier 5
3.1.12 ipx rip timer update
Syntax
ipx rip timer update seconds
undo ipx rip timer update
View
System view
Parameters
seconds: RIP update interval, in seconds. It is in the range of 10 to 60,000.
Description
Use the ipx rip timer update command to configure a RIP update interval.
Use the undo ipx rip timer update command to restore the default value.
By default, the update interval of IPX RIP is 60 seconds.
Related commands: ipx rip multiplier
Examples
# Set the RIP update interval to 30 seconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx rip timer update 30
3.1.13 ipx route load-balance-path
Syntax
ipx route load-balance-path paths
undo ipx route load-balance-path
View
System view
Parameters
paths: Maximum number of equivalent routes to the same destination. It is in the range of 1 to 64.
Description
Use the ipx route load-balance-path command to configure the maximum number of equivalent routes to the same destination.
Use the undo ipx route load-balance-path command to restore the default value.
By default, the maximum number of equivalent routes to the same destination is 1.
The maximum number of equivalent routes is the maximum number of active equivalent routes to the same destination in the current system. If the new number is less than the number of the current active routes, the system deactivates those excess routes.
Examples
# Set the maximum number of equivalent routes to the same destination to 30.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx route load-balance-path 30
3.1.14 ipx route max-reserve-path
Syntax
ipx route max-reserve-path paths
undo ipx route max-reserve-path
View
System view
Parameters
paths: Maximum number of dynamic routes saved in the device to the same destination. It is in the range of 1 to 255.
Description
Use the ipx route max-reserve-path command to configure the maximum number of dynamic routes saved in the device to the same destination.
Use the undo ipx route max-reserve-path command to restore the default value.
By default, the maximum number of dynamic routes to the same destination is 4.
When the number of dynamic routes saved in the device to the same destination exceeds the specified maximum value, the new dynamic routes are dropped directly rather than added into the routing table. When the configured new value is less than the old one, the switch, however, does not delete the excess route entries. These route entries either time out or are manually deleted.
Examples
# Set the maximum number of dynamic routes saved in the device to the same destination to 200.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx route max-reserve-path 200
3.1.15 ipx route-static
Syntax
ipx route-static network network.node [ preference value ] [ tick ticks hop hops ]
undo ipx route-static { network [ network.node ] | all }
View
System view
Parameters
network: Destination network number of an IPX static route. It is an eight-digit hexadecimal number in the range of 1 to 0xFFFFFFFE. IPX static routes whose destination network number is 0xFFFFFFFE are default routes.
network.node: Next hop address of the IPX static route. network defines the network number; node defines the node address, which comprises three 4-digit hexadecimal numbers (separated from each other using “-”) with each one in the range 1 to 0xFFFF.
preference value: Static route preference in the range of 1 to 255. A smaller value indicates a higher preference. The default preference of static routes is 60, the preference of direct routes is 0 fixedly, and the preference of dynamic IPX RIP routes is 100 fixedly.
ticks ticks: Time that a packet must take to reach the destination network, with 1 tick = 1/18 seconds. The value ranges from 1 to 65,534. The default value is 1. When the tick value of a VLAN interface is modified, the tick value of the static route also changes. You must configure both the tick value and the hop count.
hop hops: Number of the switches on the way to the destination network. It is in the range 1 to 15 and defaults to 1. You must configure both the hop count and tick value.
all: All the IPX static routes.
Description
Use the ipx route-static command to configure a static IPX route.
Use the undo ipx route-static command to delete the static IPX route.
The IPX static routes whose destination network number is 0xFFFFFFFE are default routes.
Examples
# Configure an IPX static route, with the destination network number being 0x5a, next hop being 675.0-0c91-f61f, tick value being 10 and hop count being 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx route-static 5a 675.0-0c91-f61f tick 10 hop 2
3.1.16 ipx sap disable
Syntax
ipx sap disable
undo ipx sap disable
View
VLAN interface view
Parameters
None
Description
Use the ipx sap disable command to disable SAP on the current VLAN interface.
Use the undo ipx sap disable command to enable SAP on the current VLAN interface.
By default, SAP is enabled as soon as IPX is enabled on the VLAN interface.
Examples
# Disable SAP on VLAN-interface 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx sap disable
3.1.17 ipx sap gns-disable-reply
Syntax
ipx sap gns-disable-reply
undo ipx sap gns-disable-reply
View
VLAN interface view
Parameters
None
Description
Use the ipx sap gns-disable-reply command to disable IPX GNS reply on the current VLAN interface.
Use the undo ipx sap gns-disable-reply command to enable IPX GNS reply on the current VLAN interface.
By default, GNS reply is enabled on the current VLAN interface.
Examples
# Disable GNS reply on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx sap gns-disable-reply
3.1.18 ipx sap gns-load-balance
Syntax
ipx sap gns-load-balance
undo ipx sap gns-load-balance
View
System view
Parameters
None
Description
Use the ipx sap gns-load-balance command to configure the switch to respond to GNS requests through Round-Robin.
Use the undo ipx sap gns-load-balance command to configure the switch to respond to GNS requests with information of the nearest server.
By default, the switch responds to SAP GNS requests using the information of a server that is picked out in turn from all the known servers. This prevents a server from getting overloaded.
Related commands: ipx sap gns-disable-reply
Examples
# Respond to GNS requests using the information of the nearest server.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo ipx sap gns-load-balance
3.1.19 ipx sap max-reserve-servers
Syntax
ipx sap max-reserve-servers length
undo ipx sap max-reserve-servers
View
System view
Parameters
length: Maximum length of the service information reserve queue for one service type. It is in the range of 1 to 2,048.
Description
Use the ipx sap max-reserve-servers command to configure the maximum length of the service information reserve queue for one service type.
Use the undo ipx sap max-reserve-servers command to restore the default value.
By default, the maximum length of the service information reserve queue for one service type is 2,048.
Examples
# Set the maximum length of the service information reserve queue for one service type to 1,024.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx sap max-reserve-servers 1024
3.1.20 ipx sap mtu
Syntax
ipx sap mtu bytes
undo ipx sap mtu
View
VLAN interface view
Parameters
bytes: Maximum SAP packet size, in bytes. It is in the range of 480 to 1,500.
Description
Use the ipx sap mtu command to configure the maximum size of SAP update packets.
Use the undo ipx sap mtu command to restore the default value.
By default, the default size of SAP update packets is 480 bytes.
Examples
# Set the maximum size of SAP update packets to 674 bytes, allowing 10 service entries on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx sap mtu 674
3.1.21 ipx sap multiplier
Syntax
ipx sap multiplier multiplier
undo ipx sap multiplier
View
System view
Parameters
multiplier: A multiplier of the update interval, decides the aging interval of the SAP routing entries together with the update interval. It is in the range of 1 to 1,000. Multiplying the update interval by the multiplier, you can get the actual aging interval.
Description
Use the ipx sap multiplier command to configure the aging interval of the SAP routing entries.
Use the undo ipx sap multiplier command to restore the default value.
By default, the aging interval of the SAP service information entries is 3.
Related commands: ipx sap timer update
Examples
# Set the aging interval of the SAP service entries to five times the update interval.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx sap multiplier 5
3.1.22 ipx sap timer update
Syntax
ipx sap timer update seconds
undo ipx sap timer update
View
System view
Parameters
seconds: SAP update interval. It is in the range of 10 to 60,000.
Description
Use the ipx sap timer update command to configure a SAP update interval.
Use the undo ipx sap timer update command to restore the default value.
By default, the SAP update interval is 60 seconds.
Note that this command is invalid if the triggered updates feature is applied on the VLAN interface.
Related commands: ipx sap multiplier, ipx update-change-only.
Examples
# Set the SAP update interval to 300 seconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx sap timer update 300
3.1.23 ipx service
Syntax
ipx service service-type name network.node socket hop hops [ preference preference ]
undo ipx service { service-type [ name [ network.node ] ] [ preference preference ] | all }
View
System view
Parameters
service-type: A four-digit hexadecimal number ranging from 0 to FFFF. 0 indicates all service types.
name: Specifies the server providing the specified service, a string of 1 to 47 characters.
network.node: Network number and node value of the server. The network number is an eight-digit hexadecimal number in the range of 0x1 to 0xFFFFFFFD. A node address identifies a node in the network; it is 48 bits long, and comprises three 4-digit hexadecimal numbers (separated from each other using “-”).
The preamble 0s can be omitted when you input a network number.
socket: A four-digit hexadecimal number in the range 0x1 to 0xFFFF.
hop hops: Number of hops to the server, a decimal number in the range of 1 to 15. The hop count equal to or exceeding 16 indicates that the service is unreachable.
preference: Service preference value. The value ranges from 1 to 255. A smaller number indicates a higher preference. By default, the preference value of the static service entries is 60 (configurable); the preference value of the dynamic service entries is fixed to 500.
all: Deletes all static service entries.
Description
Use the ipx service command to add a static service entry to the service information table.
Use the undo ipx service command to delete a static service entry from the service information table.
By default, no static service entry is available in the service information table.
Examples
# Add a static service entry: setting service type to 4, server name to FileServer, server network number to 130, node number to 0000-0a0b-abcd, hop count to 1 and server preference to 60.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ipx service 4 FileServer 130.0000-0a0b-abcd 451 hop 1 preference 60
3.1.24 ipx split-horizon
Syntax
ipx split-horizon
undo ipx split-horizon
View
VLAN interface view
Parameters
None
Description
Use the ipx split-horizon command to enable split-horizon on the current VLAN interface.
Use the undo ipx split-horizon command to disable split-horizon on the current VLAN interface.
By default, split-horizon is enabled.
Examples
# Enable split-horizon on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx split-horizon
3.1.25 ipx tick
Syntax
ipx tick ticks
undo ipx tick
View
VLAN interface view
Parameters
ticks: Delay, in ticks; ranging from 0 to 30,000. One tick is equal to 1/18 seconds.
Description
Use the ipx tick command to configure an IPX packet forwarding delay on a VLAN interface.
Use the undo ipx tick command to restore the default value.
By default, the forwarding delay on the VLAN interface is one tick.
Examples
# Configure VLAN-interface 2 to experience a delay of five ticks before forwarding IPX packets.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx tick 5
3.1.26 ipx update-change-only
Syntax
ipx update-change-only
undo ipx update-change-only
View
VLAN interface view
Parameters
None
Description
Use the ipx update-change-only command to enable triggered update on the current VLAN interface.
Use the undo ipx update-change-only command to disable triggered update on the current VLAN interface.
By default, triggered update of IPX is disabled.
Examples
# Enable triggered update of IPX on VLAN-interface 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] ipx update-change-only
3.1.27 reset ipx routing-table statistics protocol
Syntax
reset ipx routing-table statistics protocol { all | default | direct | rip | static }
View
User view
Parameters
all: Clears the statistics of all types of IPX routes.
default: Clears the statistics of default IPX routes.
direct: Clears the statistics of direct IPX routes.
rip: Clears the statistics of IPX RIP routes.
static: Clears the statistics of static IPX routes.
Description
Use the reset ipx routing-table statistics protocol command to clear the statistics on the specified type of IPX routes.
Related commands: display ipx routing-table statistics.
Examples
# Clear the statistics of the IPX static routes.
<H3C> reset ipx routing-table statistics protocol static
3.1.28 reset ipx statistics
Syntax
reset ipx statistics
View
User view
Parameters
None
Description
Use the reset ipx statistics command to clear IPX statistics.
Examples
# Clear IPX statistics.
<H3C> reset ipx statistics