EasyManuals Logo

Cisco NCS 6000 Series User Manual

Cisco NCS 6000 Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
PurposeCommand or Action
RP/0/RP0/CPU0:router(config-bgp-af)# exit
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)#neighbor 1.1.1.1
Step 5
Assigns a remote autonomous system number to the
neighbor.
remote-as as-number
Example:
Step 6
RP/0/RP0/CPU0:router(config-bgp-nbr)#remote-as 100
Specifies an address family and enters address family
configuration submode, and initializes the global address
family for flowspec policy mapping.
address-family { ipv4 } flowspec
Example:
RP/0/RP0/CPU0:router(config-bgp)# address-family
ipv4 flowspec
Step 7
Configure a Class Map
In order to associate the ePBR configuration to BGP flowspec you must perform these sub-steps: define the
class and use that class in ePBR to define the action. The steps to define the class include:
SUMMARY STEPS
1. configure
2. class-map [type traffic] [match-all] class-map-name
3. match match-statement
4. end-class-map
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Creates a class map to be used for matching packets to the
class whose name you specify and enters the class map
class-map [type traffic] [match-all] class-map-name
Example:
Step 2
configuration mode. If you specify match-any , one of the
RP/0/RP0/CPU0:router(config)# class-map type
match criteria must be met for traffic entering the traffic
class to be classified as part of the traffic class. This is the
traffic match all classc1
default. If you specify match-all , the traffic must match
all the match criteria.
Configures the match criteria for a class map on the basis
of the statement specified. Any combination of tuples 1-13
match match-statement
Example:
Step 3
match statements can be specified here. The tuple definition
possibilities include:
RP/0/RP0/CPU0:router(config-cmap)# match protocol
ipv4 1 60
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
113
Implementing BGP Flowspec
Configure a Class Map

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 6000 Series and is the answer not in the manual?

Cisco NCS 6000 Series Specifications

General IconGeneral
BrandCisco
ModelNCS 6000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals