
MES3000 Ethernet switch series
79
Example execution of commands
Create the first LACP protocol port group, that includes two Ethernet interfaces—3 and 4.
Group operation transfer rate—1000Mbps. Set the system priority 6, priorities 12 and 13 for
Ports 3 and 4 respectively.
console#
configure
console(config)#
lacp system-priority
6
console(config)#
interface port-channel 1
console(config-if)#
speed 1000
console(config-if)#
exit
console(config)#
interface gigabitethernet
1/0/3
console(config-if)#
speed 1000
console(config-if)#
channel-group
1
mode auto
console(config-if)#
lacp port-priority
12
console(config-if)#
exit
console(config)#
interface gigabitethernet
1/0/4
console(config-if)#
speed
1000
console(config-if)#
channel-group
1
mode
auto
console(config-if)#
lacp
port-priority
13
console(config-if)#
exit
5.12
IPv4 addressing configuration
This section describes commands, intended for configuring the IP addressing static parameters—IP
address, subnet mask, default gateway. For DNS and ARP protocol configuration, see the corresponding
configuration sections.
Ethernet interface configuration mode commands, port group interface, VLAN
Command line request in Ethernet interface, port group, VLAN interface configuration mode
appears as follows:
console(config-if)#
Table 5.54 —Ethernet interface configuration mode commands
Command
Value
Action
ip address
ip_address mask
[
gateway
|
prefix_length
]
prefix_length:(8..30)
Assign IP address, subnet mask, and default gateway address to
the specific interface.
no ip address [
ip_address
]
Remove interface IP address.
ip address dhcp
-
Obtain IP address for configured interface from DHCP server.
no ip address dhcp
Disable the obtaining of IP address via DHCP for the selected
interface.
ip unnumbered vlan
vlan_id
vlan_id: (1..4094)
Allow the configured interface to borrow the IP address for VLAN
interface
vlan_id.
Function applies to VLAN interfaces only.
no ip unnumbered vlan
Disable the address borrowing function.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.55 —Global configuration mode commands
Command
Value
Action
ip default-gateway
ip_address
-/default gateway is
Define the default gateway address for the switch.