Generating traps for BGP4
You can enable and disable SNMP traps for BGP4. BGP4 traps are enabled by default.
To enable BGP4 traps after they have been disabled, enter the following command.
device(config)# snmp-server enable traps bgp
Syntax: [no] snmp-server enable traps bgp
Use the no form of the command to disable BGP4 traps.
Conguring BGP4
Once you activate BGP4, you can
congure the BGP4 options. There are two conguration levels: global and address family.
At the global level , all BGP4 congurations apply to IPv4 and IPv6. Enter this layer using the device BGP4 command
Under the global level, you specify an address family . Address families separate IPv4 and IPv6 BGP4 congurations. Go to this level by
entering the address-family command at the device BGP4 level. The command requires you to specify the IPv4 or IPv6 network
protocol.
The address-family command also requires you to select a sub-address family, which is the type of routes for the conguration. Specify
unicast routes.
TABLE 92 IPv4 BGP4 commands for
dierent conguration levels
Command Global (iPv4 and IPv6) IPv4 address family unicast
address-family x x
aggregate-address x
always-compare-med x
always-propagate x
as-path-ignore x
bgp-redistribute-internal x
client-to-client-reection x x
cluster-id x
compare-med-empty-aspath x
compare-routerid x
confederation x
dampening x
default-information-originate x
default-local-preference x
default-metric x
distance x
enforce-rst-as x
exit-address-family x x
fast-external-fallover x
graceful-restart x
install-igp-cost x
local-as x
Generating traps for BGP4
FastIron Ethernet Switch Layer 3 Routing
428 53-1003627-04