C H A P T E R 24

Target Based Commands

This chapter describes the SEFOS target based commands.

##

24.1 SEFOS Target Based Commands

The list of SEFOS target based commands are as follows:

- monitor session

- speed

- storm-control

- rate-limit-output

- show port-monitoring

- show monitor

- mac-address-table aging-time

### 24.1.1 `monitor session`

Enables port-mirroring in the switch. The `no` form of the command disables port mirroring in the switch.

    monitor session [session_number 1-1] {destination interface interface-type interface-id | source interface interface-type interface-id [{rx | tx | both}]}

    no monitor session [session_number:1] [{source interface interface-type interface-id |destination interface interface-type interface-id}]

Syntax Description | session_number 1-1 - Specifies the session number identified with the session. destination interface - Specifies the destination interface or the mirror-to port. Valid interfaces are physical ports. There can only be one mirror-to port per switch. source interface - Specifies the interface for the traffic that is to be mirrored. Valid interfaces include physical ports. rx - Received traffic is mirrored. tx - Transmitted traffic is mirrored. both - Specifies the traffic direction to monitor. If the traffic direction is not specified, both transmitted and received traffic is mirrored.
Mode | Global Configuration
Defaults | Port mirroring is disabled.
Example | SEFOS(config)# monitor session source interface extreme-ethernet 0/1 SEFOS(config)# monitor session 1 destination interface ex 0/4
Notes | A port that is a member of a port-channel cannot be a mirror-to port.

#### Related Commands

- show port-monitoring / show monitor - Displays port-monitoring information

### 24.1.2 `speed`

Sets the speed of the interface. The `no` form of the command sets the speed of the interface to its default value.

    speed {1000 | 10000}

    no speed

Syntax Description | 1000 - Port runs at 1000 Mbps, 10000 - Port runs at 10000 Mbps,
Mode | Interface Configuration
Defaults | Automatic.
Example | SEFOS(config-if)# speed 1000
Notes | The Ethernet port speed can be configured to 1000 Mbps or 10000 Mbps. If the Ethernet port can not be configured to the desired speed, an information mesage is displayed similar to the following: `This speed is not supported by hardware.`

#### Related Commands

- show interfaces - Displays the interface status and configuration

### 24.1.3 `storm-control`

Sets the storm control rate for broadcast, multicast and DLF packets. The `no` form of the command sets storm control rate for broadcast, multicast, and DLF packets to the default value.

    storm-control {broadcast | multicast | dlf} level Mbps_1-10000

    no storm-control {broadcast | multicast | dlf} level}

Syntax Description | broadcast - Broadcast packets. multicast - Multicast packets. dlf - Unicast packets. level - Storm-control suppression level as a total number of bits per second. This value ranges between 1 and 10000 Megabits per second.
Mode | Interface Configuration
Defaults | Broadcast, multicast, and DLF storm control are disabled.
Example | SEFOS(config-if)# storm-control broadcast level 1000
Notes | Storm control is supported only on physical interfaces.

#### Related Commands

- show interfaces - Displays the interface status and configuration

### 24.1.4 `rate-limit-output`

Enables the rate limiting and burst size rate limiting by configuring the egress packet rate of an interface. The `no` form of the command disables the rate limiting and burst size rate limiting on an egress port.

    rate-limit-output [packet-rate Mbps_1-10000] [burst-size KB_1-128]

    no rate-limit-output

Syntax Description | packet-rate - Packet rate Megabits per second. This value ranges between 1 and 10000 Megabits per second. burst-size - Burst size in Kilobits per second. This value ranges between 1 and 128 Kilobits per second.
Mode | Interface Configuration
Defaults | packet-rate - 0 burst-size - 0
Example | SEFOS(config-if)# rate-limit output packet-rate 64 burst-size 32

### 24.1.5 `show port-monitoring`

Displays port-monitoring information.

    show port-monitoring

Mode | Privileged EXEC
Example | SEFOS# show port-monitoring Port Monitoring is enabled Monitor Port : Ex0/4 Port Ingress-Monitoring Egress-Monitoring Ex0/1 Enabled Enabled Ex0/2 Enabled Enabled Ex0/3 Disabled Disabled Ex0/4 Disabled Disabled Ex0/5 Disabled Disabled Ex0/6 Disabled Disabled Ex0/7 Disabled Disabled Ex0/8 Disabled Disabled Ex0/9 Disabled Disabled Ex0/10 Disabled Disabled Ex0/11 Disabled Disabled Ex0/12 Disabled Disabled Ex0/13 Disabled Disabled Ex0/14 Disabled Disabled Ex0/15 Disabled Disabled Ex0/16 Disabled Disabled Ex0/17 Disabled Disabled

#### Related Commands

- monitor session - Enables port-mirroring in the switch

### 24.1.6 `show monitor`

Displays port-monitoring information. This command operates similar to that of the command show port-monitoring.

    show monitor [session 1-10] [detail]

Syntax Description | session - Session number. This value ranges between 1 and 10. detail - Detailed information regarding the session.
Mode | Privileged EXEC
Example | SEFOS# show monitor Port Monitoring is enabled Monitor Port : Ex0/2 Port Ingress-Monitoring Egress-Monitoring Ex0/1 Disabled Disabled Ex0/2 Enabled Enabled Ex0/3 Disabled Disabled Ex0/4 Disabled Disabled Ex0/5 Disabled Disabled Ex0/6 Disabled Disabled

#### Related Commands

- monitor session - Enables port-mirroring in the switch

### 24.1.7 `mac-address-table aging-time`

Sets the maximum age of a dynamically learned entry in the MAC address table. The `no` form of the command sets the maximum age of an entry in the MAC address table to its default value.

    mac-address-table aging-time seconds_10-1000000

    no mac-address-table aging-time

Mode | Global Configuration
Defaults | 300
Example | SEFOS(config)# mac-address-table aging-time 100
Notes | If traffic on an interface is not very frequent, the aging time must be increased to record the dynamic entries for a longer time. Increasing the time can reduce the possibility of flooding.

#### Related Commands

- show mac-address-table aging-time - Displays the MAC address-table aging time

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.