Table Of Contents
show ip nhrp
show ip nhrp nhs
show ip nhrp summary
show ip nhrp traffic
show ip redirects
show ip route dhcp
show ip slb conns
show ip slb dfp
show ip slb reals
show ip slb serverfarms
show ip slb stats
show ip slb sticky
show ip slb vservers
show ip snat
show ip sockets
show ip tcp header-compression
show ip traffic
show ip wccp
show ip wccp web-caches
show standby
show standby capability
show standby delay
show standby internal
show standby redirect
show tcp statistics
show time-range ipc
show track
show vrrp
show vrrp interface
standby authentication
standby delay minimum reload
standby ip
standby mac-address
standby mac-refresh
standby name
standby preempt
standby priority
standby redirect
standby timers
standby track
standby use-bia
start-forwarding-agent
sticky
subnet prefix-length
synguard
show ip nhrp
To display Next Hop Resolution Protocol (NHRP) mapping information, use the show ip nhrp command in user EXEC or privileged EXEC mode.
show ip nhrp [dynamic | incomplete | static] [address | interface] [brief | detail] [purge]
Syntax Description
dynamic
|
(Optional) Displays dynamic (learned) IP-to-nonbroadcast multiaccess address (NBMA) mapping entries. Dynamic NHRP mapping entries are obtained from NHRP resolution/registration exchanges. See Table 23 for types, number ranges, and descriptions.
|
incomplete
|
(Optional) Displays information about NHRP mapping entries for which the IP-to-NBMA is not resolved. See Table 23 for types, number ranges, and descriptions.
|
static
|
(Optional) Displays static IP-to-NBMA address mapping entries. Static NHRP mapping entries are configured using the ip nhrp map command. See Table 23 for types, number ranges, and descriptions.
|
address
|
(Optional) Displays NHRP mapping entries for specified protocol addresses.
|
interface
|
(Optional) Displays NHRP mapping entries for the specified interface. See Table 23 for types, number ranges, and descriptions.
|
brief
|
(Optional) Displays a short output of the NHRP mapping.
|
detail
|
(Optional) Displays detailed information about NHRP mapping.
|
purge
|
(Optional) Displays NHRP purge information.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
10.3
|
This command was introduced.
|
Usage Guidelines
Table 23 lists the valid types, number ranges, and descriptions for the optional interface argument.
Note
The valid types can vary according to the platform and interfaces on the platform.
Table 23 Valid Types, Number Ranges, and Interface Description
Valid Types
|
Number Ranges
|
Interface Descriptions
|
async
|
1
|
Async
|
atm
|
0 to 6
|
ATM
|
bvi
|
1 to 255
|
Bridge-Group Virtual Interface
|
cdma-ix
|
1
|
CDMA Ix
|
ctunnel
|
0 to 2147483647
|
C-Tunnel
|
dialer
|
0 to 20049
|
Dialer
|
ethernet
|
0 to 4294967295
|
Ethernet
|
fastethernet
|
0 to 6
|
FastEthernet IEEE 802.3
|
lex
|
0 to 2147483647
|
Lex
|
loopback
|
0 to 2147483647
|
Loopback
|
mfr
|
0 to 2147483647
|
Multilink Frame Relay bundle
|
multilink
|
0 to 2147483647
|
Multilink-group
|
null
|
0
|
Null
|
port-channel
|
1 to 64
|
Port channel
|
tunnel
|
0 to 2147483647
|
Tunnel
|
vif
|
1
|
PGM multicast host
|
virtual-ppp
|
0 to 2147483647
|
Virtual PPP
|
virtual-template
|
1 to 1000
|
Virtual template
|
virtual-tokenring
|
0 to 2147483647
|
Virtual Token Ring
|
xtagatm
|
0 to 2147483647
|
Extended tag ATM
|
Examples
The following is sample output from the show ip nhrp detail command:
Router# show ip nhrp detail
10.1.1.1/8 via 10.2.1.1, Tunnel1 created 00:46:29, never expire
Type: static, Flags: used
10.1.1.2/8 via 10.2.1.2, Tunnel1 created 00:00:12, expire 01:59:47
Type: dynamic, Flags: authoritative unique nat registered used
10.1.1.4, Tunnel1 created 00:00:07, expire 00:02:57
Type: incomplete, Flags: negative
Table 24 describes the significant fields shown in the displays.
Table 24 show ip nhrp Field Descriptions
Field
|
Description
|
10.1.1.1/8
|
Target network.
|
via 10.2.1.1
|
Next Hop to reach the target network.
|
Tunnel1
|
Interface through which the target network is reached.
|
created 00:00:12
|
Length of time since the entry was created (hours:minutes:seconds).
|
expire 01:59:47
|
Time remaining until the entry expires (hours:minutes:seconds).
|
never expire
|
Indicates that static entries never expire.
|
Type
|
• dynamic—NHRP mapping is obtained dynamically. The mapping entry is created using information from the NHRP resolution and registrations.
• static—NHRP mapping is configured statically. Entries configured by the ip nhrp map command are marked static.
• incomplete—The NBMA address is not known for the target network.
|
NBMA address
|
Nonbroadcast multiaccess address of the next hop. The address format is appropriate for the type of network being used: ATM, Ethernet, Switched Multimegabit Data Service (SMDS), or multipoint tunnel.
|
Flags
|
• authoritative—Indicates that the NHRP information was obtained from the Next Hop Server or router that maintains the NBMA-to-IP address mapping for a particular destination.
• implicit—Indicates that the local node learned about the NHRP mapping entries through the source NHRP mapping information from an NHRP resolution request or reply.
• local—Indicates NHRP mapping entries that are for networks local to this router (that is, serviced by this router). These flag entries are created when this router answers an NHRP resolution request that has this information and is used to store the tunnel IP address of all the other NHRP nodes to which it has sent this information. If for some reason this router loses access to this local network (that is, it can no longer service this network), it sends an NHRP purge message to all remote NHRP nodes that are listed in the "local" entry (in show ip nhrp detail command output) to tell the remote nodes to clear this information from their NHRP mapping tables. This local mapping entry times out of the local NHRP mapping database at the same time that this information (from the NHRP resolution reply) would time out of the NHRP mapping database on the remote NHRP nodes.
• nat—Indicates that the remote node (NHS client) supports the new NHRP NAT extension for dynamic spoke-spoke tunnels to/from spokes behind a NAT router. This marking does not indicate that the spoke (NHS client) is behind a NAT router.
|
Flags (continued)
|
• negative—For negative caching, indicates that the requested NBMA mapping could not be obtained.
• (no socket)—Indicates that the NHRP mapping entries will not trigger IPsec to set up encryption because data traffic does not need to use this tunnel. Later, if data traffic needs to use this tunnel, the flag will change from a "(no socket)" to a "(socket)" entry and IPsec will be triggered to set up the encryption for this tunnel. Local and implicit NHRP mapping entries are always initially marked as "(no socket)."
• registered—Indicates that the mapping entry was created in response to an NHRP registration request. Although registered mapping entries are dynamic entries, they may not be refreshed through the "used" mechanism. Instead, these entries are refreshed by another NHRP registration request with the same Tunnel IP to NBMA IP address mapping. The Next Hop Client (NHC) regularly sends NHRP registration requests to keep these mappings from expiring.
• router—Indicates that NHRP mapping entries for a remote router (that is accessing a network or host behind the remote router) are marked with the router flag.
• unique—Indicates that an NHRP mapping entry cannot be overwritten by a mapping entry that has the same IP address and a different NBMA address. This prohibition is necessary because the spoke'soutside IP (NBMA) address may change at any time. If the unique flag is set, the spoke has to wait for the mapping entry on the hub to time out before it can register its new (NBMA) mapping. The NHRP registration request packet has the unique flag set by default.
• used—Indicates that the mapping entry is being used. The mapping database is checked every 60 seconds. If the used flag is set and more than 120 seconds remain until expire time, the used flag is cleared. If fewer than 120 seconds are left, this mapping entry is refreshed by the transmission of another NHRP resolution request.
|
Related Commands
Command
|
Description
|
ip nhrp map
|
Statically configures the IP-to-NBMA address mapping of IP destinations connected to an NBMA network.
|
show ip nhrp multicast
|
Displays NHRP multicast mapping information.
|
show ip nhrp nhs
|
Displays NHRP Next Hop Server information.
|
show ip nhrp summary
|
Displays NHRP mapping summary information.
|
show ip nhrp traffic
|
Displays NHRP traffic statistics.
|
show ip nhrp nhs
To display Next Hop Resolution Protocol (NHRP) next hop server (NHS) information, use the show ip nhrp nhs command in user EXEC or privileged EXEC mode.
show ip nhrp nhs [interface] [detail]
Syntax Description
interface
|
(Optional) Displays NHS information currently configured on the interface. See Table 25 for types, number ranges, and descriptions.
|
detail
|
(Optional) Displays detailed NHS information.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
10.3
|
This command was introduced.
|
Usage Guidelines
Table 25 lists the valid types, number ranges, and descriptions for the optional interface argument.
Note
The valid types can vary according to the platform and interfaces on the platform.
Table 25 Valid Types, Number Ranges, and Interface Descriptions
Valid Types
|
Number Ranges
|
Interface Descriptions
|
async
|
1
|
Async
|
atm
|
0 to 6
|
ATM
|
bvi
|
1 to 255
|
Bridge-Group Virtual Interface
|
cdma-ix
|
1
|
CDMA Ix
|
ctunnel
|
0 to 2147483647
|
C-Tunnel
|
dialer
|
0 to 20049
|
Dialer
|
ethernet
|
0 to 4294967295
|
Ethernet
|
fastethernet
|
0 to 6
|
FastEthernet IEEE 802.3
|
lex
|
0 to 2147483647
|
Lex
|
loopback
|
0 to 2147483647
|
Loopback
|
mfr
|
0 to 2147483647
|
Multilink Frame Relay bundle
|
multilink
|
0 to 2147483647
|
Multilink-group
|
null
|
0
|
Null
|
port-channel
|
1 to 64
|
Port channel
|
tunnel
|
0 to 2147483647
|
Tunnel
|
vif
|
1
|
PGM multicast host
|
virtual-ppp
|
0 to 2147483647
|
Virtual PPP
|
virtual-template
|
1 to 1000
|
Virtual template
|
virtual-tokenring
|
0 to 2147483647
|
Virtual Token Ring
|
xtagatm
|
0 to 2147483647
|
Extended tag ATM
|
Examples
The following is sample output from the show ip nhrp nhs detail command:
Router# show ip nhrp nhs detail
5.1.1.1 E req-sent 128 req-failed 1 repl-recv 0
Pending Registration Requests:
Registration Request: Reqid 1, Ret 64 NHS 5.1.1.1
Table 26 describes the significant field shown in the display.
Table 26 show ip nhrp nhs Field Descriptions
Field
|
Description
|
Tunnel1
|
Interface through which the target network is reached.
|
Related Commands
Command
|
Description
|
ip nhrp map
|
Statically configures the IP-to-NBMA address mapping of IP destinations connected to an NBMA network.
|
show ip nhrp
|
Displays NHRP mapping information.
|
show ip nhrp summary
|
Displays NHRP mapping summary information.
|
show ip nhrp traffic
|
Displays NHRP traffic statistics.
|
show ip nhrp summary
To display Next Hop Resolution Protocol (NHRP) mapping summary information, use the show ip nhrp summary command in user EXEC or privileged EXEC mode.
show ip nhrp summary
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
10.3
|
This command was introduced.
|
Examples
The following is sample output from the show ip nhrp summary command:
Router# show ip nhrp summary
IP NHRP cache 1 entry, 256 bytes
1 static 0 dynamic 0 incomplete
Table 27 describes the significant field shown in the display.
Table 27 show ip nhrp summary Field Descriptions
Field Output
|
Description
|
dynamic
|
NHRP mapping is obtained dynamically. The mapping entry is created using information from the NHRP resolution and registrations
|
static
|
NHRP mapping is configured statically. Entries configured by the ip nhrp map command are marked static.
|
incomplete
|
NBMA address is not known for the target network.
|
Related Commands
Command
|
Description
|
ip nhrp map
|
Statically configures the IP-to-NBMA address mapping of IP destinations connected to an NBMA network.
|
show ip nhrp
|
Displays NHRP mapping information.
|
show ip nhrp nhs
|
Displays NHRP Next Hop Server information.
|
show ip nhrp traffic
|
Displays NHRP traffic statistics.
|
show ip nhrp traffic
To display Next Hop Resolution Protocol (NHRP) traffic statistics, use the show ip nhrp traffic EXEC command.
show ip nhrp traffic
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Release
|
Modification
|
10.3
|
This command was introduced.
|
Examples
The following is sample output from the show ip nhrp traffic command:
Router# show ip nhrp traffic
request packets received: 4
reply packets received: 2
register packets received: 0
error packets received: 0
Table 28 describes the significant fields shown in the display.
Table 28 show ip nhrp traffic Field Descriptions
Field
|
Description
|
Tunnel 0
|
Interface type and number.
|
request packets sent
|
Number of NHRP request packets originated from this station.
|
request packets received
|
Number of NHRP request packets received by this station.
|
reply packets sent
|
Number of NHRP reply packets originated from this station.
|
reply packets received
|
Number of NHRP reply packets received by this station.
|
register packets sent
|
Number of NHRP register packets originated from this station. Currently, our routers and access servers do not send register packets, so this value is 0.
|
register packets received
|
Number of NHRP register packets received by this station. Currently, our routers or access servers do not send register packets, so this value is 0.
|
error packets sent
|
Number of NHRP error packets originated by this station.
|
error packets received
|
Number of NHRP error packets received by this station.
|
show ip redirects
To display the address of a default gateway (router) and the address of hosts for which an Internet Control Message Protocol (ICMP) redirect message has been received, use the show ip redirects command in user EXEC or privileged EXEC mode.
show ip redirects
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
10.0
|
This command was introduced.
|
Usage Guidelines
This command displays the default router (gateway) as configured by the ip default-gateway command.
The ip mtu command enables the router to send ICMP redirect messages.
Examples
The following is sample output from the show ip redirects command:
Router# show ip redirects
Default gateway is 172.89.80.29
Host Gateway Last Use Total Uses Interface
172.16.1.111 172.16.80.240 0:00 9 Ethernet0
172.16.1.4 172.16.80.240 0:00 4 Ethernet0
Related Commands
Command
|
Description
|
ip default-gateway
|
Defines a default gateway (router) when IP routing is disabled.
|
ip mtu
|
Enables the sending of ICMP redirect messages if the Cisco IOS software is forced to resend a packet through the same interface on which it was received.
|
show ip route dhcp
To display the routes added to the routing table by the Cisco IOS Dynamic Host Configuration Protocol (DHCP) server and relay agent, use the show ip route dhcp command in privileged EXEC configuration mode.
show ip route [vrf vrf-name] dhcp [ip-address]
Syntax Description
vrf
|
(Optional) Specifies VPN routing and forwarding instance.
|
vrf-name
|
(Optional) Name of the VRF.
|
ip-address
|
(Optional) Address about which routing information should be displayed.
|
Defaults
No default behavior or values
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.2
|
This command was introduced.
|
Usage Guidelines
To display information about global routes, use the show ip route dhcp command. To display routes in the VRF routing table, use the show ip route vrf vrf-name dhcp command.
Examples
The following is sample output from the show ip route dhcp command when entered without an address. This command lists all routes added by the Cisco IOS DHCP server and relay agent.
Router# show ip route dhcp
10.5.5.5.56/32 is directly connected, ATM0.2
10.5.5.217/32 is directly connected, ATM0.21
The following is sample output from the show ip route dhcp command when an address is specified. The output shows the details of the address with the server address (who assigned it) and the lease expiration time.
Router# show ip route dhcp 55.5.5.217
10.5.5.217 is directly connected, ATM0.2
DHCP Server: 49.9.9.10 Lease expires at Nov 08 2001 01:19 PM
The following is sample output from the show ip route vrf vrf-name dhcp command when entered without an address:
Router# show ip route vrf red dhcp
10.5.5.218/32 is directly connected, ATM0.2
The following is sample output from the show ip route vrf vrf-name dhcp command when an address is specified. The output shows the details of the address with the server address (who assigned it) and the lease expiration time.
Router# show ip route vrf red dhcp 10.5.5.218
10.5.5.218/32 is directly connected, ATM0.2
DHCP Server: 10.9.9.10 Lease expires at Nov 08 2001 03:15PM
Related Commands
Command
|
Description
|
clear ip route dhcp
|
Removes routes from the routing table added by the DHCP server and relay agent for the DHCP clients on unnumbered interfaces.
|
show ip slb conns
To display the active IOS SLB connections, use the show ip slb conns privileged EXEC command.
show ip slb conns [vserver virtserver-name] [client ip-address] [detail]
Syntax Description
vserver
|
(Optional) Displays only those connections associated with a particular virtual server.
|
virtserver-name
|
(Optional) Name of the virtual server to be monitored.
|
client
|
(Optional) Displays only those connections associated with a particular client IP address.
|
ip-address
|
(Optional) IP address of the client to be monitored.
|
detail
|
(Optional) Displays detailed connection information.
|
Defaults
If no options are specified, the command displays output for all active IOS SLB connections.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows IOS SLB active connection data:
Router# show ip slb conns
vserver prot client real state
----------------------------------------------------------------------------
TEST TCP 10.150.72.183:328 10.80.90.25:80 INIT
TEST TCP 10.250.167.226:423 10.80.90.26:80 INIT
TEST TCP 10.234.60.239:317 10.80.90.26:80 ESTAB
TEST TCP 10.110.233.96:747 10.80.90.26:80 ESTAB
TEST TCP 10.162.0.201:770 10.80.90.30:80 CLOSING
TEST TCP 10.22.225.219:995 10.80.90.26:80 CLOSING
TEST TCP 10.2.170.148:169 10.80.90.30:80 ZOMBIE
Table 29 describes the significant fields shown in the display.
Table 29 show ip slb conns Field Descriptions
Field
|
Description
|
vserver
|
Name of the virtual server whose connections are being monitored and displayed. Information about each connection is displayed on a separate line.
|
prot
|
Protocol being used by the connection.
|
client
|
Client IP address being used by the connection.
|
real
|
Real IP address of the connection.
|
state
|
Current state of the connection:
• CLOSING—IOS SLB TCP connection deactivated (awaiting a delay timeout before cleaning up the connection).
• ESTAB—IOS SLB TCP connection processed a SYN-SYN/ACK exchange between the client and server.
• FINCLIENT—IOS SLB TCP connection processed a FIN from the client.
• FINSERVER—IOS SLB TCP connection processed a FIN from the server.
• INIT—Initial state of the IOS SLB TCP connection.
• SYNBOTH—IOS SLB TCP connection processed one or more TCP SYNs from both the client and the server.
• SYNCLIENT—IOS SLB TCP connection processed one or more client TCP SYNs.
• SYNSERVER—IOS SLB TCP connection processed one or more server 1 TCP SYNs.
• ZOMBIE—Destruction of the IOS SLB TCP connection failed, possibly because of bound flows. Destruction will proceed when the flows are unbound.
|
show ip slb dfp
To display DFP manager and agent information such as passwords, timeouts, retry counts, and weights, use the show ip slb dfp privileged EXEC command.
show ip slb dfp [agent ip-address port-number | detail | weights]
Syntax Description
agent
|
(Optional) Displays information about an agent.
|
ip-address
|
(Optional) Agent IP address.
|
port-number
|
(Optional) Agent port number.
|
detail
|
(Optional) Displays all data available.
|
weights
|
(Optional) Displays information about weights assigned to real servers for load balancing.
|
Defaults
If no options are specified, the command displays summary information.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows IOS SLB DFP data:
Router# show ip slb dfp detail
Current passwd <none> Pending passwd <none>
% No DFP Agents configured
Table 30 describes the fields shown in the display.
Table 30 show ip slb dfp detail Field Descriptions
Field
|
Description
|
DFP Manager
|
Indicates that the following information applies to the DFP manager.
|
Current passwd
|
Current DFP password for MD5 authentication.
|
Pending passwd
|
Pending new DFP password for MD5 authentication.
|
Passwd timeout
|
Delay period, in seconds, during which both the current password and the pending password are accepted.
|
Unexpected errors
|
Number of unexpected errors encountered by th DFP manager.
|
No DFP Agents configured
|
Indicates that there are no DFP agents associated with th DFP manager.
|
Router# show ip slb dfp weights
Real IP Address 10.0.10.10 Protocol TCP Port 22 Bind_ID 111 Weight 111
Set by Agent 172.16.2.3458490 at 132241 UTC 12/03/99
Real IP Address 10.17.17.17 Protocol TCP Port www Bind_ID 1 Weight 1
Set by Agent 172.16.2.3458490 at 132241 UTC 12/03/99
Real IP Address 10.68.68.68 Protocol TCP Port www Bind_ID 4 Weight 4
Set by Agent 172.16.2.3458490 at 132241 UTC 12/03/99
Real IP Address 10.85.85.85 Protocol TCP Port www Bind_ID 5 Weight 5
Set by Agent 172.16.2.3458490 at 132241 UTC 12/03/99
Table 31 describes the fields shown in the display.
Table 31 show ip slb dfp weights Field Descriptions
Field
|
Description
|
Real IP Address
|
IP address of the real server for which weight is reported.
|
Protocol
|
Protocol used for the port.
|
Port
|
Port for which the following bind ID is being reported.
|
Bind_ID
|
Bind ID of this instance of the real server.
|
Weight
|
Weight calculated for the real IP address.
|
Set by Agent
|
Agent that set the weight, and the date and time the weight was set.
|
Current passwd:NONE Pending passwd:NONE
Agent IP Port Timeout Retry Count Interval
---------------------------------------------------------------
172.16.2.34 61936 0 0 180 (Default)
Table 32 describes the significant fields shown in the display.
Table 32 show ip slb dfp Field Descriptions
Field
|
Description
|
Agent IP
|
IP address of the agent about which information is being displayed.
|
Port
|
Port number of the agent.
|
Timeout
|
Time period (in seconds) during which the DFP manager must receive an update from the DFP agent. A value of 0 means there is no timeout.
|
Retry Count
|
Number of times the DFP manager attempts to establish the TCP connection to the DFP agent. A value of 0 means there are infinite retries.
|
Interval
|
Interval (in seconds) between retries.
|
show ip slb reals
To display information about the real servers, use the show ip slb reals privileged EXEC command.
show ip slb reals [vserver virtserver-name] [detail]
Syntax Description
vserver
|
(Optional) Displays information about only those real servers associated with a particular virtual server.
|
virtserver-name
|
(Optional) Name of the virtual server.
|
detail
|
(Optional) Displays detailed information.
|
Defaults
If no options are specified, the command displays information about all real servers.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows IOS SLB real server data:
Router# show ip slb reals
real farm name weight state conns
--------------------------------------------------------------------
10.80.2.112 FRAG 8 OUTOFSERVICE 0
10.80.5.232 FRAG 8 OPERATIONAL 0
10.80.15.124 FRAG 8 OUTOFSERVICE 0
10.254.2.2 FRAG 8 OUTOFSERVICE 0
10.80.15.124 LINUX 8 OPERATIONAL 0
10.80.15.125 LINUX 8 OPERATIONAL 0
10.80.15.126 LINUX 8 OPERATIONAL 0
10.80.90.25 SRE 8 OPERATIONAL 220
10.80.90.26 SRE 8 OPERATIONAL 216
10.80.90.27 SRE 8 OPERATIONAL 216
10.80.90.28 SRE 8 TESTING 1
10.80.90.29 SRE 8 OPERATIONAL 221
10.80.90.30 SRE 8 OPERATIONAL 224
10.80.30.3 TEST 100 READY_TO_TEST 0
10.80.30.4 TEST 100 READY_TO_TEST 0
10.80.30.5 TEST 100 READY_TO_TEST 0
10.80.30.6 TEST 100 READY_TO_TEST 0
Table 33 describes significant fields shown in the display.
Table 33 show ip slb reals Field Descriptions
Field
|
Description
|
real
|
IP address of the real server about which information is being displayed. Used to identify each real server. Information about each real server is displayed on a separate line.
|
server farm
|
Name of the server farm to which the real server is associated.
|
weight
|
Weight assigned to the real server. The weight identifies the capacity of the real server, relative to other real servers in the server farm.
|
state
|
Current state of the real server:
• DFP_THROTTLED—DFP agent sent a weight of 0 for this real server (send no further connections to this real server).
• FAILED—Removed from use by the predictor algorithms; retry timer started.
• MAXCONNS—Maximum number of simultaneous active connections reached.
• OPERATIONAL—Functioning properly.
• OUTOFSERVICE—Removed from the load-balancing predictor lists.
• READY_TO_TEST—Queued for testing.
• TESTING—Queued for assignment.
|
show ip slb serverfarms
To display information about the server farms, use the show ip slb serverfarms privileged EXEC command.
show ip slb serverfarms [name serverfarm-name] [detail]
Syntax Description
name
|
(Optional) Displays information about only a particular server farm.
|
serverfarm-name
|
(Optional) Name of the server farm.
|
detail
|
(Optional) Displays detailed server farm information.
|
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows IOS SLB server farm data:
router# show ip slb serverfarms
server farm predictor reals bind id
-------------------------------------------------
Table 34 describes the significant fields shown in the display.
Table 34 show ip slb serverfarms Field Descriptions
Field
|
Description
|
server farm
|
Name of the server farm about which information is being displayed. Information about each server farm is displayed on a separate line.
|
predictor
|
Type of load-balancing algorithm (ROUNDROBIN or LEASTCONNS) used by the server farm.
|
reals
|
Number of real servers configured in the server farm.
|
bind id
|
Bind ID configured on the server farm.
|
show ip slb stats
To display IOS SLB statistics, use the show ip slb stats privileged EXEC command.
show ip slb stats
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows IOS SLB statistics:
router# show ip slb stats
Pkts via normal switching: 530616
Pkts via special switching:1812710
Connections Created: 783774
Connections Established: 633418
Connections Destroyed: 782752
Connections Reassigned: 0
Table 35 describes the significant fields shown in the display.
Table 35 show ip slb stats Field Descriptions
Field
|
Description
|
Pkts via normal switching
|
Number of packets handled by the IOS SLB feature via normal switching since the last time counters were cleared.
|
Pkts via special switching
|
Number of packets handled by the IOS SLB feature via special switching since the last time counters were cleared.
|
Connections Created
|
Number of connections created since the last time counters were cleared.
|
Connections Established
|
Number of connections created that have become established since the last time counters were cleared.
|
Connections Destroyed
|
Number of connections destroyed since the last time counters were cleared.
|
Connections Reassigned
|
Number of connections reassigned to a different real server since the last time counters were cleared.
|
Zombie Count
|
Number of connections currently pending destruction, awaiting a timeout or some other condition to be met.
|
show ip slb sticky
To display the entries in the IOS SLB sticky database, use the show ip slb sticky privileged EXEC command.
show ip slb sticky [client ip-address]
Syntax Description
client
|
(Optional) Displays only those sticky database entries associated with a particular client IP address.
|
ip-address
|
(Optional) IP address of the client.
|
Defaults
If no options are specified, the command displays information about all virtual servers.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows the entries in the IOS SLB sticky database:
router# show ip slb sticky
client group real conns ftp-cntrl
--------------------------------------------------------------
10.10.2.12 4097 10.10.3.2 1 0
Table 36 describes the significant fields shown in the display.
Table 36 show ip slb sticky Field Descriptions
Field
|
Description
|
client
|
Client IP address that is bound to this sticky assignment.
|
group
|
Group ID for this sticky assignment.
|
real
|
Real server used by all clients connecting with the client IP address detailed on this line.
|
conns
|
Number of connections currently sharing this sticky assignment.
|
ftp-cntrl
|
Number of FTP control connections currently using this sticky assignment.
|
show ip slb vservers
To display information about the virtual servers, use the show ip slb vservers privileged EXEC command.
show ip slb vservers [name virtserver-name] [detail]
Syntax Description
name
|
(Optional) Displays information about only this virtual server.
|
virtserver-name
|
(Optional) Name of the virtual server.
|
detail
|
(Optional) Displays detailed virtual server information.
|
Defaults
If no options are specified, the command displays information about all virtual servers.
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
This command was introduced.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
Examples
The following example shows virtual server data:
router# show ip slb vservers
slb vserver prot virtual state conns
---------------------------------------------------------------------
TEST TCP 10.80.254.3:80 OPERATIONAL 1013
TEST21 TCP 10.80.254.3:21 OUTOFSERVICE 0
TEST23 TCP 10.80.254.3:23 OUTOFSERVICE 0
<