EasyManua.ls Logo

Cisco 300 Series

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IP Addressing Commands
OL-32830-01 Command Line Interface Reference Guide 452
22
switchxxxxxx(config)#
interface vlan
1
switchxxxxxx(config-if)#
ip address
131.108.1.27 255.255.255.0
Example 2. The following example configures 3 overlapped IP addresses.
switchxxxxxx(config)#
interface vlan
1
switchxxxxxx(config-if)#
ip address
1.1.1.1 255.0.0.0
switchxxxxxx(config)#
exit
switchxxxxxx(config)#
interface vlan
2
switchxxxxxx(config-if)#
ip address
1.2.1.1 255.255.0.0
switchxxxxxx(config)#
This IP address overlaps IP address 1.1.1.1/8 on vlan1,
are you sure? [Y/N]Y
switchxxxxxx(config)#
exit
switchxxxxxx(config)#
interface vlan
3
switchxxxxxx(config-if)#
ip address
1.3.1.1 255.255.0.0
switchxxxxxx(config)#
This IP address overlaps IP address 1.1.1.1/8 on vlan1,
are you sure? [Y/N]Y
switchxxxxxx(config)#
exit
22.2 ip address dhcp
Use the ip address dhcp Interface Configuration (Ethernet, VLAN, Port-channel)
mode command to acquire an IP address for an Ethernet interface from the
Dynamic Host Configuration Protocol (DHCP) server. Use the no form of this
command to release an acquired IP address.
Syntax
ip address dhcp
no ip address dhcp
Parameters
N/A

Table of Contents

Other manuals for Cisco 300 Series

Related product manuals