Esse artigo foi homologado no equipamento NetEngine 8000 F1A-8H20Q, na versão V800R021C10SPC600, o uso em uma versão diferente pode não resultar da mesma forma.
system-view
as-notation plain
y
bgp 65000
router-id 99.70.253.254
ipv4-family unicast
ext-community-change enable
ipv6-family unicast
ext-community-change enable
commit
#
!
| Community de Export |
Descrição |
| 990:100 |
EXPORT-GERAL |
| 990:101 |
EXPORT-TRANSITO |
| 990:102 |
EXPORT-IBGP |
| 990:103 |
EXPORT-CLIENTE |
| 990:104 |
EXPORT-IX |
| 990:105 |
EXPORT-PNI |
| 990:106 |
EXPORT-CDN |
| 990:107 |
EXPORT-MITIGACAO |
| 990:108 |
EXPORT-OUTRO |
| Community de Import |
Descrição |
| 990:200 |
IMPORT-GERAL |
| 990:201 |
IMPORT-TRANSITO |
| 990:202 |
IMPORT-IBGP |
| 990:203 |
IMPORT-CLIENTE |
| 990:204 |
IMPORT-IX |
| 990:205 |
IMPORT-PNI |
| 990:206 |
IMPORT-CDN |
| 990:207 |
IMPORT-MITIGACAO |
| 990:208 |
IMPORT-OUTRO |
system-view
ip community-filter advanced EXPORT-GERAL permit _990:100$
ip community-filter advanced EXPORT-TRANSITO permit _990:101$
ip community-filter advanced EXPORT-IBGP permit _990:102$
ip community-filter advanced EXPORT-CLIENTE permit _990:103$
ip community-filter advanced EXPORT-IX permit _990:104$
ip community-filter advanced EXPORT-PNI permit _990:105$
ip community-filter advanced EXPORT-CDN permit _990:106$
ip community-filter advanced EXPORT-MITIGACAO permit _990:107$
ip community-filter advanced EXPORT-OUTRO permit _990:108$
ip community-filter advanced IMPORT-GERAL permit _990:200$
ip community-filter advanced IMPORT-TRANSITO permit _990:201$
ip community-filter advanced IMPORT-IBGP permit _990:202$
ip community-filter advanced IMPORT-CLIENTE permit _990:203$
ip community-filter advanced IMPORT-IX permit _990:204$
ip community-filter advanced IMPORT-PNI permit _990:205$
ip community-filter advanced IMPORT-CDN permit _990:206$
ip community-filter advanced IMPORT-MITIGACAO permit _990:207$
ip community-filter advanced IMPORT-OUTRO permit _990:208$
#
!
system-view
ip ip-prefix DEFAULT-V4 permit 0.0.0.0 0
commit
#
!
system-view
ip ip-prefix DESCARTE-GENERICO-V4 permit 10.0.0.0 8 greater-equal 8 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 100.64.0.0 10 greater-equal 10 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 127.0.0.0 8 greater-equal 8 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 169.254.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 172.16.0.0 12 greater-equal 12 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 192.0.0.0 24 greater-equal 24 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 192.0.2.0 24 greater-equal 24 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 192.88.99.0 24 greater-equal 24 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 192.168.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 198.18.0.0 15 greater-equal 15 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 198.51.100.0 24 greater-equal 24 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 203.0.113.0 24 greater-equal 24 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 224.0.0.0 4 greater-equal 4 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 240.0.0.0 4 greater-equal 4 less-equal 32
ip ip-prefix DESCARTE-GENERICO-V4 permit 0.0.0.0 0 greater-equal 25
ip ip-prefix DESCARTE-GENERICO-V4 permit 0.0.0.0 0 greater-equal 1 less-equal 7
commit
#
!
system-view
ip ip-prefix EMPRESA-99.70.0.0/22 permit 99.70.0.0 22
ip ip-prefix EMPRESA-99.70.0.0/23 permit 99.70.0.0 23
ip ip-prefix EMPRESA-99.70.2.0/23 permit 99.70.2.0 23
ip ip-prefix EMPRESA-99.70.0.0/24 permit 99.70.0.0 24
ip ip-prefix EMPRESA-99.70.1.0/24 permit 99.70.1.0 24
ip ip-prefix EMPRESA-99.70.2.0/24 permit 99.70.2.0 24
ip ip-prefix EMPRESA-99.70.3.0/24 permit 99.70.3.0 24
#
ip route-static 99.70.0.0 22 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.0.0 23 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.2.0 23 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.0.0 24 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.1.0 24 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.2.0 24 NULL0 preference 250 description !::PREFIXO-EMPRESA
ip route-static 99.70.3.0 24 NULL0 preference 250 description !::PREFIXO-EMPRESA
#
bgp 65000
ipv4-family unicast
network 99.70.0.0 22
network 99.70.0.0 23
network 99.70.2.0 23
network 99.70.0.0 24
network 99.70.1.0 24
network 99.70.2.0 24
network 99.70.3.0 24
commit
#
!
system-view
ip ipv6-prefix DEFAULT-V6 permit :: 0
commit
#
!
system-view
ip ipv6-prefix DESCARTE-GENERICO-V6 permit :: 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit ::1 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit ::ffff:0:0 96 greater-equal 96 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit ::ffff:0:0:0 96 greater-equal 96 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 64:ff9b:: 96 greater-equal 96 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 64:ff9b:1:: 48 greater-equal 48 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 100:: 64 greater-equal 64 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 2001:0000:: 32 greater-equal 32 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 2001:20:: 28 greater-equal 28 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 2001:db8:: 32 greater-equal 32 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit 2002:: 16 greater-equal 16 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit fc00:: 7 greater-equal 7 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit fe80:: 10 greater-equal 10 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit ff00:: 8 greater-equal 8 less-equal 128
ip ipv6-prefix DESCARTE-GENERICO-V6 permit :: 0 greater-equal 49
ip ipv6-prefix DESCARTE-GENERICO-V6 permit :: 0 greater-equal 1 less-equal 7
commit
#
!
system-view
ip ipv6-prefix EMPRESA-99:70::/32 permit 99:70:: 32
ip ipv6-prefix EMPRESA-99:70::/33 permit 99:70:: 33
ip ipv6-prefix EMPRESA-99:70:8000::/33 permit 99:70:8000:: 33
ip ipv6-prefix EMPRESA-99:70::/34 permit 99:70:: 34
ip ipv6-prefix EMPRESA-99:70:4000::/34 permit 99:70:4000:: 34
ip ipv6-prefix EMPRESA-99:70:8000::/34 permit 99:70:8000:: 34
ip ipv6-prefix EMPRESA-99:70:c000::/34 permit 99:70:c000:: 34
#
ipv6 route-static 99:70:: 32 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:: 33 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:8000:: 33 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:: 34 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:4000:: 34 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:8000:: 34 NULL0 preference 250 description !::PREFIXO-EMPRESA
ipv6 route-static 99:70:c000:: 34 NULL0 preference 250 description !::PREFIXO-EMPRESA
#
bgp 65000
ipv6-family unicast
network 99:70:: 32
network 99:70:: 33
network 99:70:8000:: 33
network 99:70:: 34
network 99:70:4000:: 34
network 99:70:8000:: 34
network 99:70:c000:: 34
commit
#
!
system-view
ip as-path-filter DESCARTE-ASPATH-DOWNSTREAM permit _65534$
commit
#
!