protocol mlag
|
|
protocol mlag
Enables MLAG functionality and unhides the MLAG commands.
|
|
|
Syntax Description |
N/A |
|
|
Default |
no protocol mlag |
|
|
Configuration Mode |
config |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config) # protocol mlag |
|
|
Related Commands |
|
|
|
Notes |
|
|
mlag
|
|
mlag Enters MLAG configuration mode. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config) # mlag |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
|
|
shutdown
|
|
shutdown
Disables MLAG.
|
|
|
Syntax Description |
N/A |
|
|
Default |
Disabled |
|
|
Configuration Mode |
config mlag |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config mlag) # no shutdown |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
This parameter must be similar in all MLAG peers |
|
interface mlag-port-channel
|
|
interface mlag-port-channel <if-number>
Creates an MLAG interface.
|
|
|
Syntax Description |
if-number |
Interface number
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config) # interface mlag-port-channel 1switch (config interface mlag-port-channel 1) # |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
|
|
ipl
|
|
ipl <ipl-id>
Sets this LAG as an IPL port.
|
|
|
Syntax Description |
ipl-id |
IPL ID (only “1” IPL port is supported) |
|
Default |
no ipl |
|
|
Configuration Mode |
config interface port-channel |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config interface port-channel 1)# ipl 1 |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
|
|
ipl peer-address
|
|
ipl <ipl-id> peer-address <ip-address>
Maps a VLAN interface to be used for an IPL LAG and sets the peer IP address of the IPL peer port.
|
|
|
Syntax Description |
ipl-id |
IPL ID (only “1” IPL port is supported) |
|
ip-address |
IPv4 address |
|
|
Default |
N/A |
|
|
Configuration Mode |
config interface vlan |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config interface vlan 1)# ipl 1 peer-address 10.10.10.10 |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
|
|
keep-alive-interval
|
|
keep-alive-interval <value>
Configures the interval during which keep-alive messages are issued between the MLAG switches.
|
|
|
Syntax Description |
value |
Time in seconds
|
|
Default |
1 second |
|
|
Configuration Mode |
config mlag |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config mlag) # keep-alive-interval 1 |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
This parameter must be similar on all MLAG peers |
|
mlag-channel-group mode
|
|
mlag-channel-group <if-number> mode {on | active | passive}
Binds an Ethernet port to the MLAG port-channel (MPO).
|
|
|
Syntax Description |
if-number |
Interface number
|
|
on |
Binds to static MLAG |
|
|
active |
Sets MLAG LAG in LACP active mode |
|
|
passive |
Sets MLAG LAG in LACP passive mode |
|
|
Default |
N/A |
|
|
Configuration Mode |
config interface ethernet |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config interface ethernet 1/1)# mlag-channel-group 1 mode on |
|
|
Related Commands |
protocol mlag |
|
|
Notes |
|
|
mlag-vip
|
|
mlag-vip <domain-name> ip [<ip-address> {<masklen> | netmask> [force]]
Sets the VIP domain and IP address for MLAG.
|
|
|
Syntax Description |
domain-name |
MLAG group name |
|
<ip-address> |
IP address (IPv4 only) |
|
|
<masklen> |
Format example: /24
|
|
|
<netmask> |
Format example: 255.255.255.0
|
|
|
force |
Forces the IP address if another IP is already configured |
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.3.4500 |
|
|
3.8.2000 |
Updated notes |
|
|
Example |
switch (config)# mlag-vip my-mlag-domain ip 10.10.10.254/24 |
|
|
Related Commands |
|
|
|
Notes |
|
|
reload-delay
|
|
reload-delay <value>
Specifies the amount of time that MLAG ports are disabled after system reboot.
|
|
|
Syntax Description |
value |
Time in seconds
|
|
Default |
30 seconds |
|
|
Configuration Mode |
config mlag |
|
|
History |
3.3.4500 |
|
|
Example |
switch (config mlag) # reload-delay 30 |
|
|
Related Commands |
|
|
|
Notes |
|
|
system-mac
|
|
system-mac <virtual-mac>
Configures virtual system MAC.
|
|
|
Syntax Description |
virtual-mac |
MAC address |
|
Default |
Default is calculated according to the MLAG-VIP name, using the base MAC as VRRP MAC prefix (00:00:5e:00:01:xx) with the suffix hashed from the mlag-vip name 0...255. |
|
|
Configuration Mode |
config mlag |
|
|
History |
3.4.2008 |
|
|
Example |
switch (config mlag) # system-mac 00:00:5e:00:01:5d |
|
|
Related Commands |
|
|
|
Notes |
This parameter must be configured the same in all MLAG peers |
|
upgrade-timeout
|
|
upgrade-timeout <time>
Configures the time period during which an MLAG slave keeps its ports active while in upgrading state.
|
|
|
Syntax Description |
time |
Time in minutes
|
|
Default |
60 |
|
|
Configuration Mode |
config mlag |
|
|
History |
3.4.2008 |
|
|
Example |
switch (config mlag) # upgrade-timeout 60 |
|
|
Related Commands |
|
|
|
Notes |
This parameter must be configured the same in all MLAG peers |
|
show mlag
|
|
show mlag Displays MLAG configuration and status. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History
|
3.3.4500 |
|
|
3.3.5006 |
Updated example |
|
|
3.4.2008 |
Updated example with system MAC and upgrade timeout |
|
|
3.6.6102 |
Updated example |
|
|
Example |
||
|
switch (config)# show mlag Admin status: EnabledOperational status: UpReload-delay: 1 secKeepalive-interval: 30 secUpgrade-timeout: 60 minSystem-mac: 00:00:5e:00:01:5dMLAG Ports Configuration Summary:Configured: 1 Disabled: 0 Enabled: 1MLAG Ports Status Summary: Inactive: 0 Active-partial: 0 Active-full: 1MLAG IPLs Summary: ID Group Vlan Operational Local Peer Up Time Toggle Counter Port-Channel Interface State IP address IP address ------------------------------------------------------------------------------------------------------------ 1 Po1 1 Up 10.10.10.1 10.10.10.2 0 days 00:00:09 5MLAG Members Summary:System-id State Hostname-----------------------------------f4:52:14:2d:9b:88 Up <SwitchB>f4:52:14:2d:9b:08 Up SwitchA |
||
|
Related Commands |
|
|
|
Notes |
If run in the middle of an upgrade, the following message will appear in the output: *Upgrading* <hostname> --> *Cluster upgrade in progress* |
|
show mlag-vip
|
|
show mlag-vip Displays MLAG VIP configuration and status. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.3.4500 |
|
|
3.6.6102 |
Updated example |
|
|
Example |
switch (config) # show mlag-vipMLAG-VIP MLAG group name: Test MLAG VIP address: 10.10.10.3/24 Active nodes: 2 --------------------------------------------------------------Hostname VIP-State IP Address--------------------------------------------------------------SwitchA master 10.10.10.1SwitchB standby 10.10.10.2 |
|
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces mlag-port-channel
|
|
show interfaces mlag-port-channel [<if-number>] Displays the MLAG LAG configuration and status. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History
|
3.3.4500 |
|
|
3.6.1002 |
Added “error packets” counter to Tx |
|
|
3.6.5000 |
Added telemetry to output |
|
|
3.6.6000 |
Added “forwarding mode” to output |
|
|
3.6.8008 |
Updated example |
|
|
3.9.1000 |
Updated example |
|
|
Example |
||
|
switch (config)# show interfaces mlag-port-channel 11 Mpo11: Admin state : Disabled Operational state : Down Description : N/A Mac address : N/A MTU : 1500 bytes (Maximum packet size 1522 bytes) lacp-individual mode: Disabled Flow-control : receive off send off Actual speed : N/A Width reduction mode: Not supported Switchport mode : access MAC learning mode : Enabled Forwarding mode : inherited cut-through FCS Ingress : Enabled CRC check FCS Egress : Enabled CRC recalculate FCS Timestamping : Enabled Telemetry sampling: Disabled TCs: N/A Telemetry threshold: Disabled TCs: N/A Telemetry threshold level: N/A Last clearing of "show interface" counters: Never 60 seconds ingress rate : 0 bits/sec, 0 bytes/sec, 0 packets/sec 60 seconds egress rate : 0 bits/sec, 0 bytes/sec, 0 packets/sec Rx: 0 packets 0 unicast packets 0 multicast packets 0 broadcast packets 0 bytes 0 discard packets 0 error packets 0 fcs errors 0 undersize packets 0 oversize packets 0 pause packets 0 unknown control opcode 0 symbol errors 0 discard packets by storm control Tx: 0 packets 0 unicast packets 0 multicast packets 0 broadcast packets 0 bytes 0 discard packets 0 error packets 0 hoq discard packets |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces mlag-port-channel counters
|
|
show interfaces mlag-port-channel <if-number> counters Displays the extended counters for the interface. |
|
|
Syntax Description |
if-numbers |
MLAG interface whose properties to display |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.1002 |
|
|
3.9.1000 |
Added ability to use a range of ports |
|
|
Example |
switch (config)# show interfaces mlag-port-channel 2-3 counters Mpo2: Rx 12 packets 0 unicast packets 12 multicast packets 0 broadcast packets 2700 bytes 0 packets of 64 bytes 0 packets of 65-127 bytes 12 packets of 128-255 bytes 0 packets of 256-511 bytes 0 packets of 512-1023 bytes 0 packets of 1024-1518 bytes 0 packets Jumbo 0 error packets 0 discard packets 0 fcs errors 0 undersize packets 0 oversize packets 0 pause packets 0 unknown control opcode 0 symbol errors Tx 0 packets 0 unicast packets 0 multicast packets 0 broadcast packets 152100000000 bytes 100000000 error packets 0 discard packets 0 pause packets 0 ECN marked packets Mpo3: . . . |
|
|
Related Commands |
|
|
|
Notes |
As of version 3.9.1000, the "if-numbers" attribute is optional. If nothing is selected, information for all ports will be displayed |
|
show interfaces mlag-port-channel summary
|
|
show interfaces mlag-port-channel summary Displays MLAG summary table. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.3.4500 |
|
|
3.4.0000 |
Added notes and Updated example |
|
|
3.4.1100 |
Updated example |
|
|
3.6.6000 |
Updated example |
|
|
Example |
switch [my-vip: standby] (config)# show interfaces mlag-port-channel summaryMLAG Port-Channel Flags: D-Down, U-Up, P-Partial UP, S-suspended by MLAGPort Flags: D: Down P: Up in port-channel (members) S: Suspend in port-channel (members) I: IndividualMLAG Port-Channel Summary: --------------------------------------------------------------------- Group Type Local Peer Port-Channel Ports Ports (D/U/P/S) (D/P/S/I) (D/P/S/I) --------------------------------------------------------------------- 1 Mpo61(D) LACP Eth1/4(I) Eth1/3(S) |
|
|
Related Commands |
|
|
|
Notes |
|
|
show mlag statistics
|
|
show mlag statistics Displays the MLAG IPL counters. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.3.4500 |
|
|
3.4.0000 |
Updated example |
|
|
3.6.6102 |
Updated example |
|
|
Example |
switch (config)# show mlag statisticsIPL 1: Rx Heartbeat : 516 Tx Heartbeat : 516 Rx IGMP tunnel : 0 Tx IGMP tunnel : 0 RX XSTP tunnel : 0 TX XSTP tunnel : 0 RX mlag-notification : 0 TX mlag-notification : 0 Rx port-notification : 0 Tx port-notification : 0 Rx FDB sync : 0 Tx FDB sync : 0 RX LACP manager : 1 TX LACP manager : 0 |
|
|
Related Commands |
|
|
|
Notes |
|
|
Last updated: