Cisco Nexus 5500 Series NX-OS System Management Command Reference
F Commands

Table Of Contents

F Commands

feature ptp

filter access-group


F Commands


This chapter describes the system management commands that begin with F.

feature ptp

To enable the PTP feature, use the feature ptp command. To unconfigure the PTP feature, use the no form of this command.

feature ptp

no feature ptp

Syntax Description

There are no arguments or keywords for this command.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.


Examples

This example shows how to enable PTP on the device:

switch# configure terminal
switch(config)# feature ptp

Related Commands

Command
Description

feature ptp

Enables or disables PTP on the device.

ptp source

Configures the source IP address for all PTP packets.

ptp domain

Configures the domain number to use for this clock.

ptp priority1

Configures the priority 1 value to use when advertising this clock.

ptp priority2

Configures the priority 1 value to use when advertising this clock.

show ptp brief

Displays the PTP status.

show ptp clock

Displays the properties of the local clock.


filter access-group

To apply an access group to an Encapsulated Remote Switched Port Analyzer (ERSPAN) or Switched Port Analyzer (SPAN) source session, use the filter access-group command. To remove an access group, use the no form of this command.

filter access-group acl-filter

no filter access-group acl-filter

Syntax Description

acl-filter

Access control list (ACL) name. An ACL associates the access list with the SPAN session.


Command Default

None

Command Modes

SPAN session configuration mode (config-monitor)
ERSPAN source session configuration mode (config-erspan-src)

Command History

Release
Modification

7.0(0)N1(1)

This command was introduced.


Usage Guidelines

ACL filtering allows you to filter SPAN and ERSPAN traffic so that you can reduce bandwidth congestion. An ACL is a list of permissions associated to any entity in the system; in the context of a monitoring session, an ACL is a list of rules which results in the spanning of traffic that matches the ACL criteria, saving bandwidth for more meaningful data. The filter applies to all sources in the session.


Note If the ACL has rules with a log option configured, the log option is ignored but the rule is implemented.


Examples

This example shows how to enable an ACL filter for a SPAN session:

switch# configure terminal
switch(config)# monitor session 3
switch(config-monitor)# filter access-group acl_span_ses_3

This example shows how to enable an ACL filter for a ERSPAN session:

switch# configure terminal
switch(config)# monitor session 4 type erspan-source
switch(config-erspan-src)# filter access-group acl_erspan_ses_3

Related Commands

Command
Description

monitor session

Creates a new SPAN or ERSPAN session.