mirror of
				https://github.com/vyos/vyos-documentation.git
				synced 2025-10-26 08:41:46 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			926 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			926 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| ####################
 | |
| BGP - Community List
 | |
| ####################
 | |
| 
 | |
| VyOS provides policies commands exclusively for BGP traffic filtering and
 | |
| manipulation: **community-list** is one of them.
 | |
| 
 | |
| *************
 | |
| Configuration
 | |
| *************
 | |
| 
 | |
| policy community-list
 | |
| =====================
 | |
| 
 | |
| .. cfgcmd:: set policy community-list <text>
 | |
| 
 | |
|    Creat community-list policy identified by name <text>.
 | |
| 
 | |
| .. cfgcmd:: set policy community-list <text> description <text>
 | |
| 
 | |
|    Set description for community-list policy.
 | |
| 
 | |
| .. cfgcmd:: set policy community-list <text> rule <1-65535> action
 | |
|    <permit|deny>
 | |
| 
 | |
|    Set action to take on entries matching this rule.
 | |
| 
 | |
| .. cfgcmd:: set policy community-list <text> rule <1-65535> description <text>
 | |
| 
 | |
|    Set description for rule.
 | |
| 
 | |
| .. cfgcmd:: set policy community-list <text> rule <1-65535> regex
 | |
|    <aa:nn|local-AS|no-advertise|no-export|internet|additive>
 | |
| 
 | |
|    Regular expression to match against a community-list. |