일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- PIM-SM
- init 6
- CK셔틀
- 딥러닝
- 오스트리아
- 무차별 공격
- 잘츠부르크 김치
- 소극적 공격
- 체코
- 도서평
- 체스키
- 체스키크롬로프
- 적극적 공격
- 트렌드코리아
- 클라우드
- BGP AS_Path prepend
- 모차르트 동상
- 할슈타트 페리
- html5
- vi편집기
- 오스트리아 여행
- init 0
- 프라하
- 레지오젯
- 비엔나 여행
- BGP
- 리눅스
- 김난도
- 초단파방송
- 잘츠부르크 여행
- Today
- Total
AndrewNA
BGP Local preference 이론 및 실습 본문
BGP Local preference
로컬 AS 경로에 대한 선호도로 로컬 AS 로부터 AS 외부로 나가는 트래픽 제어한다. AS라는 가상 라우터 관점의 송신경로를 위한 설정한다.
Topology
Command
Router(config-router)#neighbor ip-address weight value // 모든 네트워크 정보에 weight 부여
// 특정 네트워크에 route-map 이용하여 Local preference 부여
Router(config)#route-map map-name permit seq
Router(config-route-map)#match ip address access-list-number
Router(config-route-map)#set local-preference value
Router(config-route)#neighbor ip-address route-map map-name in
=> 33.33.33.0/24의 local-preference를 200으로 설정
R1과 NEIGHBOR 설정시 route-map 적용
- route-map 이용하여 특정경로 설정-
R6(config)#access-list 10 permit 33.33.33.0 0.0.0.255
R6(config)#route-map lp permit 10
R6(config-route-map)#match ip address 10
R6(config-route-map)#set local-preference 200
R6(config)#route-map lp permit 20
R6(config)#router bgp 400
R6(config-router)#neighbor 10.1.16.1 route-map lp in
Check
'■ Communications > ↘ Cisco GNS' 카테고리의 다른 글
BGP LAB Attribute MED (0) | 2019.04.30 |
---|---|
BGP MED 이론 및 실습 (0) | 2019.04.30 |
BGP Weight 이론 및 실습 (0) | 2019.04.30 |
BGP Route Reflector(루트 리플렉터, RR) 실습 (0) | 2019.04.19 |
BGP confederation(컨페더레이션) 이론 및 실습 (0) | 2019.04.19 |