Configuration Guide Vol. 3


30.2.1 List of configuration commands

The following table lists the commands used to configure route filtering.

Table 30-20: List of configuration commands

Command name

Description

distribute-list in (BGP4+)

Filters which BGP4+-learned routes are added to the routing table.

distribute-list in (OSPFv3)

Filters which OSPFv3-learned routes are added to the routing table.

distribute-list in (RIPng)

Filters which RIPng-learned routes are added to the routing table.

distribute-list out (BGP4+)

Filters which BGP4+ routes are advertised.

distribute-list out (OSPFv3)

Filters which OSPFv3 routes are advertised.

distribute-list out (RIPng)

Filters which RIPng routes are advertised.

ip as-path access-list

Configures access-list to filter routes based on their AS_PATH attribute.

ip community-list

Configures a community list to filter routes based on their COMMUNITIES attribute.

ipv6 prefix-list

Configures an IPv6 prefix list.

match as-path

Configures route-map to use the AS_PATH attribute as filter conditions.

match community

Configures route-map to use the COMMUNITIES attribute as filter conditions.

match interface

Configures route-map to use the interface of the route as filter conditions.

match ipv6 address

Configures route-map to use the IPv6 address prefix as filter conditions.

match ipv6 route-source

Configures route-map to use the source IPv6 address as filter conditions.

match origin

Configures route-map to use the ORIGIN attribute as filter conditions.

match protocol

Configures route-map to use the routing protocol as filter conditions.

match route-type

Configures route-map to use the route type as filter conditions.

match tag

Configures route-map to use the tag value as filter conditions.

match vrf

Configures route-map to use a VRF as filter conditions.

neighbor in (BGP4+)

Specifies the filter to be used for BGP4+ learned route filtering.

neighbor out (BGP4+)

Sets the filters used for BGP4+ advertised route filtering.

redistribute (BGP4+)

Sets the protocol types of routes advertised from BGP4+.

redistribute (OSPFv3)

Sets the protocol types of routes advertised from OSPFv3.

redistribute (RIPng)

Sets the protocol types of routes advertised from RIPng.

route-map

Configures route-map.

set as-path prepend count

Sets the number of AS_PATH numbers added to the routing information.

set community

Replaces the COMMUNITIES attribute of the route.

set community-delete

Deletes the COMMUNITIES attribute of the route.

set distance

Sets the priority of the routing information.

set local-preference

Sets the LOCAL_PREF attribute of the routing information.

set metric

Assigns a metric to the routing information.

set metric-type

Sets the metric type or metric of the routing information.

set origin

Sets the ORIGIN attribute of the routing information.

set tag

Sets the tag value of the routing information.

deny (ipv6 access-list) #1

Specifies the conditions by which the IPv6 filter denies access.

ipv6 access-list #1

Configures an access list to serve as an IPv6 filter.

ipv6 access-list resequence #1

Re-sequences the sequence numbers that determine the order in which the IPv6 filter applies filter conditions.

permit (ipv6 access-list) #1

Specifies the conditions by which the IPv6 filter permits access.

router bgp #2

Configures router settings related to the BGP (BGP4 and BGP4+) routing protocol.

ipv6 router rip #3

Configures router settings related to the RIPng routing protocol.

ipv6 router ospf #4

Configures router settings related to the OSPFv3 routing protocol.

ipv6 import inter-vrf #5

Controls routes that are imported from another VRF or the global network according to the filter.

Note #1

See Configuration Command Reference Vol.1" "25 Access List.

Note #2

See "Configuration Command Reference Vol.2" "14 BGP4".

Note #3

See "Configuration Command Reference Vol.2" "26 RIPng".

Note #4

See "Configuration Command Reference Vol.2" "27 OSPFv3".

Note #5

See "Configuration Command Reference Vol.2" "32 VRF".