display ip community-list

Use display ip community-list to display BGP community list information.

Syntax

display ip community-list [ basic-community-list-number | adv-community-list-number | name comm-list-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99.

adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199.

name comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63 characters that cannot contain only numbers.

Usage guidelines

If no community list is specified, this command displays information about all BGP community lists.

Examples

# Display information about all BGP community lists.

<Sysname> display ip community-list
Community List Basic aaa
        Permit
Community List Advanced bbb
        Permit  3333

Table 178: Command output

Field

Description

Community List Basic

Basic community list.

Community List Advanced

Advanced community list.

permit

Match mode:

  • Permit.

  • Deny.