
SmartSwitch Router User Reference Manual
131
Chapter 10: BGP Configuration Guide
Adding and Removing a BGP Peer
There are two ways to add BGP peers to peer groups. You can explicitly add a peer host,
or you can add a network. Adding a network allows for peer connections from any
addresses in the range of network and mask pairs specified in the
bgp add network
command.
To add BGP peers to BGP peer groups, enter one of the following commands in Configure
mode.
You may also remove a BGP peer from a peer group. To do so , enter the following
command in Configure mode:
Starting BGP
BGP is disabled by default. To start BGP, enter the following command in Configure
mode.
Using AS-Path Regular Expressions
An AS-path regular expression is a regular expression where the alphabet is the set of AS
numbers. An AS-path regular expression is composed of one or more AS-path
expressions. An AS-path expression is composed of AS path terms and AS-path operators.
An AS path term is one of the following three objects:
autonomous_system
Is any valid autonomous system number, from one through 65534 inclusive.
.
(dot)
Matches any autonomous system number.
Add a host to a BGP peer
group.
bgp add peer-host
<ipaddr>
group
<number-or-string>
Add a network to a BGP peer
group.
bgp add network
<ip-addr-mask>
|all group
<number-
or-string>
Remove a host from a BGP peer
group.
bgp clear peer-host <
ipaddr
>
Start BGP.
bgp start
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...