Configuration Examples; Configuring Traffic Discard: Example - Cisco ASR 9000 Series Routing Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Implementing Static Routes
DETAILED STEPS
Step 1
configure
Step 2
router static
Example:
RP/0/RSP0
/CPU0:router(config)# router static
Enters static route configuration mode.
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-static)# vrf vrf_A
Enters VRF configuration mode.
Step 4
address-family { ipv4 | ipv6 } { unicast | multicast }
Example:
RP/0/RSP0/CPU0:router(config-static-vrf)# address family ipv6 unicast
Enters address family mode.
Step 5
prefix mask [vrf vrf-name ] {next-hop ip-address | interface-name } {path-id } [ distance ] [ description text ] [
tag tag ] [ permanent ]
Example:
RP/0/RSP0/CPU0:router(config-static-vrf-afi)# 2001:0DB8::/32 2001:0DB8:3000::1 201
Configures an administrative distance of 201.
Step 6
commit

Configuration Examples

This section provides the following configuration examples:

Configuring Traffic Discard: Example

Configuring a static route to point at interface null 0 may be used for discarding traffic to a particular prefix.
For example, if it is required to discard all traffic to prefix 2001:0DB8:42:1/64, the following static route
would be defined:
configure
router static
address-family ipv6 unicast
2001:0DB8:42:1::/64 null 0
end
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
Configuration Examples
641

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents