Configuration Guide Vol. 1


6.4.5 Applying an edited configuration

When you change a configuration, it takes effect as soon as you enter the configuration command. If you have edited the BGP filter settings, however, you must instead execute the clear ip bgp operation command to apply the changes to the switch operation.

On execution of the clear ip bgp operation command, changes made to the configuration by the following commands take effect automatically:

A command input example is shown below.

Figure 6-14: Command input example
(config)# ip access-list standard 1  .............................(1)
(config-std-nacl)# permit 10.0.0.0 0.255.255.255  ................(2)
(config-std-nacl)# permit 172.16.0.0 0.0.255.255  ................(3)
(config-std-nacl)# exit
(config)# ip prefix-list PEER-OUT seq 10 permit 172.16.1.0/24  ...(4)
(config)# route-map SET-COMM 10  .................................(5)
(config-route-map)# match ip address prefix-list PEER-OUT  .......(6)
(config-route-map)# set community no-export  .....................(7)
(config-route-map)# exit
(config)# router bgp 65530
(config-router)# distribute-list 1 in  ...........................(8)
(config-router)# redistribute static  ............................(9)
(config-router)# neighbor 192.168.1.1 remote-as 65531
(config-router)# neighbor 192.168.1.2 remote-as 65532
(config-router)# neighbor 192.168.1.2 send-community
(config-router)# neighbor 192.168.1.2 route-map SET-COMM out  ....(10)
(config-router)# exit
(config)# save
(config)# exit
# clear ip bgp * both                                            ..1
  1. Changes in (1) ~ (10) will be used for operation.