INS_CNGE3FE8MS[POE][HO] Rev. 11.7.17 PAGE 251
INSTRUCTION MANUAL CNGE3FE8MS[POE][HO]
TECH SUPPORT: 1.888.678.9427
my-device(config)# interface vlan 1
my-device(config-if-vlan)# ip address dhcp fallback 192.168.10.2 255.255.0.0
my-device(config-if-vlan)# exit
my-device(config)#
Notice how the prompt changes; the interface vlan 1 command enters a configuration sub-mode
that allows, among other things, configuration of IP address.
Also note that IP addresses can only be assigned to VLAN interfaces.
After configuration is complete, the resulting IP address can be inspected. As seen below, the
DHCP negotiation succeeded and the device obtained an address:
my-device# show ip interface brief Vlan Address Method Status
1 192.168.10.17/16 DHCP UP my-device#
show ip interface brief displays all configured and active IP interfaces. The status should be UP. If it
isn’t, then the reason could be that there is no link on any port.
If DHCP negotiation failed, then the fallback IP of 192.168.10.2/255.255.0.0 would be assigned.
Now the most basic system configuration is complete. Management connectivity can be verified
by issuing a ping command to a well-known external IP address:
my-device# ping ip 192.168.10.1
PING server 192.168.10.1, 56 bytes of data.
64 bytes from 192.168.10.1: icmp_seq=0, time=0ms
64 bytes from 192.168.10.1: icmp_seq=1, time=0ms
64 bytes from 192.168.10.1: icmp_seq=2, time=0ms
64 bytes from 192.168.10.1: icmp_seq=3, time=0ms
64 bytes from 192.168.10.1: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
my-device#
If the ping is successful, network logins can now be performed through telnet or ssh to the
address on VLAN interface 1, 192.168.10.17 (or 192.168.10.2).