display bgp peer orf ip-prefix

Function

The display bgp peer orf ip-prefix command displays the prefix-based Outbound Route Filtering (ORF) learned from a specified peer.

Format

display bgp peer ipv4-address orf ip-prefix

display bgp peer ipv6-address orf ip-prefix

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

It is in dotted decimal notation.

ipv6-address

Specifies the IPv6 address of a BGP peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

After a device successfully negotiates the ORF capability with its peer, you can run the display bgp peer orf ip-prefix command to view information about the prefix-based ORF learned from the peer.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the prefix-based ORF learned from a peer at 10.1.1.2.
<HUAWEI> display bgp peer 10.1.1.2 orf ip-prefix
Total number of ip-prefix received: 1
 Index  Action  Prefix           MaskLen  MinLen  MaxLen
 10     Permit  4.4.4.0          24       32      32
Table 1 Description of the display bgp peer orf ip-prefix command output
Item Description
Index

Index of an IP prefix list.

Action

Action associated with an IP prefix list:

  • deny.
  • permit.
Prefix

IP prefix.

MaskLen

Mask length of an IP prefix.

MinLen

Minimum mask length of an IP prefix.

MaxLen

Maximum mask length of an IP prefix.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >