7.2 Configuration
7.2.1 List of configuration commands
The following table describes configuration commands related to terminal connections and
remote operations.
Table 7-1 List of configuration commands
Command name
ftp-server
line vty
transport input
For details on configuration commands related to setting up VLANs and IPv4 interfaces,
see 17 VLANs and 26 IPv4 Interfaces.
7.2.2 Assigning an IP address to the Switch
Points to note
To access the Switch from a remote operation terminal, you must first set an IP
address in the interface to which the terminal is to connect.
Figure 7-2 Example of connecting with a remote terminal
Command examples
1.
(config)# vlan 100
(config-vlan)# exit
Configures VLAN ID 100 as a port-based VLAN.
2.
(config)# interface fastethernet 0/1
(config-if)# switchport mode access
(config-if)# switchport access vlan 100
(config-if)# exit
Switches to the Ethernet interface configuration mode for port 0/1. Sets port 0/1 for
the VLAN 100 access port.
3.
(config)# interface vlan 100
(config-if)# ip address 192.168.1.1 255.255.255.0
(config-if)# exit
Description
Permits access from remote operation terminals using FTP.
Permits Telnet remote access to a switch.
Regulates access from a remote operation terminal using the various
protocols.
7 Remote Login
77