22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

source VLANs :<br />

rx :<br />

destination ports : Eth1/5 (f+l)<br />

Legend: f = forwarding enabled, l = learning enabled<br />

source VSANs :<br />

rx : rx :<br />

Configuration of Fibre Channel SPAN is similar to a typical Ethernet SPAN configuration.<br />

If the destination port is a Fibre Channel interface, it must be configured as a SPAN<br />

Destination (SD) port under the interface configuration, as demonstrated in Example 7-13.<br />

Example 7-13. Configuring a SPAN Session with a Fibre Channel Destination Port<br />

Click here to view code image<br />

CMHLAB-N5K1# config t<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

CMHLAB-N5K1(config)# int fc2/3<br />

CMHLAB-N5K1(config-if)# switchport speed 2000<br />

CMHLAB-N5K1(config-if)# switchport mode sd<br />

CMHLAB-N5K1(config-if)# no shut<br />

CMHLAB-N5K1(config)# monitor session 2<br />

CMHLAB-N5K1(config-monitor)# desc SPAN Session for Fibre<br />

Channel<br />

CMHLAB-N5K1(config-monitor)# source interface vfc10<br />

CMHLAB-N5K1(config-monitor)# destination int fc2/3<br />

CMHLAB-N5K1(config-monitor)# no shut<br />

CMHLAB-N5K1(config-monitor)# end<br />

CMHLAB-N5K1#<br />

The session’s configuration can be verified by using the show monitor session comm<strong>and</strong>, as<br />

demonstrated in Example 7-14.<br />

Example 7-14. Displaying a Fibre Channel Monitor Session<br />

Click here to view code image<br />

CMHLAB-N5K1# show mon sess 2<br />

session 2<br />

---------------<br />

description : SPAN Session for Fibre Channel<br />

type<br />

: local

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!