beautypg.com

Clearing mpls rsvp sessions, Clearing mpls ldp transit statistics, Clearing mpls label statistics – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 295: Sample configurations

background image

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

271

53-1003031-02

Transit LSP statistics

1

Clearing MPLS RSVP sessions

To clear only the RSVP statistics transit counters, enter the following command:

Brocade# clear mpls statistics rsvp session 10.2.2.2 10.1.1.1 5

Syntax: clear mpls statistics rsvp session destination ip address / source ip address / tunnel id

Where the destination ip address specifies the destination IP address of session object.

Where the source ip address specifies the source ip address of session object.

Where the tunnel id specifies the tunnel ID of session object.

Clearing MPLS LDP transit statistics

To clear the transit traffic statistics for the specified LDP FEC, enter the following command.

Brocade# clear mpls statistics ldp transit fec 10.3.3.3/32

Syntax: clear mpls statistics ldp transit fec ip address| subnet mask length

Where the ip address is the IP address configured on this interface.

Where the subnet mask length specifies the network prefix mask length.

Clearing MPLS label statistics

To clear the traffic statistics for the specified incoming label, enter a command such as the
following.

Brocade# clear mpls statistics label 2032

Syntax: clear mpls statistics label [in-label]

The in-label variable allows the user to specify the label value.

Sample configurations

To set the counter-mode to packet on the NetIron CES or NetIron CER, enter the following
commands.

Brocade(config)# router mpls

Brocade(config-mpls)# counter-mode

Brocade(config-mpls)# counter-mode packet

To verify the configuration, enter the following command.

Brocade(config-mpls)# show mpls configuration

router mpls

counter-mode packet

mpls-interface e1/11