05-04-2016 09:38 AM - edited 03-10-2019 12:38 AM
ASA5525 running 9.5(2)
Entered the route-map
route-map LOCALPREF permit 10
set local-preference 110
Current BGP configuration
router bgp XXXX
bgp log-neighbor-changes
bgp router-id 1.1.1.1
address-family ipv4 unicast
neighbor XX.XX.XX.161 remote-as XXXX
neighbor XX.XX.XX.161 activate
neighbor XX.XX.XX.169 remote-as XXXX
neighbor XX.XX.XX.169 activate
network 11.XX.133.160 mask 255.255.255.240
no auto-summary
no synchronization
exit-address-family
Apply the route-map
router bgp XXXX
address-family ipv4 unicast
neighbor XX.XX.XX.169 route-map LOCALPREF in
ERROR: BGP is not supported on management-only interface
05-04-2016 09:45 AM
Solution is:
Take the nameif off of your management interface. Add your BGP commands. Put nameif back on the management interface
I did and see the below output.
sh run router bgp
router bgp XXXX
bgp log-neighbor-changes
bgp router-id 1.1.1.1
address-family ipv4 unicast
neighbor XX.XX.XX.161 remote-as XXXX
neighbor XX.XX.XX.161 activate
neighbor XX.XX.XX.169 remote-as XXXX
neighbor XX.XX.XX.169 activate
neighbor XX.XX.XX.169 route-map LOCAL_PREF in
network 11.XX.133.160 mask 255.255.255.240
no auto-summary
no synchronization
exit-address-family
Question is why does this work and why did I have to do it for the command to work? TAC please respond.
05-31-2016 07:31 PM
Crickets!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide