GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::BGP::Refresh(3) User Contributed Perl Documentation Net::BGP::Refresh(3)

"Net::BGP::Refresh" - Class encapsulating BGP-4 REFRESH message

    use Net::BGP::Refresh;

    $refresh = Net::BGP::Refresh->new(
        AFI      => $address_family_identifier,
        SAFI     => $subsequent_address_family_identifier
    );

    $address_family_identifier            = $refresh->afi();
    $subsequent_address_family_identifier = $refresh->safi();

    $peer->refresh($refresh);

This module encapsulates the data contained in a BGP-4 REFRESH message as specified by RFC 2918. It provides a constructor, and accessor methods for each of the fields, AFI and SAFI, of a REFRESH message. To refresh the route table for a given address family, call the peer object's refresh() function with a "Net::BGP::Refresh" object as argument.

new() - create a new "Net::BGP::Refresh" object

    $refresh = Net::BGP::Refresh->new(
        AFI      => $address_family_identifier,
        SAFI     => $subsequent_address_family_identifier
    );

This is the constructor for "Net::BGP::Refresh" objects. It returns a reference to the newly created object. The following named parameters may be passed to the constructor.

This parameter corresponds to the Address Family Identifier field of a REFRESH message. Default is AFI_IP4.

This parameter corresponds to the Subsequent Address Family Identifier field of a REFRESH message. Default is SAFI_BOTH.

afi() - retrieve the value of the Address Family Identifier field

    $address_family_identifier            = $refresh->afi();

safi() - retrieve the value of the Subsequent Address Family Identifier field

    $subsequent_address_family_identifier = $refresh->safi();

Net::BGP
Net::BGP::Process
Net::BGP::Peer
Net::BGP::Update
Net::BGP::ASPath
Net::BGP::NLRI
Net::BGP::Notification

Stephen J. Scheck <sscheck@cpan.org>
2021-12-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.