Cisco Exam Questions

What is the order of preference for these commands when all of them are applied to one neighbor in t

What is the order of preference for these commands when all of them are applied to one neighbor
in the BGP inbound filter direction?

A.
prefix-list/distribute-list, filter-list, route-map
The order of preference varies based on whether the attributes are applied for inbound updates
or outbound updates.
For inbound updates the order of preference is:
route-map
filter-list
prefix-list, distribute-list
For outbound updates the order of preference is:
prefix-list, distribute-list
filter-list
route-map
NotE. The attributes prefix-list and distribute-list are mutually exclusive, and only one command
(neighbor
prefix-list or neighbor distribute-list) can be applied to each inbound or outbound direction for a
particular neighbor.
QUESTION 94
Which two statements about the bgp deterministic-med and bgp always-compare-med commands
are true? (Choose two)
The bgp deterministic-med command is used to influence the BGP route selection process to
cause the
MED attribute to have higher precedence over the AS path length

B.
route-map, filter-list, prefix-list/distribute-list
The bgp always-compare command is used to influence the BGP route selection process to
cause the MED attribute to have higher precedence over the AS path system.

C.
route-map, prefix-list/distribute-list, filter-list
Enabling the bgp deterministic-med command ensures the comparison of the MED variable
when choosing routes advertised by different peers in the same autonomous system.

D.
filter-list, prefix-list/distribute-list, route-map
Enabling the bgp always-compare-med command ensures the comparison of the MED variable
for paths from neighbors in different autonomous systems.

E.
prefix-list/distribute-list, route-map, filter-list
The bgp deterministic-med and bgp always-compare-med commands are enabled by defult.

A.
prefix-list/distribute-list, filter-list, route-map
The order of preference varies based on whether the attributes are applied for inbound updates
or outbound updates.
For inbound updates the order of preference is:
route-map
filter-list
prefix-list, distribute-list
For outbound updates the order of preference is:
prefix-list, distribute-list
filter-list
route-map
NotE. The attributes prefix-list and distribute-list are mutually exclusive, and only one command
(neighbor
prefix-list or neighbor distribute-list) can be applied to each inbound or outbound direction for a
particular neighbor.
QUESTION 94
Which two statements about the bgp deterministic-med and bgp always-compare-med commands
are true? (Choose two)
The bgp deterministic-med command is used to influence the BGP route selection process to
cause the
MED attribute to have higher precedence over the AS path length

A.
prefix-list/distribute-list, filter-list, route-map
The order of preference varies based on whether the attributes are applied for inbound updates
or outbound updates.
For inbound updates the order of preference is:
route-map
filter-list
prefix-list, distribute-list
For outbound updates the order of preference is:
prefix-list, distribute-list
filter-list
route-map
NotE. The attributes prefix-list and distribute-list are mutually exclusive, and only one command
(neighbor
prefix-list or neighbor distribute-list) can be applied to each inbound or outbound direction for a
particular neighbor.
QUESTION 94
Which two statements about the bgp deterministic-med and bgp always-compare-med commands
are true? (Choose two)
The bgp deterministic-med command is used to influence the BGP route selection process to
cause the
MED attribute to have higher precedence over the AS path length

B.
route-map, filter-list, prefix-list/distribute-list
The bgp always-compare command is used to influence the BGP route selection process to
cause the MED attribute to have higher precedence over the AS path system.

C.
route-map, prefix-list/distribute-list, filter-list
Enabling the bgp deterministic-med command ensures the comparison of the MED variable
when choosing routes advertised by different peers in the same autonomous system.

D.
filter-list, prefix-list/distribute-list, route-map
Enabling the bgp always-compare-med command ensures the comparison of the MED variable
for paths from neighbors in different autonomous systems.

E.
prefix-list/distribute-list, route-map, filter-list
The bgp deterministic-med and bgp always-compare-med commands are enabled by defult.

Explanation:
Q. What is the order of preference of attributes when some or all are applied to one neighbor in

BGP?

Enabling the bgp deterministic-med command ensures the comparison of the MED variable when
choosing routes advertised by different peers in the same autonomous system. Enabling the bgp
always-compare-med command ensures the comparison of the MED for paths from neighbors in
different autonomous systems.

NotE. The bgp deterministic-med and bgp always-compare-med commands are not enabled by
default. Also, the two commands are separate; enabling one does not automatically enable the
other.