Planet SGS-6341 Series Command Manual page 664

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

Configure this attribute to avoid assigning the internal AS number to the external AS sometimes.
The internal AS number ranges between 64512-65535, which the AS number could not be sent to
the INTERNET since it is not a valid external AS number. What removed here is private AS numbers
of the totally private AS routes. Those who have private AS numbers while also have public AS
numbers are not processed.
Example:
Switch(config-router)#neighbor 10.1.1.64 remove-private-AS
37.68 neighbor route-map
Command:
neighbor {<ip-address>|<TAG>} route-map <NAME> {<in|out>}
no neighbor {<ip-address>|<TAG>} route-map <NAME> {<in|out>}
Function:
Configure the route mapping policy when sending or receiving route. The "no neighbor
{<ip-address>|<TAG>} route-map <NAME> {<in|out>}" command cancels this configuration.
Parameter:
<ip-address>: Neighbor IP address
<TAG>: Name of peer group
<NAME>: Name of route mapping
<in|out>: Direction of route mapping
Default:
Not set
Command Mode:
BGP route mode and address-family mode
Usage Guide:
First it has to configure route mapping under global mode by creating a route map with route-map
command and configure the match condition and actions, then the command can be applied.
Example:
Switch(config)#route-map test permit 5
Switch(config-route-map)#match interface Vlan1
Switch(config-route-map)#set as-path prepend 65532
Switch(config-route-map)#exit
Switch(config)#router bgp 200
Switch(config-router)#neighbor 10.1.1.64 route-map test out
37-303

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents