Chapter2InterfaceConīæguration
Syntax
monitorsession<session-number>{desigation|source[dir
ection{both|tx|rx}]}
nomonitorsession
Syntax
Description
<session-number>Sessionnumber ,ranging1ā8
designation
Speciīæestheportasthedestinationport
source
Speciīæestheportasasourceport
direction
Speciīæesthetrafīæccollectiondirectionofthe
sourceport
both
Setsthetrafīæccollectiondirectionofthe
sourceporttobothRxandTx
tx
Setsthetrafīæccollectiondirectionofthe
sourceporttoTx
rx
Setsthetrafīæccollectiondirectionofthe
sourceporttoRx
Defaults
Thecollectiondirectionisdual-direction.
Instructions
ļæ½Eachsessioncanbeconīæguredwithuptoeightsourceports
andonedestinationport.Eachportcanbeeitherthesource
orthedestination,butnotboth.
ļæ½Inconīæguringthesource/destinationportwiththecommand,
ifthesessionnumberdoesnotexist,createasessionīærst,
andthenaddthesource/destinationport.Inconīæguringthe
destinationport,ifthesessionalreadyholdsadestinationport,
theconīægurationisinvalid.
ļæ½Ifthesource/destinationportsofeachsessionareonthesame
lineinterfaceboard,thesystemsupportsuptoeightsessions.
Ifthesource/destinationportsofeachsessionarenotonthe
samelineinterfaceboard,onlyonesessionisallowed.
Example
ļæ½Thisexampledescribeshowtosetasessionnumbered1,with
thesourceportfei_1/1,andthetrafīæccollectiondirectionTx.
ZXR10(config)#interfacefei_1/1
ZXR10(config-if)#monitorsession1sourcedirectiontx
ļæ½Thisexampledescribeshowtosetasessionnumbered1,with
thedestinationportfei_1/1.
ZXR10(config)#interfacefei_1/1
ZXR10(config-if)#monitorsession1destination
Related
Commands
showmonitorsession
mtu
Purpose
UsethiscommandtosettheMTUofaninterface.
CommandModes
Interfaceconīæguration
ConīædentialandProprietaryInformationofZTECORPORATION39