The configuration model file matching port mirroring is huawei-span.yang.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-span:observe-ports/observe-port/index |
Indicates the index of an observing port. |
The value is an integer. The value ranges from 1 to 8 on the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S, ranges from 1 to 4 on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, and ranges from 1 to 6 on other devices. |
N/A |
/huawei-span:observe-ports/observe-port/observe-interfaces/observe-interface |
Indicates the physical port for the observing port. |
The value is a character string in the format of interface-typeinterface-number.
This port must be an existing port on the switch. |
N/A |
/huawei-span:observe-ports/observe-port/observe-interfaces/to-interface |
Indicates the last physical port added to the observing port. |
The value is a character string in the format of interface-typeinterface-number.
This port must be an existing port on the switch. |
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this object. |
/huawei-span:observe-ports/observe-port/rspan-vlan |
Indicates the VLAN encapsulated in mirrored packets during the configuration of a Layer 2 remote observing port. |
The value is an integer that ranges from 1 to 4094 and must be an existing VLAN. |
All Layer 2 remote observing ports can only be configured with the same VLAN for S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720S-SI, S5720I-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI. |
/ietf-interfaces:interfaces/interface/huawei-span:mirrors/mirror/direction |
Indicates that packets in the specified direction of a mirrored port are copied to an observing port. |
Enumerated type:
|
N/A |
/ietf-interfaces:interfaces/interface/huawei-span:mirrors/mirror/observe-ports-index |
Indicates the observing port index bound to a mirrored port. |
The value is an integer. The value ranges from 1 to 8 on the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S, ranges from 1 to 4 on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, and ranges from 1 to 6 on other devices. |
N/A |