D-Link DGS-3130 Emulator - Page 690
match ip next-hop
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 690 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Command Mode Route-map Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command in the route map configure mode to define a rule for matching routes against an IP access list. Example This example shows how to create an IP access list "myacl" first and create a route map entry to match against the IP access list. Switch# configure terminal Switch(config)# ip access-list myacl Switch(config-ip-acl)# permit 10.20.0.0 0.0.255.255 any Switch(config-ip-acl)# exit Switch(config)# route-map myPolicy permit 1 Switch(config-route-map)# match ip address myacl Switch(config-route-map)# 66-3 match ip next-hop This command is used to define a clause to match the route's next hop based on the standard IP access list or IP prefix list. Use the no form of this command to remove the clause. match ip next-hop {ACCESS-LIST-NAME} no match ip next-hop {ACCESS-LIST-NAME} Parameters ACCESS-LIST-NAME Specifies the IP access list name. Default None. Command Mode Route-map Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command in the route map configure mode to define a rule for matching routes against the next hop. The IP address of the next hop will be matched against the IP standard access list or IP prefix list. 686