Administrator Guide

184 Setting Basic Network Information
Configuring and Viewing Additional Network Information
Beginning in Privileged EXEC mode, use the following commands to
configure a DNS server, the default domain name, and a static host name-to-
address entry. Use the show commands to verify configured information and
to view dynamic host name mappings. Remember to assign VLANs to
interfaces.
show ip interface vlan 10 Verify the network information for VLAN 10.
show ipv6 interface vlan 10 Verify IPv6 network information for VLAN 10.
interface Gi1/0/24 Enter physical Interface Configuration mode for
the specified interface.
switchport access vlan 10 Allow access to the management VLAN over this
port.
exit Exit Interface Configuration mode.
Command Purpose
configure Enter Global Configuration mode.
ip domain-lookup Enable IP DNS-based host name-to-address translation.
ip name-server
ip_address
Enter the IP address of an available name server to use to
resolve host names and IP addresses.
Up to eight DNS servers may be configured.
ip domain-name
name
Define a default domain name to complete unqualified
host names.
ip host
name ip_address
Use to configure static host name-to-address mapping in
the host cache.
ip address-conflict-
detect run
Trigger the switch to run active address conflict detection
by sending gratuitous ARP packets for IPv4 addresses on
the switch.
CTRL + Z Exit to Privileged EXEC mode.
show ip interface vlan 1 Verify the network information for VLAN 1.
show hosts Verify the configured network information and view the
dynamic host mappings.
Command Purpose