Table Of Contents
show ip alias
show ip dns
show ip http
show ip permit
22
show ip alias
Use the show ip alias command to show a listing of defined IP aliases.
show ip alias [name]
Syntax Description
name
|
(Optional) Alias for a specific host.
|
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display a listing of all IP aliases:
Related Commands
clear ip alias
set ip alias
show ip dns
Use the show ip dns command to show the DNS name servers and the default DNS domain name.
show ip dns
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the DNS name servers and the default DNS domain name:
DNS is currently enabled.
The default DNS domain name is: cisco.com
Table 2-18 describes the fields in the show ip dns command output.
Table 2-18 show ip dns Command Output Fields
Field
|
Description
|
DNS is currently enabled
|
Status of whether DNS is enabled or disabled.
|
default DNS domain name
|
Default DNS domain name.
|
DNS name server
|
IP addresses or IP aliases of the configured DNS servers.
|
status
|
Primary DNS server.
|
Related Commands
clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server
show ip http
Use the show ip http command to view the HTTP configuration and the switch web interface information.
show ip http
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the HTTP configuration and web interface information if the web interface is supported:
HTTP Configuration Information:
Active Web Interface Session: 1
-----------------------------
Client IP Address: 192.20.20.45
Request URI: /all-engine.jar
This example shows the HTTP configuration and web interface information if the web interface is not supported:
HTTP Configuration Information:
Web Interface: Not Supported
Related Commands
set ip http port
set ip http server
show ip permit
Use the show ip permit command to display the IP permit list information.
show ip permit [noalias]
Syntax Description
noalias
|
(Optional) Keyword to force the display to show IP addresses, not IP aliases.
|
Defaults
This command has no default value.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the IP permit list information:
Console> (enable) show ip permit
Telnet permit list feature enabled.
Snmp permit list feature disabled.
Permit List Mask Access-Type
---------------- --------------- ---------------
172.16.0.0 255.255.0.0 telnet
172.20.52.32 255.255.255.224 snmp
Denied IP Address Last Accessed Time Type Telnet Count SNMP Count
----------------- ------------------ ------ ------------ ----------
172.100.101.104 01/20/97,07:45:20 SNMP 14 1430
172.187.206.222 01/21/97,14:23:05 Telnet 7 236
Table 2-19 describes the fields in the show ip permit command output.
Table 2-19 show ip permit Command Output Fields
Field
|
Description
|
IP permit list feature enabled
|
Status of whether the IP permit list feature is enabled or disabled.
|
Permit List
|
IP addresses and IP aliases that are allowed to access the switch.
|
Mask
|
Subnet masks of permitted IP addresses.
|
Denied IP Address
|
IP addresses and IP aliases that are not allowed to access the switch.
|
Last Accessed Time
|
Date and time of the last attempt to log in to the switch from the address.
|
Type
|
Login-attempt type.
|
Related Commands
clear ip permit
set ip permit
set snmp trap