Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 795

Advertising
background image

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

771

53-1003031-02

Clearing the BGP L2VPN route table

8

Clearing the BGP L2VPN route table and resetting BGP

NOTE

This section describes how to clear routes from the BGP L2VPN route table and reset the BGP
session. When the user does not want to reset the BGP session while clearing routes, refer to

“Clearing the BGP L2VPN route table without resetting the BGP session”

on page

771.

The user can clear routes from the BGP L2VPN route table that were exchanged by the Brocade
device and:

All BGP4 neighbors

A specific neighbor

A specific peer group

To clear and reset all BGP4 routes from the BGP L2VPN route table, enter the following command.

Brocade# clear ip bgp l2vpn vpls neighbor all

To clear and reset BGP4 routes exchanged by the Brocade device and a specific neighbor, enter a
command such as the following.

Brocade# clear ip bgp l2vpn vpls neighbor 10.10.10.1

To clear and reset BGP4 routes exchanged by the Brocade device and a specific peer group, enter a
command such as the following.

Brocade# clear ip bgp l2vpn vpls neighbor peergroup1

Syntax: clear ip bgp l2vpn vpls neighbor | ip-addr | peer-group-name

The all | ip-addr | peer-group-name | as-num specifies the neighbor.

The ip-addr parameter specifies a neighbor by its IP interface with the Brocade device.

The peer-group-name specifies all neighbors in a specific peer group.

Clearing the BGP L2VPN route table without resetting the BGP session

When clearing all BGP4 routes from the BGP L2VPN route table, the user can place policy changes
into effect without resetting the BGP session. To do so, enter a command such as the following.

Brocade(config-bgp)# clear ip bgp l2vpn vpls neighbor all soft in

This command updates the inbound routes in the BGP L2VPN route table by comparing the route
policies against the route updates that the Brocade device has stored. The command does not
request additional updates from the neighbor or otherwise affect the session with the neighbor.

Syntax: clear ip bgp l2vpn vpls neighbor all | ip-addr | peer-group-name soft [in | out]

Advertising