Znyx Networks bh5700 Link and LED Control, Link Event Monitoring, To check the status of a link

Models: bh5700

1 359
Download 359 pages 3.51 Kb
Page 83
Image 83

mirrored (copied and transmitted) to port 12. This mirroring would be in addition to any Layer 3 or Layer 2 switching.

zmirror zre0 zre12 zmirror zre1 zre12 zmirror zre2 zre12

To clear the current mirroring use the -toption. The -eoption can be used to indicate that packets being sent on a given port should be copied to the mirror_to port. For example if the -eoption is used as follows, the packets transmitted, as opposed to received, on ports 0, 1 or 2 would be mirrored to port 12.

zmirror -e zre0 zre12 zmirror -e zre1 zre12 zmirror -e zre2 zre12

Link and LED Control

The zlc application sets the link speed and state of individual ports of the switch, or display their current state. It can also set or clear the extract led or the internal fault led, or to set a port down or up. To force the link on port 0 down,

zlc zre1 down

To check the status of a link,

zlc zre1 query

To check the status of all links,

zlc zre0..51 query

Link Event Monitoring

The zlmd application is intended to run as a daemon, waiting for a configured event to occur and then running the program configured for that event. The events monitored are changes in the link status at any of the in-band ports of the switch, the start of removal of the switch from the ATCA backplane, or the cancellation of the removal before it actually takes place. The program can be a shell script that initiates appropriate actions to respond to the event.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 83

Page 83
Image 83
Znyx Networks bh5700 manual Link and LED Control, Link Event Monitoring, To check the status of a link