EasyManua.ls Logo

H3C S5120-EI Series - Page 132

H3C S5120-EI Series
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
123
# Configure GigabitEthernet 1/0/1 as a trunk port, assign it to VLANs 1 through 30, and enable
flush message receiving on it.
[DeviceD] interface gigabitethernet 1/0/1
[DeviceD-GigabitEthernet1/0/1] port link-type trunk
[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceD-GigabitEthernet1/0/1] smart-link flush enable
[DeviceD-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 as a trunk port, assign it to VLANs 1 through 30, disable the
spanning tree feature, and enable flush message receiving on it.
[DeviceD] interface gigabitethernet 1/0/2
[DeviceD-GigabitEthernet1/0/2] port link-type trunk
[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceD-GigabitEthernet1/0/2] undo stp enable
[DeviceD-GigabitEthernet1/0/2] smart-link flush enable
[DeviceD-GigabitEthernet1/0/2] quit
# Create monitor link group 1, and then configure GigabitEthernet 1/0/1 as an uplink port and
GigabitEthernet 1/0/2 as a downlink port for monitor link group 1.
[DeviceD] monitor-link group 1
[DeviceD-mtlk-group1] port gigabitethernet 1/0/1 uplink
[DeviceD-mtlk-group1] port gigabitethernet 1/0/2 downlink
[DeviceD-mtlk-group1] quit
5. Verify the configuration:
Use the display monitor-link group command to display the monitor link group information on
devices. For example, when GigabitEthernet 1/0/2 on Device A goes down due to a link fault:
# Display information about monitor link group 1 on Device B.
[DeviceB] display monitor-link group 1
Monitor link group 1 information:
Group status: UP
Last-up-time: 16:37:20 2013/4/21
Last-down-time: 16:35:26 2013/4/21
Member Role Status
------------------------------------------
GigabitEthernet1/0/1 UPLINK UP
GigabitEthernet1/0/2 DOWNLINK UP
# Display information about monitor link group 1 on Device D.
[DeviceD] display monitor-link group 1
Monitor link group 1 information:
Group status: DOWN
Last-up-time: 16:35:27 2013/4/21
Last-down-time: 16:37:19 2013/4/21
Member Role Status
------------------------------------------
GigabitEthernet1/0/1 UPLINK DOWN
GigabitEthernet1/0/2 DOWNLINK DOWN

Table of Contents

Other manuals for H3C S5120-EI Series

Related product manuals