background image

13 

The setting configured in IPv4 VPN view takes precedence over that configured in VPN instance view. If 

you configure a limit in both IPv4 VPN view and VPN instance view, the IPv4 VPN uses the limit 
configured in IPv4 VPN view. 

Examples 

# Specify that VPN instance 

vpn1

 can still learn new routes after the maximum number of 1000 routes 

is reached but generates a syslog.  

<Sysname> system-view 

[Sysname] ip vpn-instance vpn1 

[Sysname-vpn-instance-vpn1] route-distinguisher 100:1 

[Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert 

# Specify that IPv4 VPN instance 

vpn1

 can still learn new routes after the maximum number of 1000 

routes is reached but generates a syslog. 

<Sysname> system-view 

[Sysname] ip vpn-instance vpn2 

[Sysname-vpn-instance-vpn2] route-distinguisher 100:2 

[Sysname-vpn-instance-vpn2] ipv4-family 

[Sysname-vpn-ipv4-vpn2] routing-table limit 1000 simply-alert 

vpn-instance-capability simple 

Use the 

vpn-instance-capability simple

 command to disable routing loop detection for a VPN OSPF 

process. 
Use the 

undo vpn-instance-capability 

command to restore the default. 

Syntax 

vpn-instance-capability simple 
undo vpn-instance-capability 

Default 

Routing loop detection is enabled for a VPN OSPF process. 

Views 

VPN OSPF process view 

Predefined user roles 

network-admin 

Examples 

# Disable routing loop detecton for the OSPF process 100 in the VPN 

vpna

<Sysname> system-view 

[Sysname] ospf 100 vpn-instance vpna 

[Sysname-ospf-100] vpn-instance-capability simple 

vpn-target 

Use the 

vpn-target

 command to configure route targets for a VPN instance. 

Use the 

undo vpn-target

 command to remove the specified or all route targets of a VPN instance. 

Содержание S5830V2 series

Страница 1: ...H3C S5830V2 S5820V2 Switch Series MCE Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release2108 Document version 6W101 20120531...

Страница 2: ...re Secware Storware NQA VVG V2 G Vn G PSPT XGbus N Bus TiGem InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the...

Страница 3: ...Boldface Bold text represents commands and keywords that you enter literally as shown Italic Italic text represents arguments that you replace with actual values Square brackets enclose syntax choice...

Страница 4: ...formation TIP An alert that provides helpful information About the H3C S5830V2 S5820V2 documentation set The H3C S5830V2 S5820V2 documentation set includes Category Documents Purposes Hardware specifi...

Страница 5: ...s Provides hardware installation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technologies Technical S...

Страница 6: ...instance peer 3 display bgp vpnv4 vpn instance routing table 5 display ip vpn instance 6 domain id 7 ip binding vpn instance 8 ip vpn instance 9 ipv4 family 9 refresh bgp vpn instance 10 reset bgp vpn...

Страница 7: ...acters Usage guidelines If you perform this command multiple times the last configuration takes effect Examples Configure a description for VPN instance vpn1 as This is vpn1 Sysname system view Sysnam...

Страница 8: ...grp1 for VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 group grp1 BGP peer group grp1 Remote AS number Not specified Type external Maximum allowed prefix number 4294967295 Threshold 7...

Страница 9: ...ess Specifies the IP address of a peer If no peer is specified this command displays all peers verbose Displays detailed information group name Specifies the name of a peer group a string of 1 to 47 c...

Страница 10: ...eer 10 1 1 1 Local 10 1 1 2 Type EBGP link BGP version 4 remote router ID 0 0 0 0 BGP current state Connect BGP current event CRTimerExpired BGP last state Connect Received Total 0 messages Update mes...

Страница 11: ...vertisement information Without this keyword this command displays BGP routing information Usage guidelines If no IP address is specified this command displays brief information about all BGP routes I...

Страница 12: ...ntax display ip vpn instance instance name vpn instance name Views Any view Predefined user roles network admin network operator Parameters instance name vpn instance name Specifies the name of a VPN...

Страница 13: ...ample 0 0 0 1 Dotted decimal notation 16 bit user defined number in the range of 0 to 65535 For example 0 0 0 1 512 secondary Specifies the domain ID as secondary Without this keyword the domain ID is...

Страница 14: ...lines Perform this configuration on interfaces connected to a VPN site or a PE Associating a VPN instance with on an interface or removing the association clears the settings on the interface You have...

Страница 15: ...ance a string of 1 to 31 case sensitive characters Examples Create a VPN instance named vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 Related command route distinguis...

Страница 16: ...l Soft resets IBGP sessions for the VPN export Performs a soft reset in the outbound direction to apply the new configuration to outbound BGP updates import Performs a soft reset in the inbound direct...

Страница 17: ...internal Resets IBGP connections for the VPN Usage guidelines This command resets the specified BGP connections to refresh BGP route information based on the new configuration Examples Reset all BGP...

Страница 18: ...ble limit command to set the maximum number of routes in a VPN instance Use the undo routing table limit command to restore the default Syntax routing table limit number warn threshold simply alert un...

Страница 19: ...pn2 Sysname vpn instance vpn2 route distinguisher 100 2 Sysname vpn instance vpn2 ipv4 family Sysname vpn ipv4 vpn2 routing table limit 1000 simply alert vpn instance capability simple Use the vpn ins...

Страница 20: ...ets import extcommunity Uses the specified route targets as import targets all Removes all route targets Description Route targets are used to control VPN route learning The MCE adds the specified exp...

Страница 21: ...15 Sysname vpn ipv4 vpn2 vpn target 5 5 both...

Страница 22: ...eer 3 display bgp vpnv4 vpn instance routing table 5 display ip vpn instance 6 domain id 7 I ip binding vpn instance 8 ip vpn instance 9 ipv4 family 9 R refresh bgp vpn instance 10 reset bgp vpn insta...

Отзывы: