26
CHAPTER 3
INTRODUCTION TO CLI
separate them.
2.
The uter curly bracket
means that this is a must
parameter. At leaset one
value should be specified.
| (Vertical
bar)
Use a vertical bar to separate
options.
{ { <address> <netmask> } |
{ dhcp [ fallback
<fallback_address>
<fallback_netmask> [ timeout
<fallback_timeout> ] ] } }
Enter IP address or use
DHCP to assign IP address
automatically.
3.6 Basic Configurations
This section introduces users how to change the default IP address to the desired one and save the current
running configurations to startup configurations. For detailed introductions to commands, please see section 3.7, 3.8,
3.9.
3.6.1 Configuring IPv4 Address
IP address: 192.168.0. 101
Subnet mask: 255.255.255.0
# config terminal
(config)# interface vlan 1
(config-if-vlan)# ip address 192.168.0.101 255.255.255.0
(config-if-vlan)# exit
(config)# exit
# show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 192.168.0.101/24 Manual DOWN
3.6.2 Enter Config Interface Mode
Enter Port 3’s Config Interface mode.
# config terminal
(config)# interface GigabitEthernet 1/3
(config-if)#
Note: 1/3 means Ethernet Interface 1, Port 3.
Enter Port 1
~
3’s Config Interface mode.
# config terminal
(config)# interface GigabitEthernet 1/1-3
(config-if)#
Note: 1/1-3 means Ethernet Interface 1, Port 1 to Port 3.
Enter Port 1
~
3 & Port 5’s Config Interface mode.
# config terminal
(config)# interface GigabitEthernet 1/1-3,5
(config-if)#
Note: 1/1-3,5 means Ethernet Interface 1, Port 1 to Port 3 and Port 5.
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......