Configuration Examples - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

set weight < weight_val>
no set weight [ <weight_val> ]
4. Define address prefix list
Global mode
ip prefix-list <list_nam e> description <description>
no ip prefix-list <list_nam e> description
ip prefix-list <list_nam e> [seq <sequence_number>]
<deny | permit> < any | ip_addr/mask_l ength [ge
min_prefix_len] [le max_prefix_l en]>
no ip prefix-list <list_nam e> [seq <sequence_number>]
[<deny | permit> < any | ip_addr/mask_length [ge
min_prefix_len] [le max_prefix_l en]>]

33.2.3 Configuration Examples

The figure below shows a network consisting of four Layer 3 switches. This example demonstrates how to set
the BGP as-path properties through route-map. BGP protocol is applied among the Layer 3 switches. As for
switchC, the network 192. 68.11.0/24 can be reached t hrough two paths in which one is AS-PATH 1 by IBGP
(going through SwitchD), the other one is AS-PATH 2 by EBGP (going through S witchB). BGP selects the
shortest path, so AS-PATH 1 is the preferred pat h. If the pat h 2 is wished, which is through EBGP path, we
can add two extra AS path numbers into the AS-PATH messages from SwitchA to SwitchD so as to change
the determination SwitchC take to 192.68.11.0/ 24.
Command
Set BGP routing weight;
The no command deletes
the configuration
Explanation
Describe the prefix list;
The no ip prefix-list
<list_name>
description command
deletes the configuration.
Set the prefix list; The no
ip prefix-list
<list_name> [seq
<sequence_number>]
[<deny | permit> < any |
ip_addr/mask_l ength
[ge min_prefix_len] [le
max_prefix_len]>]
command delet es the
configuration.
33-7

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents