Documente Academic
Documente Profesional
Documente Cultură
Description
ip access-list strd/Ext (IOS)
ipv4 access-list [name] (XR)
ip prefix-list (IOS)
prefix-set (XR)
ip as-path access-list (IOS)
as-path-set (XR)
ip community-list (IOS)
community-set (XR)
Basic Route-map (IOS)
Basic Route-policy (XR)
IOS Config
ip access-list standard TEST
permit 1.1.1.1
!
ip access-list extended TEST2
permit ip host 1.1.1.1 host 2.2.2.2
ip prefix-list ADVERTISE permit 1.1.1.1/32
IOS-XR config
ipv4 access-list TEST
10 permit ip host 9.9.9.9 any
!
ipv4 access-list TEST2
permit ipv4 host 1.1.1.1 host 2.2.2.2
prefix-set ADVERTISE
1.1.1.1/32
end-set
as-path-set TEST
originates-from '65000'
dfa-regex '_65000_'
end-set
community-set TEST
100:65000
end-set
route-policy TEST
route-policy TEST
if destination in ADVERTISE then
pass
endif
end-policy
route-policy TEST
if destination in ADVERTISE then
drop
endif
end-policy
Set Weight
route-policy TEST
if destination in ADVERTISE then
set weight 1000
endif
end-policy
route-policy TEST
if destination in ADVERTISE then
set local-preference 200
endif
end-policy
route-policy TEST
if destination in ADVERTISE then
prepend as-path 65000 3
endif
end-policy
route-policy TEST
if destination in ADVERTISE then
set med 100
endif
end-policy
as-path prepend
set MED
redistribution policy
Notes
IOS XR does not have the
concept of standard vs
extended, only named acl nut
you can still use [0-9]
route-policy EIGRP_INTO_BGP
if destination in EIGRP_SUBNETS then
pass
endif
end-policy