Applying local route to qos-local-id 1

Created: Feb 1, 2018 22:34:29Latest reply: Feb 2, 2018 16:00:39 1672 1 0 0
  Rewarded Hi-coins: 0 (problem resolved)
Hi all,

I am trying to tag the directly connected IP to qos-local-id 1 into BGP, but it doesn't work. Please help.

[~PE02]dis cur int Gi0/3/23.10
#
interface GigabitEthernet0/3/23.10
 vlan-type dot1q 10
 set flow-stat interval 30
 ip address 110.74.202.153 255.255.255.252

[~PE02]dis cur conf route-policy INFR-REDISTRIBUTE
#
route-policy INFR-REDISTRIBUTE permit node 10
 apply qos-local-id 1

[~PE02]dis cur conf bgp
#
bgp 65535
#
 ipv4-family unicast
  undo synchronization
  import-route direct route-policy INFR-REDISTRIBUTE

[~PE02]dis bgp routing-table 110.74.202.153
 
 BGP local router ID : 172.35.0.14
 Local AS number : 65535
 Paths:   1 available, 1 best, 1 select, 0 best-external, 0 add-path
 BGP routing table entry information of 110.74.202.153/32:
 Imported route.
 From: 0.0.0.0 (0.0.0.0) 
 Route Duration: 0d04h33m01s
 Direct Out-interface: GigabitEthernet0/3/23.10
 Original nexthop: 127.0.0.1
 Qos information : 0x0           
 AS-path Nil, origin incomplete, MED 0, pref-val 0, valid, local, best, select, pre 0
 Not advertised to any peer yet
  • x
  • convention:

Featured Answers
MRYang     Created Feb 2, 2018 16:00:39 Helpful(0) Helpful(0)

Can you try this ?

ip ip-prefix test index 10 permit 110.74.202.153 24

route-policy INFR-REDISTRIBUTE permit node 10
if-match ip-prefix test
apply qos-local-id 1
  • x
  • convention:

All Answers
MRYang     Created Feb 2, 2018 16:00:39 Helpful(0) Helpful(0)

Can you try this ?

ip ip-prefix test index 10 permit 110.74.202.153 24

route-policy INFR-REDISTRIBUTE permit node 10
if-match ip-prefix test
apply qos-local-id 1
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top