User Manual UMN:CLI
V5808
75
4.3 Configuring Interface
The Layer 2 switches only see the MAC address in an incoming packet to determine
where the packet needs to come from/to and which ports should receive the packet. The
Layer 2 switches do not need IP addresses to transmit packets. However, if you want to
access to the V5808 from a remote place with TCP/IP through SNMP or telnet, it requires
an IP address.
You can enable the interface to communicate with another network device on the network.
4.3.1 Enabling Interface
To assign an IP address to an interface, you need to enable the interface first. If the
interface is not enabled, you cannot access it from a remote place, even though an IP
address has been assigned.
To configure an interface, you need to open Interface Configuration mode first. To open
Interface Configuration mode, use the following command.
Opens Interface Configuration mode to configure a
specified interface.
To enable/disable an interface, use the following command.
The following is an example of enabling the interface 1.
SWITCH# configure terminal
SWITCH(config)# interface 1
SWITCH(config-if)# no shutdown
SWITCH(config-if)#
To display if an interface is enabled, use the show running-config command.
4.3.2 Assigning IP Address to Network Interface
After enabling an interface, assign an IP address. To assign an IP address to a network
interface, use the following command.
Assigns a primary IP address to an interface.