Logging in Simulated Subscribers with the CLI
You can log in IPv4 subscribers who are:
- Authenticated DHCP subscribers
- Authenticated interface subscribers
- Unauthenticated DHCP subscribers
- Unauthenticated interface subscribers
Logging in simulated subscribers allows you to test your SRC application without the need for a router or other device.
You can log out from the simulated subscriber session in the same way that you log out from other subscriber sessions.
Logging In Authenticated DHCP Subscribers
Use the following command to log in simulated IPv4 authenticated DHCP subscribers:
request sae login ipv4 authenticated-dhcp virtual-routervirtual-routeraddressaddresslogin-namelogin-namemac-addressmac-address<service-bundleservice-bundle> <radius-classradius-class> <interface-nameinterface-name> <interface-aliasinterface-alias> <interface-descriptioninterface-description> <nas-port-idnas-port-id>To log in a simulated IPv4 authenticated DHCP subscriber:
- Issue the
request sae login ipv4 authenticated-dhcpcommand. Specify thevirtual-router,address,login-name, andmac-addressoptions.user@host> request sae login ipv4 authenticated-dhcp virtual-routervirtual-routeraddressaddresslogin-namelogin-namemac-addressmac-address- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundleoption.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-classoption.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-nameoption.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-aliasoption.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface descriptioncommand.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-descriptionoption.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-idoption.Logging In Authenticated Interface Subscribers
Use the following command to log in simulated IPv4 authenticated interface subscribers:
request sae login ipv4 authenticated-interfacevirtual-routervirtual-routeraddressaddresslogin-namelogin-name<service-bundleservice-bundle> <radius-classradius-class> <interface-nameinterface-name> <interface-aliasinterface-alias> <interface-descriptioninterface-description> <nas-port-idnas-port-id>To log in a simulated IPv4 authenticated interface subscriber:
- Issue the
request sae login ipv4 authenticated-interfacecommand. Specify thevirtual-router,address, andlogin-nameoptions.user@host> request sae login ipv4 authenticated-interface virtual-routervirtual-routeraddressaddresslogin-namelogin-name- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundleoption.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-classoption.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-nameoption.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-aliasoption.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface descriptioncommand.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-descriptionoption.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-idoption.Logging In Unauthenticated DHCP Subscribers
Use the following command to log in simulated IPv4 unauthenticated DHCP subscribers:
request sae login ipv4 unauthenticated-dhcp virtual-routervirtual-routeraddressaddressmac-addressmac-address<login-namelogin-name> <service-bundleservice-bundle> <radius-classradius-class> <interface-nameinterface-name> <interface-aliasinterface-alias> <interface-descriptioninterface-description> <nas-port-idnas-port-id>To log in a simulated IPv4 unauthenticated DHCP subscriber:
- Issue the
request sae login ipv4 unauthenticated-dhcpcommand. Specify thevirtual-router,address, andmac-addressoptions.user@host> request sae login ipv4 unauthenticated-dhcp virtual-routervirtual-routeraddressaddressmac-addressmac-address- (Optional) To specify the fully-qualified name used to log in the simulated subscriber, use the
login-nameoption.- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundleoption.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-classoption.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-nameoption.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-aliasoption.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface descriptioncommand.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-descriptionoption.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-idoption.Logging In Unauthenticated Interface Subscribers
Use the following command to log in simulated IPv4 unauthenticated interface subscribers:
request sae login ipv4 unauthenticated-interfacevirtual-routervirtual-routerinterface-nameinterface-name<addressaddress> <login-namelogin-name> <service-bundleservice-bundle> <radius-classradius-class> <interface-aliasinterface-alias> <interface-descriptioninterface-description> <nas-port-idnas-port-id>To log in a simulated IPv4 authenticated interface subscriber:
- Issue the
request sae login ipv4 authenticated-interfacecommand. Specify thevirtual-routerandinterface-nameoptions.user@host> request sae login ipv4 authenticated-interface virtual-routervirtual-routerinterface-nameinterface-name- (Optional) To specify the IP address from which you log in the simulated subscriber, use the
addressoption.- (Optional) To specify the fully-qualified name used to log in the simulated subscriber, use the
login-nameoption.- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundleoption.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-classoption.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-aliasoption.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface descriptioncommand.