beautypg.com

16 bgp commands, 1 address-family – CANOGA PERKINS 9175 Command Reference User Manual

Page 246

background image

CanogaOS Command Reference

16-1

16 BGP

Commands

16.1 address-family

Use this command to enter the IPv4, IPv6 or VPNv4 address-family command mode.

Command Syntax

address-family ipv4 (multicast|unicast|vrf)

address-family ipv6 (unicast)

address-family vpnv4 (unicast)

vpnv4 Configures sessions for VPN-IPv4 prefixes. This parameter takes an IPv4 style address: A.B.C.D.

ipv6 Configures sessions for VPN-IPv6 prefixes. This parameter takes an IPv6 style address: X:X::X:X.

multicast Specifies multicast prefixes.

unicast Specifies unicast prefixes.

vrf VPN routing/forwarding instance

Command Mode

Router mode

Usage

Use the address family command to enter the address family mode allowing configuration of address-family

specific parameters.

To leave the address family mode and return to the Configure mode use the exit-address-family command.

Examples

Switch# configure terminal

Switch(config) router bgp 7657

Switch(config-router) neighbor 3ffe:506::1 remote-as 7657

Switch(config-router) neighbor 3ffe:506::1 interface eth1

!

Switch# configure terminal

Switch(config) router bgp 7657

Switch(config-router)address-family ipv6

Switch(config-router-af)neighbor 3ffe:506::1 activate

Switch(config-router-af)exit-address-family

Related Commands

exit, exit-address-family