Users Guide

Table Of Contents
208 Setting Basic Network Information
Configuring and Viewing Additional Network Information
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.
ip default-gateway ip_address Configure the IPv4 default gateway. Only one
IPv4 gateway may be configured per switch.
ipv6 gateway ip_address Configure the default gateway for IPv6. Only one
IPv6 gateway may be configured per switch.
exit Exit to Privileged Exec mode.
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.
Command Purpose